Ok, I looked at this quite a bit today. I'll summarize some stuff that
was already said to justify the path forward.

1. bug #1509829 reports that the lightdm guest session fails to start fcitx and 
mozc input methods
2. the fix as implemented was to create apparmor abstractions for fcitx and 
mozc for the lightdm guest session policy to use. The bug lies in that lightdm 
wasn't updated to Depends on the packages providing the abstractions that the 
guest session policy #included
3. the abstractions in the fcitx and mozc policy is for running these services 
under the guest session and not for fcitx and mozc clients to access these 
services
4. apparmor is the correct place to ship abstractions and is interested in 
fcitx and mozc client policy, but the existing abstractions are inappropriate 
for inclusion in upstream apparmor

The path forward is:
1. lightdm adds to the guest session policy the contents of 
./debian/apparmor.d/abstractions/fcitx from the fcitx source package and 
./debian/apparmor/mozc_server from the mozc source package and removes 
'#include <abstractions/fcitx>' and '#include <abstractions/mozc_server>'. This 
fixes this bug and keeps bug #1509829 closed
2. mozc and fcitx stop shipping abstractions/fcitx and abstractions/mozc_server
3. apparmor adds abstractions/mozc, abstractions/fcitx and 
abstractions/fcitx-strict policy (needed for other reasons unrelated to this 
bug) and does a conffile mv on fcitx

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1581187

Title:
  AppArmor parser error for /etc/apparmor.d/lightdm-guest-session in
  /etc/apparmor.d/lightdm-guest-session at line 14: Could not open
  'abstractions/fcitx'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1581187/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to