[Pkg-sysvinit-devel] Bug#434775: nfs-common: fails to mount nfs volumes when booted with ip= command line

Petter Reinholdtsen pere at hungry.com
Thu Dec 27 10:04:25 UTC 2007


[Andy Sharp]
> When booted with ip= on the kernel command line, setting the IP
> address, NFS volumns are not mounted because the logic of the
> interlocking pieces believes that the interface(s) have not been
> brought up.  Even if you set the right information for the interface
> in /etc/network/interfaces, that code returns an error return, and
> the /etc/network/if-up.d/mountnfs.sh script does not mount the NFS
> volumes.

I'm not sure if this can be seen as a bug in ifupdown or in
initscripts.  initscripts depend on ifupdown to get a notification
when an interface is up.  As that obviously do not happen when the
kernel itself configure the network, the NFS mouting does not happen
either.

A workaround in your case could be to disable the asynchronous NFS
mounting, by setting ASYNCMOUNTNFS=no in /etc/default/rcS.  It will
make sure the NFS mounts are done independently of the ifupdown
events.

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-sysvinit-devel mailing list