Claude Jones <claude_jones@xxxxxxxxxxxxxx> 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???
-- Claude Jones Brunswick, MD, USA
What does you /etc/fstab file look like? I'm not understanding what you
mean by "mount manually" fails on reboot but you can mount it, "once the
machine comes up." Is your mount command in /etc/init.d/rc.local?
Cheers,
Dave
--
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce