← Back to team overview

touch-packages team mailing list archive

[Bug 1310845] Re: systemd-logind is not honoring polickykit rules for suspend/reboot/shutdown

 

What *should* the rules be for trusty.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1310845

Title:
  systemd-logind is not honoring polickykit rules for
  suspend/reboot/shutdown

Status in systemd package in Ubuntu:
  Invalid

Bug description:
  systemd-logind is not honoring policy-kit rules put in place to
  prevent users from suspending, hibernatoring, or shuting down
  machines. These rules worked in Precise.

  
  moss:~# cat /etc/polkit-1/localauthority/20-org.d/20-edu.pdx.cat.power.them.pkla 
  [deny-them-poweroff]
  Identity=unix-group:*;
  Action=org.freedesktop.consolekit.*;

  ResultActive=no

  moss:~# cat /etc/polkit-1/localauthority/20-org.d/20-org.freedesktop.upower.suspend.pkla 
  [deny-them-suspend]
  Identity=unix-group:*;
  Action=org.freedesktop.consolekit.*;

  ResultActive=no

  moss:~# cat //etc/polkit-1/localauthority/20-org.d/20-org.freedesktop.upower.hibernate.pkla 
  [deny-them-hibernate]
  Identity=unix-group:*;
  Action=org.freedesktop.consolekit.*;

  ResultActive=no

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1310845/+subscriptions