[xen] fix permissions of /var/lib/xenstored, load xen-apci-processor module

myoung myoung at fedoraproject.org
Sat Mar 31 14:47:07 UTC 2012


commit 5487ebc045ad17ac57471110e987c4c9e42c16b5
Author: Michael Young <m.a.young at durham.ac.uk>
Date:   Sat Mar 31 15:43:36 2012 +0100

    fix permissions of /var/lib/xenstored, load xen-apci-processor module

 var-lib-xenstored.mount |    1 +
 xen.modules             |    2 +-
 xen.spec                |    6 +++++-
 3 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/var-lib-xenstored.mount b/var-lib-xenstored.mount
index 9f59ebe..49e0695 100644
--- a/var-lib-xenstored.mount
+++ b/var-lib-xenstored.mount
@@ -7,3 +7,4 @@ RefuseManualStop=true
 What=xenstore
 Where=/var/lib/xenstored
 Type=tmpfs
+Options=mode=755,context="system_u:object_r:xenstored_var_lib_t:s0"
diff --git a/xen.modules b/xen.modules
index cfbece9..1758380 100644
--- a/xen.modules
+++ b/xen.modules
@@ -5,6 +5,6 @@ test -f /proc/xen/capabilities			|| mount -t xenfs xen /proc/xen
 test -f /proc/xen/capabilities			|| exit 0
 grep -q "control_d" /proc/xen/capabilities	|| exit 0
 
-for module in xen-evtchn evtchn xen-gntdev gntdev xen-blkback xen-netback blkbk netbk blktap; do
+for module in xen-evtchn evtchn xen-gntdev gntdev xen-blkback xen-netback blkbk netbk blktap xen-acpi-processor; do
 	modprobe ${module} >/dev/null 2>&1
 done
diff --git a/xen.spec b/xen.spec
index dcc0d78..3baaf4a 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: 13%{?dist}
+Release: 14%{?dist}
 Group:   Development/Libraries
 License: GPLv2+ and LGPLv2+ and BSD
 URL:     http://xen.org/
@@ -697,6 +697,10 @@ rm -rf %{buildroot}
 %endif
 
 %changelog
+* Sat Mar 31 2012 Michael Young <m.a.young at durham.ac.uk> - 4.1.2-14
+- /var/lib/xenstored mount has wrong selinux permissions in latest Fedora
+- load xen-acpi-processor module (kernel 3.4 onwards) if present
+
 * Thu Mar 08 2012 Michael Young <m.a.young at durham.ac.uk> - 4.1.2-13
 - fix a packaging error
 


More information about the scm-commits mailing list