]> xenbits.xensource.com Git - libvirt.git/commitdiff
apparmor: allow /usr/lib/qemu/qemu-bridge-helper
authorGuido Günther <agx@sigxcpu.org>
Fri, 17 Mar 2017 08:59:42 +0000 (09:59 +0100)
committerGuido Günther <agx@sigxcpu.org>
Fri, 17 Mar 2017 08:59:42 +0000 (09:59 +0100)
This is where e.g. Debian puts it.

examples/apparmor/usr.sbin.libvirtd

index 8893e75fe97c674c2cbbc6d0130d5d1a5bb45fc2..353b039accc1a482a144efefd4e4b3cc5ab17539 100644 (file)
@@ -67,7 +67,7 @@
   # allow changing to our UUID-based named profiles
   change_profile -> @{LIBVIRT}-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*,
 
-  /usr/{lib,libexec}/qemu-bridge-helper Cx -> qemu_bridge_helper,
+  /usr/{lib,lib64,lib/qemu,libexec}/qemu-bridge-helper Cx -> qemu_bridge_helper,
   # child profile for bridge helper process
   profile qemu_bridge_helper {
    #include <abstractions/base>
@@ -83,6 +83,6 @@
    /etc/qemu/** r,
    owner @{PROC}/*/status r,
 
-   /usr/{lib,libexec}/qemu-bridge-helper rmix,
+   /usr/{lib,lib64,lib/qemu,libexec}/qemu-bridge-helper rmix,
   }
 }