I'm experiencing the same issue in Hardy and Intrepid (and before), with
NFSv4 homedir and been bumping into this really a lot.

To see what's actually happening, change VERBOSE to 'yes' in
/etc/default/rcS and boot without 'splash', as you'll already know;
there is a problem/race with your suggested change - take rc6 (for
reboot preparation) for example:

$ ls -1 /etc/rc6.d/S*
S01linux-restricted-modules-common
S15wpa-ifupdown
S20sendsigs
S30urandom
S31umountnfs.sh
S32portmap
S35networking
S40umountfs
S48cryptdisks
S59cryptdisks-early
S60umountroot
S85kexec
S90reboot

The umountnfs script won't (always) succeed until user processes (with
open file handles) are killed with the 'sendsigs' script - but this also
kills networkmanager, which brings the ethernet interface down.

There is a handy directory /lib/init/rw/sendsigs.omit.d/ which contains
symlinks to processes which must not be killed here, so the true fix
would be add the code to the NetworkManager init script, at the end of
the start clause (taken from the portmap init script):

        mkdir -p /lib/init/rw/sendsigs.omit.d
        rm -f /lib/init/rw/sendsigs.omit.d/portmap
        ln -s /var/run/portmap.pid /lib/init/rw/sendsigs.omit.d/portmap

Patch attached. Works great here - please confirm there.

** Attachment added: "Fix to prevent NetworkManager being prematurely killed"
   http://launchpadlibrarian.net/17122909/networkmanager-LP113095.patch

** Changed in: network-manager (Ubuntu)
Sourcepackagename: dbus => network-manager
       Status: New => In Progress

-- 
nfs timeout on shutdown
https://bugs.launchpad.net/bugs/113095
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to