[xen] adjust xend.service systemd file to avoid selinux problems

myoung myoung at fedoraproject.org
Sat Jun 9 12:02:28 UTC 2012


commit 2ef8710ba262d89cb49a8bc36c3fe8ecaa86a5ee
Author: Michael Young <m.a.young at durham.ac.uk>
Date:   Sat Jun 9 13:01:35 2012 +0100

    adjust xend.service systemd file to avoid selinux problems

 xen.spec     |    7 +++++--
 xend.service |    1 +
 2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/xen.spec b/xen.spec
index 92c2698..b642825 100644
--- a/xen.spec
+++ b/xen.spec
@@ -20,7 +20,7 @@
 Summary: Xen is a virtual machine monitor
 Name:    xen
 Version: 4.1.2
-Release: 18%{?dist}
+Release: 19%{?dist}
 Group:   Development/Libraries
 License: GPLv2+ and LGPLv2+ and BSD
 URL:     http://xen.org/
@@ -707,8 +707,11 @@ rm -rf %{buildroot}
 %endif
 
 %changelog
+* Sat Jun 09 2012 Michael Young <m.a.young at durham.ac.uk> - 4.1.2-19
+- adjust xend.service systemd file to avoid selinux problems
+
 * Fri Jun 08 2012 Michael Young <m.a.young at durham.ac.uk> - 4.1.2-18
-- Enable xenconsoled by default under systemd
+- Enable xenconsoled by default under systemd (#829732)
 
 * Thu May 17 2012 Michael Young <m.a.young at durham.ac.uk> - 4.1.2-16 4.1.2-17
 - make pygrub cope better with big files from guest (#818412 CVE-2012-2625)
diff --git a/xend.service b/xend.service
index b6b462d..e74be2a 100644
--- a/xend.service
+++ b/xend.service
@@ -7,6 +7,7 @@ Before=libvirtd.service libvirt-guests.service
 [Service]
 Type=forking
 PIDFile=/var/run/xend.pid
+Environment=HOME=/root
 ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities
 ExecStart=/usr/sbin/xend
 


More information about the scm-commits mailing list