Change in vdsm[ovirt-3.6]: Run %systemd_post on all effected unit files

ybronhei at redhat.com ybronhei at redhat.com
Fri Jan 22 15:26:21 UTC 2016


Hello Dan Kenigsberg,

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

    https://gerrit.ovirt.org/52632

to review the following change.

Change subject: Run %systemd_post on all effected unit files
......................................................................

Run %systemd_post on all effected unit files

To load vdsmd.preset file during installation we need to run
%systemd_post script for each effected service

Change-Id: I221bdd8f6410048b58f0be2232001cce84b93895
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1167322
Signed-off-by: Yaniv Bronhaim <ybronhei at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/52537
Continuous-Integration: Jenkins CI
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
---
M vdsm.spec.in
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/32/52632/1

diff --git a/vdsm.spec.in b/vdsm.spec.in
index d286edd..ce42076 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -754,6 +754,10 @@
 
 # The following triggers vdsmd.preset file and enables vdsm required services
 %systemd_post vdsmd.service
+%systemd_post supervdsmd.service
+%systemd_post vdsm-network.service
+%systemd_post mom-vdsm.service
+%systemd_post ksmtuned.service
 
 # VDSM installs unit files - daemon-reload will refresh systemd
 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
@@ -767,6 +771,7 @@
 %systemd_preun vdsm-network.service
 %systemd_preun supervdsmd.service
 %systemd_preun mom-vdsm.service
+%systemd_preun ksmtuned.service
 exit 0
 
 %postun


-- 
To view, visit https://gerrit.ovirt.org/52632
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I221bdd8f6410048b58f0be2232001cce84b93895
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.6
Gerrit-Owner: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>


More information about the vdsm-patches mailing list