Bug 164460 - mke2fs: Permission denied while trying to determine filesystem size
Summary: mke2fs: Permission denied while trying to determine filesystem size
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 4
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-07-27 23:53 UTC by Mark P. Mendelsohn
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-05-05 14:20:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mark P. Mendelsohn 2005-07-27 23:53:23 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)

Description of problem:
mke2fs command is failing on x86_64 platform but works fine on i686 platform
with same OS version and same data.

On x86_64

mke2fs 1.37 (21-Mar-2005)
mke2fs: Permission denied while trying to determine filesystem size

On i686

mke2fs 1.37 (21-Mar-2005)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
2176 inodes, 8704 blocks
0 blocks (0.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=8912896
2 block groups
8192 blocks per group, 8192 fragments per group
1088 inodes per group
Superblock backups stored on blocks:
    8193

Writing inode tables: 0/2^H^H^H1/2^H^H^Hdone
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 39 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.



Version-Release number of selected component (if applicable):
e2fsprogs-1.37-4

How reproducible:
Always

Steps to Reproduce:
1.Create a file and put data in it
2.run the command mke2fs -m0 -F <filename> on it
3.
  

Additional info:

Comment 1 Thomas Woerner 2005-07-29 10:03:39 UTC
Is selinux enabled on the x86_64 system? Is it also enabled on the i386 version?


Comment 2 Mark P. Mendelsohn 2005-07-29 15:28:45 UTC
selinux is enabled on the x86_64 system but not
on the i386 system.

Comment 3 Thomas Woerner 2005-07-29 15:36:12 UTC
Ok, this might be the problem. Please test without selinux.

Comment 4 Mark P. Mendelsohn 2005-07-29 16:19:25 UTC
Disabling selinux on the x86_64 machine fixed the problem.

Comment 5 Thomas Woerner 2005-08-25 13:46:08 UTC
Assigning to selinux.

Comment 6 Daniel Walsh 2005-08-25 19:26:19 UTC
What avc messages are you seeing in the /var/log/messages or
/var/log/audit/audit.log files?

What version of policy are you running
rpm -q selinux-policy-targeted

Comment 7 John Thacker 2006-05-05 14:20:49 UTC
Closing due to lack of response.


Note You need to log in before you can comment on or make changes to this bug.