[Bug 1581187] Re: 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'

2016-06-22 Thread Martin Pitt
Confirmed, systemd's test is also working again. Thanks for the fix!

-- 
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/lightdm/+bug/1581187/+subscriptions

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


[Bug 1581187] Re: 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'

2016-06-21 Thread Tyler Hicks
Thanks, Martin. I have verified that this bug is fixed in
1.19.1-0ubuntu1.

-- 
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/lightdm/+bug/1581187/+subscriptions

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


[Bug 1581187] Re: 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'

2016-06-21 Thread Martin Pitt
This was supposedly fixed in
https://launchpad.net/ubuntu/+source/lightdm/1.19.1-0ubuntu1, but the
changelog has a typo.

** Changed in: lightdm (Ubuntu)
   Status: Triaged => Fix Released

** Changed in: lightdm
   Status: In Progress => Fix Released

-- 
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/lightdm/+bug/1581187/+subscriptions

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


[Bug 1581187] Re: 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'

2016-06-20 Thread Launchpad Bug Tracker
** Branch linked: lp:lightdm/1.18

-- 
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/lightdm/+bug/1581187/+subscriptions

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


[Bug 1581187] Re: 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'

2016-06-04 Thread Tyler Hicks
** Also affects: lightdm
   Importance: Undecided
   Status: New

** Changed in: lightdm
   Status: New => In Progress

** Changed in: lightdm
 Assignee: (unassigned) => Tyler Hicks (tyhicks)

-- 
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/lightdm/+bug/1581187/+subscriptions

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


[Bug 1581187] Re: 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'

2016-06-04 Thread Launchpad Bug Tracker
** Branch linked: lp:~tyhicks/lightdm/guest-session-profile-fixes

-- 
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/lightdm/+bug/1581187/+subscriptions

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


[Bug 1581187] Re: 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'

2016-06-03 Thread Jamie Strandboge
Marking the bug as Triaged since comment #8 describes how to fix the
bug.

** Changed in: lightdm (Ubuntu)
   Status: New => Triaged

-- 
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


[Bug 1581187] Re: 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'

2016-06-03 Thread Jamie Strandboge
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 ' and '#include '. 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


[Bug 1581187] Re: 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'

2016-06-01 Thread Robert Ancell
I don't plan to SRU this, but perhaps Aron might? (He created the fix).

-- 
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


[Bug 1581187] Re: 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'

2016-06-01 Thread Tyler Hicks
My current thinking is that the fcitx and mozc abstractions should be
shipped in the apparmor package. They're general enough for everyone to
use and benefit from. Moving them to apparmor and doing the necessary
packaging changes would fix the problem in Yakkety.

Are there plans to SRU, to Xenial, the lightdm guest session AppArmor
profile change that includes the fcitx abstraction? If so, we may want
to address the problem differently there.

-- 
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


[Bug 1581187] Re: 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'

2016-05-16 Thread Robert Ancell
The rules are for the guest session, not the greeter. Agreed, it seems
to make sense to copy them in.

-- 
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


[Bug 1581187] Re: 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'

2016-05-13 Thread Martin Pitt
I don't see documentation about this either, subscribing Tyler and
Jamie. I also don't think it's adequate to make lightdm depend on fcitx,
as that's both just one input method amongst several (and most people
don't need it), so I think the cleanest way might be to actually move
the fcitx rules into lightdm. I figure fcitx itself won't need apparmor
rules as it runs as user, and these were added only for the benefit of
the lightdm greeter?

-- 
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


[Bug 1581187] Re: 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'

2016-05-12 Thread Robert Ancell
This change was added in bug 1509829. I couldn't find any documentation
on what apparmor would do if the abstraction doesn't exist. Do you know
how we can have optional includes?

-- 
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


[Bug 1581187] Re: 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'

2016-05-12 Thread Martin Pitt
This was detected by systemd's boot-and-services autopkgtest [1], which
now fails in apparmor.service.

[1]
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
/autopkgtest-yakkety/yakkety/amd64/s/systemd/20160512_140212@/log.gz

-- 
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