Comment 83 for bug 211631

Revision history for this message
Bart Samwel (bart-samwel) wrote : Re: [Bug 211631] Re: CIFS/SMBFS shares not unmounted before network is shut down

Hi Steve,

Steve Grecni wrote:
> Thierry, I just installed your ppa network-manager packages on Intrepid,
> and it's still hanging on shutdown (using wireless) with CIFS VFS
> errors. A fairly fresh UMPC install on a Dell Mini 9.
>
> I ran a continuous ping on the machine and network is unavailable nearly
> immediately after selecting shutdown from the gnome menu, after a bit I
> can then see the shutdown splash and a bit later I'm geting the CIFS VFS
> errors.
>
> Interestingly enough, even when I remove quiet and splash from the grub
> menu.lst, it's still not showing any shutdown messages to me, just the
> CIFS VFS errors and sometimes an apcid error. So it's impossible for me
> to tell the network manager is dying too soon.

 In that case it seems that the only reason for the existence of the
NetworkManager daemon is to perform the required privileged operations
at the biddingI don't know *exactly* how NetworkManager works, but I'm
under the impression that it only holds a network connection while the
applet is running, i.e., while the user is logged in. This could be a
security thing, because it gets the network settings from the user's
settings, and also the authentication to a wireless network are taken
from the logged on user's key ring. So it's actually quite logical that
it would shut down the network at logoff, BEFORE any of the shutdown
scripts run. (In that case it seems that the NetworkManager daemon is
only there to do the required privileged work at the bidding of the
nm-applet. And if the nm-applet disconnects due to logoff, then it
disconnects...)

Anyway, this is all just conjecture. I might have it all backwards.

Cheers,
Bart