From e8d558b511d13642045d99856534d6f840b89d43 Mon Sep 17 00:00:00 2001 From: Tyler Hicks Date: Sat, 4 Jun 2016 03:14:23 -0500 Subject: [PATCH] Move rules to run fcitx and mozc-server into the lightdm-guest-session profile instead of keeping them in abstractions. lightdm doesn't depend on fcitx or mozc-server so it can't use abstractions shipped by those packages. (LP: #1581187) --- data/apparmor/lightdm-guest-session.in | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/data/apparmor/lightdm-guest-session.in b/data/apparmor/lightdm-guest-session.in index d1312ee4..76c24c47 100644 --- a/data/apparmor/lightdm-guest-session.in +++ b/data/apparmor/lightdm-guest-session.in @@ -11,8 +11,14 @@ #include # fcitx and friends needs special treatment due to C/S design - #include + /usr/bin/fcitx ix, + /tmp/fcitx-socket-* rwl, + /dev/shm/* rwl, + /usr/bin/fcitx-qimpanel ix, + /usr/bin/sogou-qimpanel-watchdog ix, + /usr/bin/sogou-sys-notify ix, + /tmp/sogou-qimpanel:* rwl, # mozc_server needs special treatment due to C/S design - #include + unix (bind, listen) type=stream addr="@tmp/.mozc.*", } -- 2.39.2