supergfxctl: drop nonexistent sudo group from D-Bus policy

Arch has no sudo group, so dbus-broker rejects that policy block by name on
every bus reload: "Invalid group-name in org.supergfxctl.Daemon.conf +9:
group=\"sudo\"". The block grants nothing here; the wheel policy in the same
file is what authorises an unprivileged user.

Remove the dead block with a checked-in patch and bump pkgrel.
This commit is contained in:
Vincent Zhang committed 2026-09-25 21:08:13 +08:00
1 parent d12fa816b7
commit 71abb9f0aa
2 files changed
+26 -3

No files matched your search

@@ -0,0 +1,13 @@
--- a/data/org.supergfxctl.Daemon.conf
+++ b/data/org.supergfxctl.Daemon.conf
@@ -6,10 +6,6 @@
<allow send_destination="org.supergfxctl.Daemon"/>
<allow receive_sender="org.supergfxctl.Daemon"/>
</policy>
- <policy group="sudo">
- <allow send_destination="org.supergfxctl.Daemon"/>
- <allow receive_sender="org.supergfxctl.Daemon"/>
- </policy>
<policy group="users">
<allow send_destination="org.supergfxctl.Daemon"/>
<allow receive_sender="org.supergfxctl.Daemon"/>