Bug#419195: [Pkg-sysvinit-devel] Bug#419195: initscripts: if-up.d/mountnfs should only run after all interfaces have been brought up at boot; hangs boot

Petter Reinholdtsen pere at hungry.com
Sun Apr 15 08:54:39 UTC 2007


[Julien BLACHE]
> At boot, if-up.d/mountnfs is run after eth0 has been brought up and the boot
> process hangs as it cannot mount the FS until eth1 is up.

I believe a workaround is to change the order of the interfaces in
/etc/network/interfaces, to list the interfaces needed to NFS mount
first.

I agree that it is not optimal at the moment, but mounting NFS
directories after ifup solve other problems without known workarounds.

> The line in fstab looks like:
> 10.0.1.3:/export/foobar /mnt/foobar nfs rw,hard,intr 0 0

You can also avoid the problem by adding 'bg' to the option list,
ending up with an entry like this:

   10.0.1.3:/export/foobar /mnt/foobar nfs rw,hard,intr,bg 0 0

Friendly,
-- 
Petter Reinholdtsen




More information about the Pkg-sysvinit-devel mailing list