From: Rajouri Jammu Subject: Re: wait_for_lock() in mount Date: Fri, 20 Feb 2009 16:03:44 -0800 Message-ID: <3307cdf90902201603y2434a0dbvfcd987770d31c41a@mail.gmail.com> References: <3307cdf90804180939t42fed2d7k8fc96304f8d01455@mail.gmail.com> <1208576146.3090.5.camel@raven.themaw.net> <3307cdf90804191052v194cc2bctb25b6aab612e903d@mail.gmail.com> <1208703048.3632.8.camel@raven.themaw.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2433622751166059714==" Return-path: In-Reply-To: <1208703048.3632.8.camel@raven.themaw.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org To: Ian Kent Cc: autofs@linux.kernel.org --===============2433622751166059714== Content-Type: multipart/alternative; boundary=001485f0a01ebbc2dd046362800b --001485f0a01ebbc2dd046362800b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, I'm again running into problem with cascaded automounts. This time I'm using the autofs as part of CentOS 5.0 rpm -qa | grep autofs autofs-5.0.1-0.rc2.43.0.2 >Using the patch requires a configure option to be specified. >I'm not sure if this patch has been added to the RHEL-4 package, you'll >need to check. In RHEL-5 the configure option is used when the package >is built so CentOS 5 will have this already Does autofs-5.0.. version have "--disable-mount-locking" configured by default? Any suggestions would be of great help. Thanks! Ranjit On Sun, Apr 20, 2008 at 6:50 AM, Ian Kent wrote: > > On Sat, 2008-04-19 at 10:52 -0700, Rajouri Jammu wrote: > > Thank you for the prompt response. > > > > > > Yes, I'm using autofs4 which came with CentOS release 4.6 > > RHEL-4 U6 should be OK. > But I don't think any of the versions of mount are 100%. > > > > > > > mount -V > > mount: mount-2.12a > > > > > > > > Is that version of mount OK or do I need a newer version to work with > > the locking path? > > If I need a newer version can you please let me know approximately > > which one? > > > > > > Lastly, does autofs5 not have this issue? > > This is a problem with mount and any version of autofs that > uses /etc/mtab will have this problem. > > The later revisions of autofs v4 and autofs v5 use /etc/mtab somewhat > less and so are less vulnerable. > > Using the patch requires a configure option to be specified. > I'm not sure if this patch has been added to the RHEL-4 package, you'll > need to check. In RHEL-5 the configure option is used when the package > is built so CentOS 5 will have this already. > > Ian > > > > --001485f0a01ebbc2dd046362800b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

I'm again running into problem with cascaded automounts.
=
This time I'm using the autofs as part of CentOS 5.0
rpm -qa | = grep autofs
autofs-5.0.1-0.rc2.43.0.2

>Using the patch require= s a configure option to be specified.
>I'm not sure if this patch has been added to the RHEL-4 package, yo= u'll
>need to check. In RHEL-5 the configure option is used when the package<= br> >is built so CentOS 5 will have this already

Does autofs-5.0.. ve= rsion have "--disable-mount-locking" configured by default?
Any suggestions would be of great help.

Thanks!

Ranjit


On Sun, Apr 20, 2008 at 6:50 AM, Ian Ken= t <raven@themaw.ne= t> wrote:

On Sat, 2008-04-19 at 10:52 -0700, Rajouri Jammu wrote:
> Thank you for the prompt response.
>
>
> Yes, I'm using autofs4 which came with CentOS release 4.6

RHEL-4 U6 should be OK.
But I don't think any of the versions of mount are 100%.

>
>
> mount -V
> mount: mount-2.12a
>
>
>
> Is that version of mount OK or do I need a newer version to work with<= br> > the locking path?
> If I need a newer version can you please let me know approximately
> which one?
>
>
> Lastly, does autofs5 not have this issue?

This is a problem with mount and any version of autofs that
uses /etc/mtab will have this problem.

The later revisions of autofs v4 and autofs v5 use /etc/mtab somewhat
less and so are less vulnerable.

Using the patch requires a configure option to be specified.
I'm not sure if this patch has been added to the RHEL-4 package, you= 9;ll
need to check. In RHEL-5 the configure option is used when the package
is built so CentOS 5 will have this already.

Ian




--001485f0a01ebbc2dd046362800b-- --===============2433622751166059714== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ autofs mailing list autofs@linux.kernel.org http://linux.kernel.org/mailman/listinfo/autofs --===============2433622751166059714==--