Comment 15 for bug 250506

Revision history for this message
Mehdi Abaakouk (sileht) wrote : Re: shutdown and restart act as logout

Debian have added this patch because it does not compile consolekit with PolicyKit and in this case anyone have the right to shutdown or reboot the system
   * debian/patches/01-dbus_policy.patch
     - Allow only root to call the Restart and Stop D-Bus methods since we are
       not using PolicyKit to restrict the access to those methods.

But ubuntu ship policykit and can build consolekit with policykit support

To fix the problem, we need to remove this patches and add a dependencie on policykit.

Intead, for the security problem pointed by debian, Upstream version have release a patch