Perl? What? No, it should just use the logic all the other services do.
For example:

pre-start script
    [ -d /sys/module/apparmor ]  || exit 0
    [ -x /sbin/apparmor_parser ] || exit 0
    /sbin/apparmor_parser -r -W /etc/apparmor.d/usr.sbin.avahi-daemon || true
end script

There will be a helper for this in natty soon, but for maverick,
something like above should be backported. There are no plans to move
apparmor wholesale into /etc/init because blocking on it for everything
would slow too much down. Instead, individual services are responsible
for loading their profiles in their init scripts.

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

Title:
  no longer confined by AppArmor

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

Reply via email to