I've experienced the same problem with openSUSE 12.1 and KDE or xfce.
I've found a clumsy workaround, that might also help here:

When the system should be suspended, the NetworkManager gets notified by
a dbus call. You can generate this call manually by

qdbus --system org.freedesktop.NetworkManager
/org/freedesktop/NetworkManager org.freedesktop.NetworkManager.Sleep
boolean:true

This results, that NetworkManager shuts down all its network interfaces.

To wake him up again, following call can be used:

qdbus --system org.freedesktop.NetworkManager
/org/freedesktop/NetworkManager org.freedesktop.NetworkManager.Sleep
boolean:false

At SUSE, this call is performed by /usr/lib/pm-utils/sleep.d/55NetworkManager
and can be overwritten by /etc/pm/sleep.d/55NetworkManager

Disabling this call, results into a working suspend mechanism for KDE and a NFS 
Home directory.
However, xfce additional calls  org.freedesktop.NetworkManager.Sleep 
boolean:true directly.
However, modifying this file to always wake-up NetworkManager results into a 
working (but clumsy solution), because, 

xfce calls NetworkManager sleep
NetworkManager shuts down all network interfaces
[...]
modified /etc/pm/sleep.d/55NetworkManager wakes up NetworkManager again
Network connections are reestablished again
[...]
system is going into suspend.

I don't have a Ubuntu at hand, but I expect, that this workaround can be
adapted for Ubuntu and Gnome.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/516592

Title:
  Network manager kills NFS link on going to sleep hanging Gnome etc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/network-manager/+bug/516592/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to