Re: mount doesn't mount on boot-up

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

 



Claude Jones <claude_jones@xxxxxxxxxxxxxx> wrote:

Well, I've got a stuff-up - but where's the stomach?

my fstab:

LABEL=/ / ext3 defaults 1 1 LABEL=/boot1 /boot ext2 defaults 1 2 devpts /dev/pts devpts gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs defaults 0 0 LABEL=/home /home ext3 defaults 1 2 proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 LABEL=SWAP-sda2 swap swap defaults 0 0
/dev/sdc1        /home/cj/archive    ext3    defaults    1 2


message I got when booting up just now:

Nov 1 20:25:48 localhost kernel: audit(1162430744.537:6): avc: denied { mounton } for pid=2341 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 Nov 1 20:25:48 localhost kernel: audit(1162430744.537:7): avc: denied { mounton } for pid=2341 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

That last entry is my latest try for this drive in fstab - it's clear. The label for that drive had been /home/cj/archive - I changed it to "bigstore" - I tried using the LABEL=/bigstore method, as well. The problem is that on boot-up, my system is trying to mount sdb1 instead of sdc1 - sdb1 has already been mounted in a previous step as /: any other ideas, anyone?
-- Claude Jones Brunswick, MD, USA
OK. If things aren't behaving the way we all think they should, we're not seeing something. How about providing some additional information? What I'm thinking is:

1) The output of mount immediately after booting.
2) The output of mount *after* mounting the partition that's causing the problem.
3) The contents of /proc/scsi/scsi.

BTW, a work around that should work is to put the mount command you're doing from the command line in /etc.rc.d/rc.local. This shell script gets executed after all other initialization tasks. This doesn't explain why you're running into this problem but it at least means you won't have to type the mount command each time you boot.

Cheers,
Dave

--
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux