Skip to content
Snippets Groups Projects
Commit 3d8fdd2b authored by Christian Ehrhardt's avatar Christian Ehrhardt Committed by Guido Günther
Browse files

apparmor: add local include for libvirt-qemu & libvirt-lxc


We have had local includes for libvirtd and virt-aa-helper, but
unfortunately the most likely place for local includes to take place is
in /etc/apparmor/abstractions/libvirt-qemu (and libvirt-lxc) where we have
had no such local include yet.

This adds the include to the patch that addes the other Distro specific
includes d/p/debian/apparmor_profiles_local_include.patch.

Furthermore "normal" dh_apparmor can't handle subdirs in the profile
reference (since this is actually an abstraction it has the subdir).
Also for the abstraction we don't want the usual reload code.
Therefore we extract and add just what we need of a dh_apparmor snippet
and add it to the postinst of libvirt-daemon-system.

Signed-off-by: default avatarChristian Ehrhardt <christian.ehrhardt@canonical.com>
parent 8c1bf5dc
No related branches found
Tags debian/3.6.0+dfsg-2
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment