forked from pool/openvswitch
Accepting request 441194 from home:markoschandras:network
- Do not restart the openvswitch service after a package update. Restarting the systemd service may break connectivity so let the user decide when it is the best time for such an action. OBS-URL: https://build.opensuse.org/request/show/441194 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=108
This commit is contained in:
parent
49720f8459
commit
961621fedc
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 21 11:53:00 UTC 2016 - mchandras@suse.de
|
||||
|
||||
- Do not restart the openvswitch service after a package update.
|
||||
Restarting the systemd service may break connectivity so let the
|
||||
user decide when it is the best time for such an action.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 3 10:48:32 UTC 2016 - mchandras@suse.de
|
||||
|
||||
|
@ -375,6 +375,14 @@ rm -rf %{buildroot}%{py_sitedir}
|
||||
%postun switch
|
||||
%service_del_postun ovsdb-server.service
|
||||
%service_del_postun ovs-vswitchd.service
|
||||
# Do not restart the openvswitch service on package updates.
|
||||
# Restarting the service may break the existing network state.
|
||||
# For example, openflow rules are not automatically re-installed
|
||||
# after an OvS update if no SDN controller is used. Moreover, restaring
|
||||
# the OvS can break remote administration during the update so let the
|
||||
# admin decide when it's the best time for an OvS restart.
|
||||
# 5771f476573445710834234a6a9f7bd999a027e7 ("fedora: do not restart the service on a pkg upgrade")
|
||||
export DISABLE_RESTART_ON_UPDATE=yes
|
||||
%service_del_postun openvswitch.service
|
||||
|
||||
%pre ovn
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 21 11:53:00 UTC 2016 - mchandras@suse.de
|
||||
|
||||
- Do not restart the openvswitch service after a package update.
|
||||
Restarting the systemd service may break connectivity so let the
|
||||
user decide when it is the best time for such an action.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 3 10:48:32 UTC 2016 - mchandras@suse.de
|
||||
|
||||
|
@ -373,6 +373,14 @@ rm -rf %{buildroot}%{py_sitedir}
|
||||
%postun switch
|
||||
%service_del_postun ovsdb-server.service
|
||||
%service_del_postun ovs-vswitchd.service
|
||||
# Do not restart the openvswitch service on package updates.
|
||||
# Restarting the service may break the existing network state.
|
||||
# For example, openflow rules are not automatically re-installed
|
||||
# after an OvS update if no SDN controller is used. Moreover, restaring
|
||||
# the OvS can break remote administration during the update so let the
|
||||
# admin decide when it's the best time for an OvS restart.
|
||||
# 5771f476573445710834234a6a9f7bd999a027e7 ("fedora: do not restart the service on a pkg upgrade")
|
||||
export DISABLE_RESTART_ON_UPDATE=yes
|
||||
%service_del_postun openvswitch.service
|
||||
|
||||
%pre ovn
|
||||
|
Loading…
Reference in New Issue
Block a user