Re: mount doesn't mount on boot-up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Claude Jones wrote:
I've got a third 500GB SATA drive which I mount manually to ~/archive using:
mount -t ext2 -w /dev/sdc1 /home/cj/archive

on reboot, it always fails, and in system logs I find:

Oct 30 02:11:12 localhost kernel: audit(1162192269.878:6): avc: denied { mounton } for pid=2347 comm="mount" name="archive" dev=sdb1 ino=65175554 scontext=system_u:system_r:mount_t:s0 tcontext=user_u:object_r:user_home_t:s0 tclass=dir Oct 30 02:11:12 localhost kernel: audit(1162192269.878:7): avc: denied { mounton } for pid=2347 comm="mount" name="archive" dev=sdb1 ino=65175554 scontext=system_u:system_r:mount_t:s0 tcontext=user_u:object_r:user_home_t:s0 tclass=dir
It's calling my drive dev=sdb1 --- Why would this be happenning?
Once the machine comes up, it mounts manually again with the above
command???
With the drive not mounted, do:
$ chcon -t mnt_t /home/cj/archive

You can then simulate the attempted mount at boot time:
# service netfs start

Alternatively you could just reboot to check that the problem is fixed for sure.
Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux