[neon/snap-packaging/plasma-desktop-session] snap: Properly confine polkit-agent
Kevin Ottens
null at kde.org
Wed Oct 2 16:03:29 BST 2024
Git commit 85d2507c9eb0d6467b84c67bafe6293fdbff2454 by Kevin Ottens.
Committed on 02/10/2024 at 15:03.
Pushed by ervin into branch 'master'.
Properly confine polkit-agent
M +15 -1 snap/snapcraft.yaml
https://invent.kde.org/neon/snap-packaging/plasma-desktop-session/-/commit/85d2507c9eb0d6467b84c67bafe6293fdbff2454
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 10af3e3..2ddb1db 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -240,6 +240,21 @@ apps:
- dbus-kde-solid-powermanagement
restart-delay: 1s
+ plasma-polkit-agent:
+ command: run.sh /usr/lib/x86_64-linux-gnu/libexec/polkit-kde-authentication-agent-1
+ slots:
+ - wayland
+ - x11
+ - desktop
+ plugs:
+ - polkit-agent
+ daemon: dbus
+ passthrough:
+ daemon-scope: user
+ activates-on:
+ - dbus-kde-polkit-agent
+ restart-delay: 1s
+
kaccess:
command: run.sh /usr/bin/kaccess
slots:
@@ -318,7 +333,6 @@ plugs:
network-observe: null
network-manager: null
opengl: null
- polkit-agent: null
process-control: null
shutdown: null
ssh-keys: null
More information about the Neon-commits
mailing list