As further practice has shown, umountnfs.sh should be moved up more, so that it runs before K20dbus (isn't network-service actually a dbus-based service and therefore gets terminated when dbus shuts down?). For example, to K17umountnfs.sh. When placed there, SMB/CIFS shares are unmounted before the network is down as a result of network-service termination. The only situation where I still get the described delay is if I shutdown/reboot my PC too quickly after starting it up -- in particular, before an attempt to auto-mount an inaccessible SMB/CIFS share from fstab is timed out. In this case, umountnfs.sh does nothing (since the share isn't mounted yet), which leads to a complain from CIFS still trying to find a network resource when the network gets down.
Anyway, all this is just tossing things around again. I have no real knowledge about System V init and Debian specifics, so I may be wrong somewhere. -- Unmount of remote CIFS shares fails with timeout on system shutdown https://bugs.launchpad.net/bugs/90795 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs