Change in vdsm[master]: configurator: move usermod to spec

dougsland at redhat.com dougsland at redhat.com
Tue Mar 25 16:28:53 UTC 2014


Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: configurator: move usermod to spec
......................................................................

configurator: move usermod to spec

vdsm-tool configure --force adds to /etc/group (qemu/kvm) sanlock
but doesn't persist the file in ovirt node distro which will
affect vdsm start on next reboot. This patch adds the usermod to
spec file.

Change-Id: I8a44a8a4d3301263beeb03e1d106c25ffe85263e
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M vdsm.spec.in
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/89/26089/1

diff --git a/vdsm.spec.in b/vdsm.spec.in
index 361a9c1..fc9110a 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -692,6 +692,7 @@
 /usr/sbin/usermod -a -G %{qemu_group},%{snlk_group} %{vdsm_user}
 
 %post
+%{_bindir}/vdsm-tool configure --module sanlock
 %{_bindir}/vdsm-tool sebool-config || :
 # set the vdsm "secret" password for libvirt
 %{_bindir}/vdsm-tool set-saslpasswd


-- 
To view, visit http://gerrit.ovirt.org/26089
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8a44a8a4d3301263beeb03e1d106c25ffe85263e
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>


More information about the vdsm-patches mailing list