Change in vdsm[ovirt-3.4]: configurator: move usermod to spec

dougsland at redhat.com dougsland at redhat.com
Tue Mar 25 19:15:04 UTC 2014


Hello Dan Kenigsberg,

I'd like you to do a code review.  Please visit

    http://gerrit.ovirt.org/26094

to review the following change.

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>
Reviewed-on: http://gerrit.ovirt.org/26089
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
---
M vdsm.spec.in
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/94/26094/1

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


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8a44a8a4d3301263beeb03e1d106c25ffe85263e
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.4
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>


More information about the vdsm-patches mailing list