Good catch. It should be filtering out '//' instead as that's now the
separator used by the kernel portion of apparmor to indicate where hats
and child profile names begin, like so:

=== modified file 'debian/lib/apparmor/functions'
--- debian/lib/apparmor/functions       2011-02-24 01:41:58 +0000
+++ debian/lib/apparmor/functions       2011-05-31 19:36:08 +0000
@@ -54,7 +54,7 @@
 }

 configured_profile_names() {
-       foreach_configured_profile $quiet_arg -N 2>/dev/null | LC_COLLATE=C 
sort | grep -v '\^'
+       foreach_configured_profile $quiet_arg -N 2>/dev/null | LC_COLLATE=C 
sort | grep -v '//'
 }

 running_profile_names() {


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

** Changed in: apparmor (Ubuntu)
   Importance: Undecided => High

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

Title:
  configured_profile_names() in /lib/apparmor/functions breaks eg
  usr.bin.firefox profile

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to