Bug#551555: mountnfs.sh: start should declare dependency on name resolver

Dmitry Bogatov KAction at debian.org
Tue Jan 8 12:37:37 GMT 2019

control: tags -1 +moreinfo

[2009-10-19 08:02] Petter Reinholdtsen <pere at hungry.com>
> [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).


More information about the Debian-init-diversity mailing list