Here's v2 of the patch that fixes the issue with aa-complain. (It turned
out that set_profile_flags() uses its own regex, which needed a similar
fix.)
Compared to v1, I also fixed the handling of profile "/foo" - that's
the ("??.+?"??) -> "?(.+?)"?? change. Besides the obvious move
of the parenthesis, also note the removed questionmark which is an
important part of the fix.
The other notes from my previous comment/patch still apply.
** Patch added: "patch v2"
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1296218/+attachment/4121683/+files/lp1296218.diff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1296218
Title:
aa-complain crashed with apparmor.common.AppArmorException in
get_profile_flags(): '/etc/apparmor.d/usr.bin.chromium-browser
contains no profile'
To manage notifications about this bug go to:
https://bugs.launchpad.net/apparmor/+bug/1296218/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs