FC5 : mounting ntfs and fat32 partitions problem

Paul Howarth paul at city-fan.org
Sun May 28 10:45:51 UTC 2006


On Sun, 2006-05-28 at 13:35 +0300, Me2resh Lists wrote:
> thanks for replying
> i did as u asked
> and here is what i found
> 
> May 28 02:57:27 localhost kernel: SELinux: initialized (dev tmpfs,
> type tmpfs), uses transition SIDs
> May 28 02:57:27 localhost kernel: audit(1148774217.532 :2): avc:
> denied  { mounton } for  pid=1366 comm="mount" name="Disk1" dev=hda6
> ino=2045826 scontext=system_u:system_r:mount_t:s0
> tcontext=user_u:object_r:user_home_t:s0 tclass=dir
> May 28 02:57:27 localhost kernel: audit( 1148774217.532:3): avc:
> denied  { mounton } for  pid=1366 comm="mount" name="Disk2" dev=hda6
> ino=2045870 scontext=system_u:system_r:mount_t:s0
> tcontext=user_u:object_r:user_home_t:s0 tclass=dir
> May 28 02:57:28 localhost kernel: audit( 1148774217.532:4): avc:
> denied  { mounton } for  pid=1366 comm="mount" name="Disk2" dev=hda6
> ino=2045870 scontext=system_u:system_r:mount_t:s0
> tcontext=user_u:object_r:user_home_t:s0 tclass=dir
> 
> how can i solve that ?

These appear to be the errors you go when trying to mount the
filesystems under your home directory, which is to be expected.

Mounting on /mnt/Windows and /mnt/Storage should be OK, as the file
context type for those directories should be mnt_t rather than
user_home_t.

Just to make sure, do (with /mnt/Windows and /mnt/Storage not mounted):

# chcon -t mnt_t /mnt /mnt/Windows /mnt/Storage

and then try booting again. If it still fails, look for new avc messages
in /var/log/messages.

Paul.





More information about the fedora-list mailing list