On Fri, 25 Aug 2006, Matt Bernstein wrote:

> At 09:29 +0800 Ian Kent wrote:
> 
> > On Thu, 24 Aug 2006, Matt Bernstein wrote:
> > > +/* 'what' may itself be on an automounted file system so we need to
> > > access it */
> > > +/* to ensure it gets mounted before calling wait_for_lock() inorder to
> > > avoid a*/
> > > +/* long delay */
> > > +               (void)access(what,F_OK);
> > 
> > That can lead to corruption of /etc/mtab.
> > That's why the lock was introduced.
> > 
> > In v5 the locking can be disabled as most people have updated mount(8) these
> > days.
> 
> Thanks--is the locking disabled, or do we need to patch the source? (I haven't
> looked at it yet.)

Yes it is in the FC6 packages.
mount(8) has been patches to fix the locking in FC.

Ian

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to