org.freedesktop.login1.Manager.PowerOff doesn't work

Bug #1171504 reported by Iain Lane
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Fix Released
Medium
Martin Pitt
Raring
Fix Released
Undecided
Unassigned

Bug Description

Filing so this doesn't get lost for S.

Both poweroff.target and shutdown.target can be used to shutdown the system. We need to invoke /sbin/poweroff for both of them.

Revision history for this message
Iain Lane (laney) wrote :
summary: - org.freedesktop.login1.Manager.Shutdown doesn't work
+ org.freedesktop.login1.Manager.PowerOff doesn't work
tags: added: patch
Martin Pitt (pitti)
Changed in systemd (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
milestone: none → ubuntu-13.05
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Martin Pitt (pitti) wrote :

Applied in my local git packaging tree.

Changed in systemd (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 198-0ubuntu12

---------------
systemd (198-0ubuntu12) saucy; urgency=low

  [ Martin Pitt ]
  * debian/rules: Don't build ddebs for blacklisted binary packages.
  * debian/systemd-services.install: Put back logind D-BUS activation file,
    now that we will use logind by default.

  [ Iain Lane ]
  * Use the shutdown fallback for "poweroff.target" too; this is invoked by
    org.freedesktop.login1.Manager.PowerOff (LP: #1171504)
 -- Martin Pitt <email address hidden> Sun, 28 Apr 2013 06:34:43 -0700

Changed in systemd (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Uploaded SRU to raring-proposed review queue.

Changed in systemd (Ubuntu Raring):
status: New → In Progress
Revision history for this message
Adam Conrad (adconrad) wrote : Please test proposed package

Hello Iain, or anyone else affected,

Accepted systemd into raring-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/systemd/198-0ubuntu11.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in systemd (Ubuntu Raring):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Tim Lunn (darkxst) wrote :

tested on raring, suspend on lid close now works

tags: added: verification-done
removed: verification-needed
Revision history for this message
Tim Lunn (darkxst) wrote :

power off works correctly as well.

Revision history for this message
Scott Kitterman (kitterman) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 198-0ubuntu11.1

---------------
systemd (198-0ubuntu11.1) raring-proposed; urgency=low

  [ Iain Lane ]
  * Use the shutdown fallback for "poweroff.target" too; this is invoked by
    org.freedesktop.login1.Manager.PowerOff. (LP: #1171504)

  [ Martin Pitt ]
  * debian/rules: Don't build ddebs for blacklisted binary packages, to avoid
    confusing Launchpad.
  * Ship 70-power-switch.rules, to make suspend on lid close work with GNOME
    3.8, and fix shutdown with the power button in a VT. (LP: #1160995)
 -- Martin Pitt <email address hidden> Fri, 10 May 2013 07:35:15 +0200

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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