Comment 13 for bug 90795

Revision history for this message
Dmik (dmik-for-maillists) wrote :

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.