From b49bd3256469a2a57f67d0c80aab2772a7c24f99 Mon Sep 17 00:00:00 2001 From: Cyril Levis Date: Mon, 14 Aug 2023 17:55:02 +0200 Subject: [PATCH] fix: signal-desktop (#195) issue: https://github.com/roddhjav/apparmor.d/issues/194 --- apparmor.d/groups/apps/signal-desktop | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apparmor.d/groups/apps/signal-desktop b/apparmor.d/groups/apps/signal-desktop index 7de74718..65a5d95d 100644 --- a/apparmor.d/groups/apps/signal-desktop +++ b/apparmor.d/groups/apps/signal-desktop @@ -10,7 +10,7 @@ include #@{exec_path} = @{SIGNAL_INSTALLDIR}/signal-desktop{,-beta} # (#FIXME#) @{exec_path} = "/opt/Signal{, Beta}/signal-desktop{,-beta}" # (#FIXME#) -profile signal-desktop @{exec_path} { +profile signal-desktop @{exec_path} flags=(attach_disconnected) { include include include @@ -75,6 +75,9 @@ profile signal-desktop @{exec_path} { /var/lib/dbus/machine-id r, /etc/machine-id r, + # Allow systemd-inhibit + @{run}/systemd/inhibit/*.ref rw, + # No new privs @{bin}/xdg-settings rPx,