]> git.ipfire.org Git - thirdparty/lxc.git/commit
systemd: Load AppArmor profiles if necessary/supported
authorMartin Pitt <martin.pitt@ubuntu.com>
Fri, 1 Aug 2014 05:00:34 +0000 (07:00 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 4 Aug 2014 19:24:39 +0000 (15:24 -0400)
commit2b24e2ff84c03a1e049449127958df8dc16a74fd
tree64c64647faeac14cacefbbd37158021507e8f601
parent84b3775a090a3e67514eb5f46d32eabb39fcc068
systemd: Load AppArmor profiles if necessary/supported

On Ubuntu we need to set up the AppArmor profiles also under systemd.
Add a new helper "lxc-apparmor-load" and integrate it into lxc.service.

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
config/init/systemd/Makefile.am
config/init/systemd/lxc-apparmor-load [new file with mode: 0755]
config/init/systemd/lxc.service.in