Dan Kenigsberg has submitted this change and it was merged.
Change subject: spec: fix that vdsmd.service is not enabled after installation
......................................................................
spec: fix that vdsmd.service is not enabled after installation
For fedora18+, we use the helper macro to replace the manual systemd
scriptlets. But for post installation, %systemd_post is expanded as
below:
/usr/bin/systemctl preset vdsmd.service >/dev/null 2>&1 || :
So vdsm service will be disabled after installation because the default
systemd preset setting disable all services which are not explictly
enabled in the configuration files.
We can ship a preset configuration file to enable vdsmd service, but
reverting to manual systemd scriptlets is simpler and doesn't lose any
benefit.
Change-Id: I4ba726296d510c1281bc9425e9f420b911ec45f7
Signed-off-by: Mark Wu <wudxw(a)linux.vnet.ibm.com>
Reviewed-on:
http://gerrit.ovirt.org/16754
Reviewed-by: Antoni Segura Puimedon <asegurap(a)redhat.com>
Reviewed-by: Dan Kenigsberg <danken(a)redhat.com>
---
M vdsm.spec.in
1 file changed, 0 insertions(+), 6 deletions(-)
Approvals:
Antoni Segura Puimedon: Looks good to me, but someone else must approve
Mark Wu: Verified
Dan Kenigsberg: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/16754
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4ba726296d510c1281bc9425e9f420b911ec45f7
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Mark Wu <wudxw(a)linux.vnet.ibm.com>
Gerrit-Reviewer: Antoni Segura Puimedon <asegurap(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsland(a)redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce(a)redhat.com>
Gerrit-Reviewer: Mark Wu <wudxw(a)linux.vnet.ibm.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei(a)redhat.com>
Gerrit-Reviewer: Zhou Zheng Sheng <zhshzhou(a)linux.vnet.ibm.com>
Gerrit-Reviewer: oVirt Jenkins CI Server