forked from pool/libvirt
09bdbb5659
apparmor-dont-scrub-environment-of-virtlogd-process.patch boo#980441 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=539
24 lines
866 B
Diff
24 lines
866 B
Diff
From c5963fcd85e4bf1e7325b9a4c33ba34369e98231 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
|
|
Date: Sun, 5 Jun 2016 13:06:35 +0200
|
|
Subject: [PATCH] apparmor: Don't scrub environment of virtlogd process
|
|
|
|
otherwise we drop variables like XDG_RUNTIME_DIR with qemu:///session
|
|
and libvirtd faild to find virtlogd's socket.
|
|
---
|
|
examples/apparmor/usr.sbin.libvirtd | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
Index: libvirt-1.3.5/examples/apparmor/usr.sbin.libvirtd
|
|
===================================================================
|
|
--- libvirt-1.3.5.orig/examples/apparmor/usr.sbin.libvirtd
|
|
+++ libvirt-1.3.5/examples/apparmor/usr.sbin.libvirtd
|
|
@@ -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,
|