- apparmor: Don't scrub environment of virtlogd process
apparmor-dont-scrub-environment-of-virtlogd-process.patch boo#980441 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=539
This commit is contained in:
parent
c7b51f773c
commit
09bdbb5659
23
apparmor-dont-scrub-environment-of-virtlogd-process.patch
Normal file
23
apparmor-dont-scrub-environment-of-virtlogd-process.patch
Normal file
@ -0,0 +1,23 @@
|
||||
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,
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 9 15:12:19 UTC 2016 - jfehlig@suse.com
|
||||
|
||||
- apparmor: Don't scrub environment of virtlogd process
|
||||
apparmor-dont-scrub-environment-of-virtlogd-process.patch
|
||||
boo#980441
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 6 14:59:59 UTC 2016 - jfehlig@suse.com
|
||||
|
||||
|
@ -260,6 +260,7 @@ Source99: baselibs.conf
|
||||
Source100: %{name}-rpmlintrc
|
||||
# Upstream patches
|
||||
# Patches pending upstream review
|
||||
Patch100: apparmor-dont-scrub-environment-of-virtlogd-process.patch
|
||||
# Need to go upstream
|
||||
Patch150: xen-pv-cdrom.patch
|
||||
Patch151: blockcopy-check-dst-identical-device.patch
|
||||
@ -707,6 +708,7 @@ libvirt plugin for NSS for translating domain names into IP addresses.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch100 -p1
|
||||
%patch150 -p1
|
||||
%patch151 -p1
|
||||
%patch152 -p1
|
||||
|
Loading…
Reference in New Issue
Block a user