]> git.proxmox.com Git - mirror_ovs.git/commit
fedora: Handle upgrades from rhel package.
authorGurucharan Shetty <guru@ovn.org>
Fri, 3 May 2019 06:50:12 +0000 (23:50 -0700)
committerGurucharan Shetty <guru@ovn.org>
Tue, 14 May 2019 08:03:35 +0000 (01:03 -0700)
commitdab29add2db5f8f43ffe0dc17a4bb8f91b9a0ae3
tree6b6035d966b136500068772dcaa65136dd125544
parentdcd0f1e8779c6623188f1a36753242e27db06cbb
fedora: Handle upgrades from rhel package.

Currently we have rhel/openvswitch.spec.in that provides
sysv scripts. The fedora package provides systemd scripts.
If one upgrades openvswitch package from sysv to systemd,
you will end up in a situation where old OVS daemons are
running, but systemd does not know about it.  One "restart"
is needed for systemd to see the old daemons. Another "restart"
or "force-reload-kmod" is needed to actually use the new
daemons.

This commit, just takes care of the first restart. The "real"
restart/force-reload-kmod will still have to be done outside
the package installation.

Signed-off-by: Gurucharan Shetty <guru@ovn.org>
Acked-by: Ansis Atteka <aatteka@ovn.org>
rhel/openvswitch-fedora.spec.in