Change in vdsm[master]: define qemu process user and group in configure.ac for Ubunt...
zhshzhou at linux.vnet.ibm.com
zhshzhou at linux.vnet.ibm.com
Mon Mar 11 08:09:01 UTC 2013
Zhou Zheng Sheng has uploaded a new change for review.
Change subject: define qemu process user and group in configure.ac for Ubuntu
......................................................................
define qemu process user and group in configure.ac for Ubuntu
Ubuntu qemu process started by libvirt is libvirt-qemu:kvm, and there
is no group named qemu, only group kvm. This patch sets the correct
value of the variable in configure.ac .
The patch is on going work of porting VDSM to Ubuntu
http://www.ovirt.org/VDSM_on_Ubuntu
Change-Id: I78392b4edcf243e8a2d65b8b18436141e3ed86ea
Signed-off-by: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
---
M configure.ac
1 file changed, 10 insertions(+), 2 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/15/12915/1
diff --git a/configure.ac b/configure.ac
index 434d209..9aeeb56 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,8 +59,16 @@
AC_SUBST([VDSMGROUP], [kvm])
AC_SUBST([METADATAUSER], [vdsm])
AC_SUBST([METADATAGROUP], [kvm])
-AC_SUBST([QEMUUSER], [qemu])
-AC_SUBST([QEMUGROUP], [qemu])
+if grep -i fedora /etc/*-release; then
+ AC_SUBST([QEMUUSER], [qemu])
+ AC_SUBST([QEMUGROUP], [qemu])
+elif grep -i ubuntu /etc/*-release; then
+ AC_SUBST([QEMUUSER], [libvirt-qemu])
+ AC_SUBST([QEMUGROUP], [kvm])
+else
+ AC_SUBST([QEMUUSER], [qemu])
+ AC_SUBST([QEMUGROUP], [qemu])
+fi
AC_SUBST([SNLKUSER], [sanlock])
AC_SUBST([SNLKGROUP], [sanlock])
--
To view, visit http://gerrit.ovirt.org/12915
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I78392b4edcf243e8a2d65b8b18436141e3ed86ea
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
More information about the vdsm-patches
mailing list