[Pm-utils] [PATCH] sleep.d/55NetworkManager: don't call nonexistent dbus_send

Uri Okrent uokrent at gmail.com
Wed Jun 30 06:38:49 PDT 2010

On 06/30/2010 12:39 AM, Uri Okrent wrote:
> dbus provides dbus-send, not dbus_send. This typo means that
> NetworkManager was not actually shutting down interfaced or bringing
> them back up on suspend/resume.
> Signed-off-by: Uri Okrent<uokrent at gmail.com>
> ---

Hmmm... not so fast, me. It seems that doing this actually inhibits suspend from 
working altogether. I see the following in my /var/log/pm-suspend.log after 
making that change.

/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:Error 
org.freedesktop.NetworkManager.AlreadyAsleepOrAwake: Already asleep
Returned exit code 1.
Wed Jun 30 01:39:00 PDT 2010: Inhibit found, will not perform suspend

Thouroughly confused as to why fixing that would actually *break* suspend...

    Uri 瓜

Please consider the environment before printing this message.

More information about the Pm-utils mailing list