[Bug 45842] Re: nfs shares not mounted at startup

Dustin Kirkland kirkland at ubuntu.com
Tue Feb 26 15:53:21 GMT 2008


I'm attaching an updated patch against sysvinit.

I believe this patch to fix:
Bug 44836
Bug 45842
Bug 46145
Bug 46516

All of these are NFS mounting bugs.  Two of them have to do with mounts
succeeding, but not ending up in mtab.  The other two do not actually
mount NFS shares during boot up, but will mount at some point shortly
after.

This patch does a couple of things.  It fixes up the documentation
inline in waitnfs.sh, which was a bit misleading about its effect (it
only actually waits on /usr and /var nfs mounts).  It also fixes the
mtab race condition that kept mtab from being updated sometimes.
Finally, it establishes a common script that mounts all networked shares
(nfs, samba, etc).  This script is called using watershed both in the
ifup scripts, as well as in waitnfs.sh.  This should cover any other
bases, where the mount may not have been issued (or not issued late
enough), while handling the various race conditions via watershed.

:-Dustin

** Attachment added: "sysvinit_2.86.ds1-14.1ubuntu37.debdiff"
   http://launchpadlibrarian.net/12233748/sysvinit_2.86.ds1-14.1ubuntu37.debdiff

-- 
nfs shares not mounted at startup
https://bugs.launchpad.net/bugs/45842
You received this bug notification because you are a member of Ubuntu
Server Team, which is a bug assignee.



More information about the Ubuntu-server-bugs mailing list