Regression in oneiric-proposed: Can't suspend my system anymore by using its power button

Bug #878076 reported by Jan Rathmann
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-settings-daemon (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Unassigned

Bug Description

Hello,

I usually activate standby/suspend to ram mode for my system by pressing the power button on its case.
This also worked on Oneiric untill I installed the lasted update of gnome-settings-daemon from proposed (3.2.1-0ubuntu1) this morning.
With that update installed, nothing happens when I press the power button, allthough the settings in dconf seem to be correct (see attached screenshot). Clicking the suspend entry in the system menu on the right screen side still works properly.

Kind regards,
Jan

TESTCASE:
* run "gsettings set org.gnome.settings-daemon.plugins.power button-power suspend"
* press the power button (on a box where suspend works)
* with the previous proposed version it wouldn't suspend and print an error in .xsession-errors, with the update it does suspend

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gnome-settings-daemon 3.2.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
CheckboxSubmission: b37fefbc97df4ba6a5f7edd504648fe4
CheckboxSystem: 4ed15c40009aa6f7770f606350a390a2
Date: Wed Oct 19 12:25:42 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111010.1)
ProcEnviron:
 LANGUAGE=de_DE:en
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 LC_MESSAGES=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-settings-daemon
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jan Rathmann (kaiserclaudius) wrote :
Changed in gnome-settings-daemon (Ubuntu):
importance: Undecided → High
assignee: nobody → Rodrigo Moya (rodrigo-moya)
Changed in gnome-settings-daemon (Ubuntu Oneiric):
assignee: nobody → Rodrigo Moya (rodrigo-moya)
importance: Undecided → High
Revision history for this message
Sebastien Bacher (seb128) wrote :

on oneiric standard the key is set to "suspend" there (seems the default value) but it displays the session dialog, after updating to the oneiric-proposed version it still does the same and display the session dialog

Revision history for this message
Sebastien Bacher (seb128) wrote :

Ok, I can confirm the issue after changing the value to something else in dconf-editor and back to suspend, the earlier confusing comes from the fact that we use a gsettings override to default "button-power" to 'interactive' but dconf-editor doesn't show override values so wrongly displayed "suspend" where the actual read value was "interactive"

Changed in gnome-settings-daemon (Ubuntu Oneiric):
status: New → Confirmed
Changed in gnome-settings-daemon (Ubuntu):
status: New → Confirmed
tags: added: regression-proposed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Ok, it's due to
http://git.gnome.org/browse/gnome-settings-daemon/commit/?h=gnome-3-2&id=4e26618b8a0f037bf2fd682a8c771a760d36beef

the session log get "couldn't sleep using UPower: ... The name org.freedesktop.UPower was not provided by any .service files"

Revision history for this message
Sebastien Bacher (seb128) wrote :

I've comment on https://bugzilla.gnome.org/show_bug.cgi?id=660267, that's because they try to use upower on the wrong bus (session where it's on the system one)

Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in gnome-settings-daemon (Ubuntu):
status: Confirmed → Fix Committed
Changed in gnome-settings-daemon (Ubuntu Oneiric):
status: Confirmed → Fix Committed
assignee: Rodrigo Moya (rodrigo-moya) → nobody
Changed in gnome-settings-daemon (Ubuntu):
assignee: Rodrigo Moya (rodrigo-moya) → nobody
description: updated
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Jan, or anyone else affected,

Accepted gnome-settings-daemon into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Jan Rathmann (kaiserclaudius) wrote : Re: [Bug 878076] Re: Regression in oneiric-proposed: Can't suspend my system anymore by using its power button

This fixed the bug for me, thanks :-)

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-settings-daemon - 3.2.1-0ubuntu2

---------------
gnome-settings-daemon (3.2.1-0ubuntu2) oneiric-proposed; urgency=low

  [ Didier Roche ]
  * debian/patches/16_use_synchronous_notifications.patch:
    - make our patch using the new icon name (LP: #877058)

  [ Sebastien Bacher ]
  * debian/patches/git_correct_suspend_bus.patch:
    - git patch to fix a suspend regression in the new version (lp: #878076)

gnome-settings-daemon (3.2.1-0ubuntu1) oneiric-proposed; urgency=low

  * New upstream release (LP: #877326)
  * debian/patches/00git_dont_restore_brightness.patch:
  * debian/patches/00git_fix_reference_leaks.patch:
  * debian/patches/00git_fix_async_dbus_crash.patch:
  * debian/patches/00git_dont_sleep_on_idle_by_default.patch:
  * debian/patches/00git_dont_revert_pre_idle_brigthness.patch:
  * debian/patches/00git_avoid_undesired_sleeps.patch:
  * debian/patches/49_fix_suspend_media_key.patch:
    - Remove upstreamed patches
  * debian/patches/16_use_synchronous_notifications.patch:
    - Rebased
 -- Didier Roche <email address hidden> Wed, 19 Oct 2011 17:25:16 +0200

Changed in gnome-settings-daemon (Ubuntu):
status: Fix Committed → Fix Released
Changed in gnome-settings-daemon (Ubuntu Oneiric):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.