Re: mount doesn't mount on boot-up [OT]

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

 



On Wed November 1 2006 8:39 pm, Rick Stevens wrote:
> On Thu, 2006-11-02 at 08:46 +1030, Tim wrote:
> > And then there's managing a drive when the system's had a bit of a
> > stuff-up.  You have to peruse around to work out which partition is
> > which, but you can very simply use a label to mount /home, for instance,
> > without having to care which partition it was on.
>
> If you want a stuff-up, try booting a system with two drives that have
> a /usr partition label.  Your guess as to which /usr gets mounted.  It's
> caused lots of grief at this end.  I know what's happening and how to
> fix it, I'm just getting tired of doing it all the time.

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

-- 
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