[NEW PATCH] [WIP] Update the rpm pre scriptlet (via gerrit-bot)

Federico Simoncelli fsimonce at redhat.com
Thu Sep 8 15:21:56 UTC 2011


New patch submitted by Federico Simoncelli (fsimonce at redhat.com)

You can review this change at: http://gerrit.usersys.redhat.com/911

commit 40ebbd13bd971de780980b6bf7fbce59b2fb4cd8
Author: Federico Simoncelli <fsimonce at redhat.com>
Date:   Wed Sep 7 12:12:57 2011 +0000

    [WIP] Update the rpm pre scriptlet
    
    Change-Id: I8effe06b95b008eafff63a75a16f0518788bd9af

diff --git a/vdsm.spec.in b/vdsm.spec.in
index f1a3473..0bf91ac 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -63,7 +63,8 @@ make check
 %{__rm} -rf %{buildroot}
 
 %pre
-getent passwd vdsm > /dev/null || /usr/sbin/useradd -u 36 -g kvm -o -r vdsm -c "RHEV node manager" -d / -s /sbin/nologin
+/usr/sbin/useradd -r -u 36 -g kvm -d /var/lib/vdsm \
+                  -s /sbin/nologin -c "Node Virtualization Manager" vdsm
 /usr/sbin/usermod -a -G qemu vdsm
 
 %post




More information about the vdsm-patches mailing list