Does NOT affect the applied policy (cf. pkcheck and Gnome shutdown dialog)
Modifying the /usr/share/polkit-1/actions/* files DOES lead to the expected results (cf. pkcheck and Gnome shutdown dialog)
Am I:
- missing something (like reloading a daemon somewhere)
- or is this a bug; a sysadmin would expect his custom settings to be in /etc/polkit-1 and be honored (and not be erased by some package update) ?
On Lucid, it would seem the /etc/polkit-1/* folders are not used.
Puting a power.conf file:
[Disable suspend] unix-user: * org.freedesktop .devicekit. power.suspend
Identity=
Action=
ResultActive=no
ResultAny=no
[Disable hibernate] unix-user: * org.freedesktop .devicekit. power.hibernate
Identity=
Action=
ResultActive=no
ResultAny=no
[Disable shutdown] unix-user: * org.freedesktop .consolekit. system. stop
Identity=
Action=
ResultActive=no
ResultAny=no
In: 1/localauthorit y/50-local. d 1/localauthorit y.conf. d
- /etc/polkit-
- /etc/polkit-
Does NOT affect the applied policy (cf. pkcheck and Gnome shutdown dialog)
Modifying the /usr/share/ polkit- 1/actions/ * files DOES lead to the expected results (cf. pkcheck and Gnome shutdown dialog)
Am I:
- missing something (like reloading a daemon somewhere)
- or is this a bug; a sysadmin would expect his custom settings to be in /etc/polkit-1 and be honored (and not be erased by some package update) ?