← Back to team overview

desktop-packages team mailing list archive

[Bug 1514067] Re: Update to 0.17 disables hibernate for ordinary user

 

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

** Changed in: policykit-desktop-privileges (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to policykit-desktop-privileges in Ubuntu.
https://bugs.launchpad.net/bugs/1514067

Title:
  Update to 0.17 disables hibernate for ordinary user

Status in policykit-desktop-privileges package in Ubuntu:
  Incomplete

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:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/policykit-desktop-privileges/+bug/1514067/+subscriptions


References