Re: mount troubles


From: Amon Ott <ao@rsbac.org>
Subject: Re: mount troubles
Date: Fri, 18 Jan 2002 10:21:10 +0100

Next Article (by Author): patch-2.4.17-v1.1.2.gz moved to /patches Amon Ott
Previous Article (by Author): Re: RSBAC performance in Linux 2.4.10 Amon Ott
Top of Thread: mount troubles Arkady A Drovosekov
Next in Thread: Re: mount troubles Arkady A Drovosekov
Articles sorted by: [Date] [Author] [Subject]


On Tuesday, 15. January 2002 10:40, Arkady A Drovosekov wrote:
> there is a strange case with mount:
>
> I have a disk with 15 partitions:
>
> /dev/hda6 /usr ext2 rw (ro - doesn't meter)
> /dev/hda7 /tmp ext2 rw,user,exec
> /dev/hda8 /var ext2 rw,user,exec
> /dev/hda9 /home ext2 rw,user,exec
> /dev/hda10 /var/log ext2 rw,user
> /dev/hda11 /var/spool ext2 rw,user
> /dev/hda13 /usr/home1 ext2 rw,nodev,nosuid
> /dev/hda14 /usr/home reiserfs rw,notail,nodev,nosuid
> /dev/hda15 /usr/home2 reiserfs rw,notail,nodev,nosuid
>
> During the boot mount is executed (or at least should):
> mount -avt nonfs,noproc,nosmbfs
>
> But it can randomly hang during mounting /usr.
> If I change startup script to mount step by step (usr,tmp,var,...) then
> in most cases it works ok.
>
> There are no any complex rsbac attributes on /usr, just some daemons
> with auth permissions

Mounting is the most critical operation in RSBAC, because the attributes have 
to be read (with possible sleeping), and a lot of locking can lead to 
deadlocks. These things have already cost me many days of work...

Most important question: is this an SMP kernel?

Amon.
--
http://www.rsbac.org
-
To unsubscribe from the rsbac list, send a mail to
majordomo@rsbac.org with
unsubscribe rsbac
as single line in the body.

Next Article (by Author): patch-2.4.17-v1.1.2.gz moved to /patches Amon Ott
Previous Article (by Author): Re: RSBAC performance in Linux 2.4.10 Amon Ott
Top of Thread: mount troubles Arkady A Drovosekov
Next in Thread: Re: mount troubles Arkady A Drovosekov
Articles sorted by: [Date] [Author] [Subject]


Go to Compuniverse LWGate Home Page.