[apparmor] [Bug 897919] Re: apparmor_parser fails to load profile into namespace when caching is enabled

John Johansen john.johansen at canonical.com
Tue Dec 6 19:24:35 UTC 2011


This only happens when the profile file matches the name of one that is
already cached.  This happens because the cache test doesn't take in
account the namespace name, so it is testing against an already cached
profile and loads that, instead of the one for the namespace.

-- 
You received this bug notification because you are a member of AppArmor
Developers, which is the registrant for AppArmor.
https://bugs.launchpad.net/bugs/897919

Title:
  apparmor_parser fails to load profile into namespace when caching is
  enabled

Status in AppArmor Linux application security framework:
  New

Bug description:
  The apparmor_parser is in correctly handling caching when it comes to
  namespaces

     apparmor_parser -n test /etc/apparmor.d/usr.bin.testprogram

  reports success but fails to load the profile into the test namespace.
  But with caching disabled (-T)

     apparmor_parser -Tn test /etc/apparmor.d/usr.bin.testprogram

  does load the profile into the test namespace.

To manage notifications about this bug go to:
https://bugs.launchpad.net/apparmor/+bug/897919/+subscriptions



More information about the AppArmor mailing list