diff --git a/openvswitch-dpdk.changes b/openvswitch-dpdk.changes index 4611a16..dae9376 100644 --- a/openvswitch-dpdk.changes +++ b/openvswitch-dpdk.changes @@ -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 diff --git a/openvswitch-dpdk.spec b/openvswitch-dpdk.spec index de40c71..7936271 100644 --- a/openvswitch-dpdk.spec +++ b/openvswitch-dpdk.spec @@ -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 diff --git a/openvswitch.changes b/openvswitch.changes index 4611a16..dae9376 100644 --- a/openvswitch.changes +++ b/openvswitch.changes @@ -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 diff --git a/openvswitch.spec b/openvswitch.spec index 5b22018..89a1e27 100644 --- a/openvswitch.spec +++ b/openvswitch.spec @@ -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