]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
apparmor, libvirtd: Allow libxl-save-helper to run on Debian/Ubuntu
authorStefan Bader <stefan.bader@canonical.com>
Fri, 16 Jun 2017 08:20:11 +0000 (10:20 +0200)
committerGuido Günther <agx@sigxcpu.org>
Fri, 16 Jun 2017 08:38:52 +0000 (10:38 +0200)
On Debian/Ubuntu the libxl-save-helper (used when saving/restoring
a domain through libxl) is located under /usr/lib/xen-<version>/bin.

Bug-Ubuntu: https://bugs.launchpad.net/bugs/1334195

Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
examples/apparmor/usr.sbin.libvirtd

index 353b039accc1a482a144efefd4e4b3cc5ab17539..acb59e0716e3a14d5048b060f378c279527f7ab6 100644 (file)
@@ -50,6 +50,7 @@
   /{usr/,}lib/udev/scsi_id PUx,
   /usr/{lib,lib64}/xen-common/bin/xen-toolstack PUx,
   /usr/{lib,lib64}/xen/bin/* Ux,
+  /usr/lib/xen-*/bin/libxl-save-helper PUx,
 
   # force the use of virt-aa-helper
   audit deny /{usr/,}sbin/apparmor_parser rwxl,