mount doesn't mount on boot-up
Paul Howarth
paul at city-fan.org
Wed Nov 1 19:14:17 UTC 2006
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.
More information about the fedora-list
mailing list