Change in ovirt-engine[master]: packaging: Running systemctl reload after service update

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Jun 4 08:17:17 UTC 2013


Juan Hernandez has submitted this change and it was merged.

Change subject: packaging: Running systemctl reload after service update
......................................................................


packaging: Running systemctl reload after service update

In 3.2 installations we did not handle %postun section correctly.
It means that the systemd daemon is not reloaded when 3.2 package
is upgraded. This leads to an 'unstartable' ovirt-engine service
when we upgrade to 3.3. As such, during the upgrade to 3.3 we need to
reload the systemd daemon 'manually'.

This patch runs %systemd_postun macro in a %post section
of the spec file during an upgrade flow only.

As soon as we move to post-3.3 releases, this will no longer
be necessary.

Change-Id: If36d81fe89218fb3078b281263df5c89907d900f
Signed-off-by: Alex Lourie <alourie at redhat.com>
---
M ovirt-engine.spec.in
1 file changed, 12 insertions(+), 0 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: If36d81fe89218fb3078b281263df5c89907d900f
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alex Lourie <alourie at redhat.com>
Gerrit-Reviewer: Alex Lourie <alourie at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Moran Goldboim <mgoldboi at redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>



More information about the Engine-commits mailing list