aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-02 15:48:50 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-02 15:48:50 +0200
commita5d8065f2726050e2435b87921ecaedf51998f49 (patch)
tree1f9e2b158e1382084d72c6060fe68e8f949ae5ae
parenta67c67698de118c9a6bfc4efa490ef5703896c84 (diff)
downloadlightdm-remote-session-freerdp2-a5d8065f2726050e2435b87921ecaedf51998f49.tar.gz
lightdm-remote-session-freerdp2-a5d8065f2726050e2435b87921ecaedf51998f49.tar.bz2
lightdm-remote-session-freerdp2-a5d8065f2726050e2435b87921ecaedf51998f49.zip
apparmor: Add various rules (some related to systemd switch) fixing session startup failures on machines using systemd as system-wide service.
-rw-r--r--lightdm-remote-session-freerdp2.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/lightdm-remote-session-freerdp2.in b/lightdm-remote-session-freerdp2.in
index 287e6f2..101acd8 100644
--- a/lightdm-remote-session-freerdp2.in
+++ b/lightdm-remote-session-freerdp2.in
@@ -59,6 +59,13 @@
# necessary for writing to sockets, etc.
/{,var/}run/** rmkix,
/{,var/}run/shm/** wl,
+ /run/systemd/journal/dev-log w,
+ /tmp/**/.x2go-socket r,
+ /tmp/.X11-unix/X[0-9]* wr,
+ /run/uuidd/request w,
+ /proc/sys/kernel/ngroups_max r,
+
+ network,
capability ipc_lock,