From: Jamie Strandboge <jamie(a)ubuntu.com>
Allows (multi-arch enabled) access to libraries under the
/usr/lib/(a){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 <christian.ehrhardt(a)canonical.com>
---
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 91d0e02..34a564f 100644
--- a/examples/apparmor/libvirt-qemu
+++ b/examples/apparmor/libvirt-qemu
@@ -158,8 +158,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/(a){multiarch}/qemu/*.so mr,
+1 to apply. Thanks for the update. :)
--
Jamie Strandboge |