Bug 548635 - power management actions use wrong D-Bus service
Summary: power management actions use wrong D-Bus service
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-do-plugins
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Juan Manuel Rodriguez
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-18 00:41 UTC by Ben Liblit
Modified: 2011-07-31 03:56 UTC (History)
3 users (show)

Fixed In Version: gnome-do-plugins-0.8.4-2.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-31 03:55:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 410079 0 None None None Never

Description Ben Liblit 2009-12-18 00:41:32 UTC
Description of problem:

GNOME Do actions relating to power management (such as "Suspend" and "Hibernate") have no effect.  This is because they are using an obsolete D-Bus service (org.freedesktop.PowerManagement) which is no longer provided.  The code in "/usr/lib/gnome-do/plugins/GNOME-Session.dll" should be updated to use the org.freedesktop.DeviceKit.Power service instead.

Version-Release number of selected component (if applicable):

gnome-do-plugins-0.8.2-1.fc12.i686
DeviceKit-power-012-2.fc12

How reproducible:

100% reproducible.  Completely deterministic.

Steps to Reproduce:
1. Bring up the GNOME Do Preferences dialog.
2. Select the Plugins tab, showing Official Plugins.
3. Check "GNOME Session Management v1.6" if it was not already selected.
4. Bring up GNOME Do's regular action window.
5. Type "Suspend", and ensure that "Run" is the selected action.
6. Press Enter.
  
Actual results:

Computer does not suspend.  Diagnostic message "[Error hh:mm:ss.sss] [PowerManagement] Could not suspend: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PowerManagement was not provided by any .service files" appears.

Expected results:

Computer should suspend.  No diagnostic message should appear.

Additional info:

See <https://bugs.launchpad.net/ubuntu/+source/gnome-do-plugins/+bug/410079> for the same bug reported to Ubuntu, and claimed to be fixed.  Presumably their fix is what we need too.

Comment 1 Bug Zapper 2010-11-04 03:04:26 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Ben Liblit 2010-11-07 01:34:02 UTC
Problem still manifests as originally described, now under Fedora 14.

Comment 3 Theodore Lee 2010-12-08 08:31:47 UTC
This has now been fixed on upstream trunk apparently:
http://bazaar.launchpad.net/~do-plugins/do-plugins/trunk/revision/682

Comment 4 Fedora Update System 2011-07-16 06:24:27 UTC
gnome-do-plugins-0.8.4-2.fc15,gnome-do-0.8.5-3.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/gnome-do-plugins-0.8.4-2.fc15,gnome-do-0.8.5-3.fc15

Comment 5 Fedora Update System 2011-07-16 06:25:00 UTC
gnome-do-plugins-0.8.4-2.fc14,gnome-do-0.8.5-3.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/gnome-do-plugins-0.8.4-2.fc14,gnome-do-0.8.5-3.fc14

Comment 6 Fedora Update System 2011-07-18 22:28:14 UTC
Package gnome-do-plugins-0.8.4-2.fc14, gnome-do-0.8.5-3.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnome-do-plugins-0.8.4-2.fc14 gnome-do-0.8.5-3.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/gnome-do-plugins-0.8.4-2.fc14,gnome-do-0.8.5-3.fc14
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2011-07-31 03:54:45 UTC
gnome-do-plugins-0.8.4-2.fc14, gnome-do-0.8.5-5.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2011-07-31 03:55:40 UTC
gnome-do-plugins-0.8.4-2.fc15, gnome-do-0.8.5-5.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.