← Back to team overview

documentation-packages team mailing list archive

[Bug 1575466] Re: ubuntu-docs - "How do I hibernate my computer?" doesn't accomplish it's task

 

No, there isn't, Sebastien. I misunderstood your hint above; thanks for
explaining on IRC.

On 2016-04-27 07:22, Enkouyami wrote:
> Also should the logind entry in
> /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
> be so short compared to the one in
> /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla ?

No, they should be identical. If they are, it works without editing
/var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla
(which is not recommended, since the file is owned by the policykit-
desktop-privileges package, and changes would be overwritten at next
update of that package).

I just committed the change. Thanks for reporting this bug, Enkouyami!

** Changed in: ubuntu-docs (Ubuntu)
   Importance: Undecided => Medium

** Changed in: ubuntu-docs (Ubuntu)
       Status: New => Fix Committed

** Changed in: ubuntu-docs (Ubuntu)
     Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj)

** No longer affects: policykit-desktop-privileges (Ubuntu)

** No longer affects: ubuntu-docs

-- 
You received this bug notification because you are a member of
Documentation Packages, which is subscribed to ubuntu-docs in Ubuntu.
https://bugs.launchpad.net/bugs/1575466

Title:
  ubuntu-docs - "How do I hibernate my computer?" doesn't accomplish
  it's task

Status in ubuntu-docs package in Ubuntu:
  Fix Committed

Bug description:
  On https://help.ubuntu.com/stable/ubuntu-help/power-hibernate.html & https://help.ubuntu.com/16.04/ubuntu-help/power-hibernate.html it states that creating a file /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla with the following contents will enable hibernate on the menus:
  [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;org.freedesktop.login1.hibernate-multiple-sessions
  ResultActive=yes

  That will only work if the entries [Disable hibernate by default in
  upower] & [Disable hibernate by default in logind] are commented out
  or removed from
  /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla.

  The entries in /etc/polkit-1/localauthority/50-local.d/com.ubuntu
  .enable-hibernate.pkla does not supersede the entries in
  /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-docs/+bug/1575466/+subscriptions


References