From aa889e412d31d9f8b255d304d9ab7bec9237abed Mon Sep 17 00:00:00 2001 From: Jamie Strandboge Date: Wed, 20 Dec 2017 08:41:08 +0100 Subject: [PATCH] apparmor, libvirt-qemu: Allow qemu-block-extra libraries Allows (multi-arch enabled) access to libraries under the /usr/lib/@{multiarch}/qemu/*.so path in the Debian/Ubuntu qemu-block-extra package and all such libs for the paths of rpm qemu-block-* packages. Bug-Ubuntu: https://bugs.launchpad.net/bugs/1554761 Signed-off-by: Christian Ehrhardt --- examples/apparmor/libvirt-qemu | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/apparmor/libvirt-qemu b/examples/apparmor/libvirt-qemu index 651d841f19..e10160a1b8 100644 --- a/examples/apparmor/libvirt-qemu +++ b/examples/apparmor/libvirt-qemu @@ -152,8 +152,9 @@ /usr/bin/qemu-sparc64 rmix, /usr/bin/qemu-unicore32 rmix, /usr/bin/qemu-x86_64 rmix, - /usr/{lib,lib64}/qemu/block-curl.so mr, - /usr/{lib,lib64}/qemu/block-rbd.so mr, + # for Debian/Ubuntu qemu-block-extra / RPMs qemu-block-* (LP: #1554761) + /usr/{lib,lib64}/qemu/*.so mr, + /usr/lib/@{multiarch}/qemu/*.so mr, # for use by libvirt-vnc (LP: #901272) /etc/pki/CA/ r,