Comment 31 for bug 45842

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

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