diff -Nru openvswitch-2.5.2/debian/changelog openvswitch-2.5.2/debian/changelog --- openvswitch-2.5.2/debian/changelog 2017-08-24 18:15:38.000000000 +0000 +++ openvswitch-2.5.2/debian/changelog 2017-10-17 16:39:51.000000000 +0000 @@ -1,3 +1,11 @@ +openvswitch (2.5.2-0ubuntu0.16.04.3) xenial; urgency=medium + + [ Frode Nordahl ] + * d/openvswitch-switch.postinst: Do not modify pre-existing + /etc/default/openvswitch-switch (LP: #1723480) + + -- Frode Nordahl Tue, 17 Oct 2017 16:38:57 +0000 + openvswitch (2.5.2-0ubuntu0.16.04.2) xenial-security; urgency=medium * SECURITY UPDATE: DoS while parsing OFPT_QUEUE_GET_CONFIG_REPLY message diff -Nru openvswitch-2.5.2/debian/openvswitch-switch.postinst openvswitch-2.5.2/debian/openvswitch-switch.postinst --- openvswitch-2.5.2/debian/openvswitch-switch.postinst 2017-03-15 12:34:41.000000000 +0000 +++ openvswitch-2.5.2/debian/openvswitch-switch.postinst 2017-10-17 16:38:53.000000000 +0000 @@ -27,14 +27,6 @@ TEMPLATE=/usr/share/openvswitch/switch/default.template if ! test -e $DEFAULT; then cp $TEMPLATE $DEFAULT - else - for var in $(awk -F'[ :]' '/^# [_A-Z0-9]+:/{print $2}' $TEMPLATE) - do - if ! grep $var $DEFAULT >/dev/null 2>&1; then - echo >> $DEFAULT - sed -n "/$var:/,/$var=/p" $TEMPLATE >> $DEFAULT - fi - done fi # Ensure that /etc/openvswitch/conf.db links to /var/lib/openvswitch,