[Pkg-sysvinit-devel] Bug#388761: initscripts: Moving NFS mounts to /etc/network/if-up.d/mountnfs breaks my diskless system

Tim Phipps tim at phipps-hutton.freeserve.co.uk
Fri Sep 22 14:38:47 UTC 2006


On Friday 22 September 2006 15:04, Petter Reinholdtsen wrote:
> [Tim Phipps]
>
> > What's the problem with having the old systems of an init.d script
> > running after ifup?
>
> Some times it take too long for the network to start working, so
> mountnfs.sh would always fail.  See #360123.

Hmm, tough choices to make. Though I don't think it's a good idea to have nfs 
mounts in /etc/fstab marked as auto if they depend on hotplug network 
interfaces. I think in that case you should have a hotplug script that mounts 
the file systems after the interface is up. /etc/fstab is the wrong place for 
those file systems since it doesn't describe which interface is used. If 
you've got nfs mounts in /etc/fstab that should imply they work with the boot 
time available network interfaces.
>
> Friendly,




More information about the Pkg-sysvinit-devel mailing list