[Bug 888434] Re: /usr/lib/pm-utils/sleep.d/55NetworkManager calls the wrong method

2015-04-16 Thread Ken Sharp
** Description changed:

  As of 11.10, 55NetworkManager calls the already non-existing sleep and
  wake methods on org.freedesktop.NetworkManager. It should call instead
- the Sleep (not capital 'S') method with a boolean argument:
+ the Sleep (note the capital 'S') method with a boolean argument:
  
  dbus_send ... ... org.freedesktop.NetworkManager.Sleep boolean:true
  
  for suspending, and false for resuming.
  
  Attached the fixed file.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: pm-utils 1.4.1-8ubuntu1 [modified: 
usr/lib/pm-utils/sleep.d/55NetworkManager]
  ProcVersionSignature: Ubuntu 3.0.0-12.20~ppa1-generic-tuxonice 3.0.4
  Uname: Linux 3.0.0-12-generic-tuxonice x86_64
  ApportVersion: 1.23-0ubuntu3
  Architecture: amd64
  Date: Thu Nov 10 08:32:17 2011
  InstallationMedia: Ubuntu 11.04 Natty Narwhal - Release amd64 (20110426)
  PackageArchitecture: all
  ProcEnviron:
-  LANGUAGE=en_US:en
-  PATH=(custom, no user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=en_US:en
+  PATH=(custom, no user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: pm-utils
  UpgradeStatus: Upgraded to oneiric on 2011-10-30 (11 days ago)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to pm-utils in Ubuntu.
https://bugs.launchpad.net/bugs/888434

Title:
  /usr/lib/pm-utils/sleep.d/55NetworkManager calls the wrong method

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

-- 
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


[Bug 888434] Re: /usr/lib/pm-utils/sleep.d/55NetworkManager calls the wrong method

2015-01-11 Thread Oliver R.
I attached a modified version of 55NetworkManager that simply calls
stop network-manager and start network-manager, respectively.  This
works for me, i.e. I have a working network connection after resume,
which I hadn't before (Mint 13 Xfce, kernel 3.13.0-43-generic, ThinkPad
R500).

Please comment if this is a sensible solution –  or post a correct
version using dbus_send.

** Attachment added: 55NetworkManager
   
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/888434/+attachment/4295640/+files/55NetworkManager

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to pm-utils in Ubuntu.
https://bugs.launchpad.net/bugs/888434

Title:
  /usr/lib/pm-utils/sleep.d/55NetworkManager calls the wrong method

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

-- 
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


[Bug 888434] Re: /usr/lib/pm-utils/sleep.d/55NetworkManager calls the wrong method

2015-01-11 Thread Nicolas Cavallari
This is not a sensible solution.

There are numerous patches already to fix the original problem:

On launchpad:
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/906347 (mine).
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1007924
On debian:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647418
Upstream:
https://bugs.freedesktop.org/show_bug.cgi?id=30701
https://bugs.freedesktop.org/show_bug.cgi?id=42500

There are also some random sources on the internet saying that
NetworkManager also listen to UPower events.

** Bug watch added: Debian Bug tracker #647418
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647418

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

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

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to pm-utils in Ubuntu.
https://bugs.launchpad.net/bugs/888434

Title:
  /usr/lib/pm-utils/sleep.d/55NetworkManager calls the wrong method

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

-- 
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


[Bug 888434] Re: /usr/lib/pm-utils/sleep.d/55NetworkManager calls the wrong method

2015-01-10 Thread Oliver R.
The bug seems to be still present in version 1.4.1-9fix.ubuntu12.04

Is anyone able to fix this?  Is it fixed in future versions?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to pm-utils in Ubuntu.
https://bugs.launchpad.net/bugs/888434

Title:
  /usr/lib/pm-utils/sleep.d/55NetworkManager calls the wrong method

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

-- 
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