[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#887736: stretch-pu: package openvswitch/2.6.2~pre+git20161223-3



Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian.org@packages.debian.org
Usertags: pu

Dear release team,

I started maintaining OpenVSwitch long after the Stretch release, and
discovered #858418, which is very annoying for OpenVSwitch users.

tl;dr: #858418 prevent anyone that has a valid /etc/network/interfaces
with OpenVSwitch directive from having a working network at boot. The
init script uses a non-documented, not-to-be-used systemd internal,
which is miserably failing.

After a long discussion with the bug reporter (which can be read on the
BTS), I came to the conclusion that he's right, and that the most
reasonable and safe way to fix the current situation is to apply the
patch he suggested (and which resulting debdiff I attached to this bug).

The resulting sbuild binary package is available here:

http://sid.gplhost.com/stretch-proposed-updates/openvswitch/

Please allow me to upload it to Stretch. I'll try to come with a better
way to fix in Sid, probably importing the work from Ubuntu that they
did with an ifupdown hook.

Cheers,

Thomas Goirand (zigo)
diff -Nru openvswitch-2.6.2~pre+git20161223/debian/changelog openvswitch-2.6.2~pre+git20161223/debian/changelog
--- openvswitch-2.6.2~pre+git20161223/debian/changelog	2017-01-09 23:46:48.000000000 +0100
+++ openvswitch-2.6.2~pre+git20161223/debian/changelog	2018-01-19 13:46:44.000000000 +0100
@@ -1,3 +1,11 @@
+openvswitch (2.6.2~pre+git20161223-3+deb9u1) stretch; urgency=medium
+
+  * Added SYSTEMCTL_SKIP_REDIRECT=yes on top of existing
+    _SYSTEMCTL_SKIP_REDIRECT=yes in the openvswitch-switch init script
+   (Closes: #858418).
+
+ -- Thomas Goirand <zigo@debian.org>  Fri, 19 Jan 2018 13:46:44 +0100
+
 openvswitch (2.6.2~pre+git20161223-3) unstable; urgency=medium
 
   * Avoid installing ovs-vswitchd.conf.db.5 manpage into directory for
diff -Nru openvswitch-2.6.2~pre+git20161223/debian/openvswitch-switch.init openvswitch-2.6.2~pre+git20161223/debian/openvswitch-switch.init
--- openvswitch-2.6.2~pre+git20161223/debian/openvswitch-switch.init	2016-09-30 17:27:55.000000000 +0200
+++ openvswitch-2.6.2~pre+git20161223/debian/openvswitch-switch.init	2018-01-19 13:46:44.000000000 +0100
@@ -28,6 +28,7 @@
 (test -x /usr/sbin/ovs-vswitchd && test -x /usr/sbin/ovsdb-server) || exit 0
 
 _SYSTEMCTL_SKIP_REDIRECT=yes
+SYSTEMCTL_SKIP_REDIRECT=yes
 
 . /usr/share/openvswitch/scripts/ovs-lib
 test -e /etc/default/openvswitch-switch && . /etc/default/openvswitch-switch

Reply to: