Launchpad has imported 8 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=30701.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2010-10-08T09:11:54+00:00 Jklimes wrote:

Created attachment 39281
add '--print-reply' and use Sleep() method

The patch adds '--print-reply' to 55NetworkManager hook. This works around a 
bug that D-Bus loses messages for short-lived processes.
In reality this means that without '--print-reply' the message is not delivered 
to NetworkManager and it's not woken up on resume.
You can see these bugs for reference:
https://bugs.freedesktop.org/show_bug.cgi?id=896  (the core D-Bus bug)
https://bugzilla.redhat.com/show_bug.cgi?id=477964

Moreover the patch uses Sleep() method instead of deprecated sleep() and wake()
http://projects.gnome.org/NetworkManager/developers/spec-08.html

Reply at: https://bugs.launchpad.net/pm-utils/+bug/1007924/comments/0

------------------------------------------------------------------------
On 2012-02-13T09:47:11+00:00 Binli wrote:

Victor,

 I've also met this issue in openSUSE, could you let it in upstream.
Thanks!

Reply at: https://bugs.launchpad.net/pm-utils/+bug/1007924/comments/3

------------------------------------------------------------------------
On 2012-02-13T09:52:00+00:00 Binli wrote:

*** Bug 42500 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/pm-utils/+bug/1007924/comments/5

------------------------------------------------------------------------
On 2012-06-02T20:23:38+00:00 Freedesktop-bugs-thequod wrote:

*** Bug 42500 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/pm-utils/+bug/1007924/comments/10

------------------------------------------------------------------------
On 2012-06-02T20:27:11+00:00 Freedesktop-bugs-thequod wrote:

The patch fixes two issues with the NetworkManager hook, whereas the interface 
is by now not only deprecated, but not available any more.
This is a currently unfixed issue in Debian/Ubuntu.

I am setting the bug status to NEW, in case the bug is just not being
handled because of its NEEDINFO state.

Reply at: https://bugs.launchpad.net/pm-utils/+bug/1007924/comments/11

------------------------------------------------------------------------
On 2012-06-04T07:26:11+00:00 Jklimes wrote:

(In reply to comment #4)
> The patch fixes two issues with the NetworkManager hook, whereas the interface
> is by now not only deprecated, but not available any more.
> This is a currently unfixed issue in Debian/Ubuntu.

What interface do you mean, whole pm-utils?
Then yes, there are other ways how to handle sleep/resume now, e.g. UPower 
daemon.
NetworkManager listen to UPower's Sleeping and Resuming D-Bus signals too. So, 
the patch for pm-utils is not vital for NM. But still it would be nice to fix 
the script as it is broken, and some can use it.

http://projects.gnome.org/NetworkManager/developers/api/09/spec.html#org.freedesktop.NetworkManager

Reply at: https://bugs.launchpad.net/pm-utils/+bug/1007924/comments/12

------------------------------------------------------------------------
On 2012-06-05T13:36:07+00:00 Freedesktop-bugs-thequod wrote:

> What interface do you mean, whole pm-utils?

I am referring to the NetworkManager DBUS interface, where pm-utils uses
a non-existent interface method: see bug 42500.

Reply at: https://bugs.launchpad.net/pm-utils/+bug/1007924/comments/13

------------------------------------------------------------------------
On 2012-06-05T13:54:29+00:00 Jklimes wrote:

(In reply to comment #6)
> > What interface do you mean, whole pm-utils?
> 
> I am referring to the NetworkManager DBUS interface, where pm-utils uses a
> non-existent interface method: see bug 42500.

But, the patch fixes that too - e.g. uses Sleep() instead of sleep() and
wake() (it's written in the Description :).

Reply at: https://bugs.launchpad.net/pm-utils/+bug/1007924/comments/14


** Changed in: pm-utils
       Status: Unknown => Confirmed

** Changed in: pm-utils
   Importance: Unknown => Medium

** Bug watch added: freedesktop.org Bugzilla #896
   https://bugs.freedesktop.org/show_bug.cgi?id=896

** Bug watch added: Red Hat Bugzilla #477964
   https://bugzilla.redhat.com/show_bug.cgi?id=477964

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

Title:
  pm-utils uses wrong interface for NetworkManager hook (should be
  org.freedesktop.NetworkManager.Sleep)

To manage notifications about this bug go to:
https://bugs.launchpad.net/pm-utils/+bug/1007924/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to