control: tags -1 +moreinfo
[2009-10-19 08:02] Petter Reinholdtsen <[email protected]> > [Ben Finney] > > When mounting NFS volumes, the ???mountnfs.sh??? script needs the > > name resolver to be started in order to resolve the NFS server's > > name. The init script should have a ???Required-Start??? field > > declaring a dependency on the name resolver service. > > I agree. Which name resolver service did you have in mind. > > Unfortunately $named can not be listed as a dependency for > mountnfs.sh, as it would generate a dependency loop. First of all, > all known implementations of $named start in rc2.d, while mountnfs.sh > need to happen in rcS.d/ if /usr/ is an NFS volume. Correct me if I am wrong, but on modern installations /usr is mounted by initramfs (note usrmerge initiative), so I believe we could move mountnfs.sh from S to (2 3 4 5) (with some modifications to not try mount multiple times). Objections?

