Now that the apparmor helper exists, this can actually be simplified
down to a single line in the pre-start:
pre-start script
/lib/init/apparmor-profile-load usr.sbin.smbd
end script
The real problem is that there isn't a way to easily solve this in the
general case with Upstart. There is not common convention that .conf
files are named after the daemon names, etc. So, instead, each of these
services needs to carry the profile-load line, even when no profile is
shipped with the service.
** Changed in: apparmor (Ubuntu)
Assignee: Kees Cook (kees) => (unassigned)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/577445
Title:
services started by upstart need to load their AppArmor profile
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs