Change in vdsm[master]: Creating /var/run/vdsm directory as part of rpm installation

ybronhei at redhat.com ybronhei at redhat.com
Wed May 29 16:54:21 UTC 2013


Yaniv Bronhaim has uploaded a new change for review.

Change subject: Creating /var/run/vdsm directory as part of rpm installation
......................................................................

Creating /var/run/vdsm directory as part of rpm installation

supervdsm service cannot start without the existence of this directory, it
creates its pid file and socket there.

Change-Id: If615e8c9f0a9031f8b18c768e63491f3e434c01f
Signed-off-by: Yaniv Bronhaim <ybronhei at redhat.com>
---
M vdsm.spec.in
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/70/15170/1

diff --git a/vdsm.spec.in b/vdsm.spec.in
index fc89e87..43e27e9 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -586,6 +586,7 @@
 /usr/sbin/usermod -a -G %{qemu_group},%{vdsm_group} %{snlk_user}
 
 %post
+/bin/mkdir -p %{_localstatedir}/run/%{vdsm_name}
 %{_bindir}/vdsm-tool sebool-config || :
 # set the vdsm "secret" password for libvirt
 %{_bindir}/vdsm-tool set-saslpasswd


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If615e8c9f0a9031f8b18c768e63491f3e434c01f
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <ybronhei at redhat.com>


More information about the vdsm-patches mailing list