Comment 73 for bug 211631

Revision history for this message
Tom Chiverton (bugs-launchpad-net-falkensweb) wrote : Re: CIFS/SMBFS shares not unmounted before network is shut down

One thing I only just figured out: if you are using the umountcifs script linked above, you also need to set the network as a system setting, otherwise it's pulled down when you exit KDE/Gnome and still leaves the umount hanging during shutdown/reboot.
I made sure network-manager-gnome was installed, logged out of KDE, choose GNOME from the log in menu, and used GNOME's network manager to set the connection property.
Note there is a bug in *that* program, so you have to make sure both 'automatic connect' and 'system setting' are unticked, then tick 'system' then 'automatic'.