Update to 0.17 disables hibernate for ordinary user

Bug #1514067 reported by Tom
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
policykit-desktop-privileges (Ubuntu)
Expired
Low
Unassigned

Bug Description

After updating to 0.17 I receive

"GDBus.Error:org.freedesktop.DBus.Error.Failed: Operation not supported"

when trying to hibernate from the desktop UI. Instead, the screensaver is launched.

I have mitigated this by following a procedure https://www.linuxliteos.com/forums/other/enabling-suspend-on-linux-lite/ to add site-local rules which override the /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla file. This file /var/lib/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla contains:

[Re-enable hibernate by default in upower]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes

[Re-enable hibernate by default in logind]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate
ResultActive=yes

Disabling part of the UI doesn't seem the right thing.

pollen ~ # getent group | grep tomj
adm:x:4:syslog,tomj
cdrom:x:24:tomj
sudo:x:27:tomj
dip:x:30:tomj
plugdev:x:46:tomj
lpadmin:x:108:tomj
sambashare:x:110:tomj
tomj:x:1000:

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

What ubuntu version and desktop environment do you use?

Are you sure it's new to this version, hibernate is disabled on purpose for longer than that

policykit-desktop-privileges (0.8) precise; urgency=low

  * Disable hibernation by default. (LP: #812394)

Changed in policykit-desktop-privileges (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for policykit-desktop-privileges (Ubuntu) because there has been no activity for 60 days.]

Changed in policykit-desktop-privileges (Ubuntu):
status: Incomplete → Expired
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.