Control: tags -1 + moreinfoOn Sat, 15 Jul 2023 14:35:37 -0700 Stepan Novotny <snovot...@gmail.com> wrote:
* What led up to the situation? I created /etc/polkit-1/rules.d/99-shutdown.rules and this worked fine: polkit.addRule(function(action, subject) { if (action.id == 'org.freedesktop.login1.power-off-multiple-sessions' && subject.isInGroup('Debian-gdm')) return polkit.Result.YES; else return polkit.Result.NOT_HANDLED; });Then I added a second file /etc/polkit-1/rules.d/99-power-off.rules and both failed to work: polkit.addRule(function(action, subject) { if (action.id == 'org.freedesktop.login1.reboot-multiple-sessions' && subject.isInGroup('Debian-gdm')) return polkit.Result.YES; else return polkit.Result.NOT_HANDLED; }); I found that either one of the above files by itself works fine, but it fails if both files are present.
Can you post exact failure messages please? What exactly did not work? Maybe also provide a debug log of polkitd. Michael
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pkg-utopia-maintainers mailing list Pkg-utopia-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-utopia-maintainers