Thierry Carrez wrote:
> OK, I uploaded a network-manager upgrade for intrepid to my PPA:
> https://launchpad.net/~ttx/+archive/ppa
> 
> This release (built on the latest network-manager in intrepid-proposed)
> basically prevents network-manager from being shut down by sendsigs...
>>From my testing this solves the CIFS hanging during umountnfs, and also
> ensures the network filesystems are still available when the processes
> are stopped by sendsigs (allowing them to shutdown without data loss).
> It was inspired by Daniel J Blueman proposed patch on (related) bug
> 113095.
> 
> Could you please test if it solves the issue for your specific case, and
> tell me about any side-effects.

Hi Thierry,

I'm on jaunty, I've tried the package but I still have the same problem.
On my jaunty install the problem is even worse, it doesn't get past the
unmounts or perhaps it just takes extremely long, I have to
hard-shutdown my laptop every time I shut down and forget to unmount
these file systems first.

In my opinion this is really a kernel problem, and a big one. If there
is no route to the host (which is the case if the network is down), the
cifs vfs should properly detect this and not wait for some timeout. And
it *can* easily detect this: when the network is down and I do a ping, I
also get "no route to host". I don't see any reason why the cifs vfs
shouldn't be able to detect this as well.

Also, your current attempt at a solution will only solve the problem
when the network is still up. But what if I shut down while my wireless
network is gone? For instance, when I've moved away from my home
location with the laptop on or (probably) suspended? Or what if my
wireless network simply shuts down by itself? It tends to do that. :-)

I really hope that somebody will find time to look at a proper, kernel
based solution.

Cheers,
Bart

-- 
CIFS/SMBFS shares not unmounted before network is shut down
https://bugs.launchpad.net/bugs/211631
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to