Comment 11 for bug 859075

Revision history for this message
PhobosK (phobosk) wrote :

@Montblanc,
I had already made some remarks in my comment on bug #809628 (https://bugs.launchpad.net/upstart/+bug/809628/comments/10) before i found this bug.

There is an ugly workaround that may help you with this...

Add to your /etc/sudoerrs (using sudoedit):
ALL ALL=NOPASSWD:/sbin/halt

and then create a "shortcut" on your KDE desktop to "sudo /sbin/halt -p" and use it instead of "Kickoff -> Exit -> Turn off computer"

But this is too ugly compared to a system that is honouring the /etc/init.d/halt script (taking its config options from /etc/default/halt)