]> xenbits.xensource.com Git - libvirt.git/commitdiff
apparmor: Don't scrub environment of virtlogd process
authorGuido Günther <agx@sigxcpu.org>
Sat, 11 Jun 2016 19:22:00 +0000 (21:22 +0200)
committerGuido Günther <agx@sigxcpu.org>
Sun, 12 Jun 2016 11:36:28 +0000 (13:36 +0200)
otherwise we drop variables like XDG_RUNTIME_DIR with qemu:///session
and libvirtd faild to find virtlogd's socket.

examples/apparmor/usr.sbin.libvirtd

index 5d606e6cd93fa51012627750997c525a92b9aa1a..23f70f5797aec6a1348e133306c4acc282181def 100644 (file)
@@ -45,6 +45,7 @@
   /bin/* PUx,
   /sbin/* PUx,
   /usr/bin/* PUx,
+  /usr/sbin/virtlogd pix,
   /usr/sbin/* PUx,
   /lib/udev/scsi_id PUx,
   /usr/{lib,lib64}/xen-common/bin/xen-toolstack PUx,