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:
Is selinux enabled on the x86_64 system? Is it also enabled on the i386 version?
selinux is enabled on the x86_64 system but not on the i386 system.
Ok, this might be the problem. Please test without selinux.
Disabling selinux on the x86_64 machine fixed the problem.
Assigning to selinux.
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
Closing due to lack of response.