On 12/16/2017 09:41 PM, Michael Biebl wrote: > On Fri, 28 Jul 2017 18:51:18 +0200 John Keates <j...@keates.nl> wrote: >> Package: openvswitch-switch >> Version: 2.6.2~pre+git20161223-3 >> Severity: important >> >> Dear Maintainer, >> >> I setup openvswitch-switch with a small number of switches that have one >> physical interface each. Upon boot, they get configured extremely slow, >> taking over half an hour to get basic networking up. >> >> On IRC and the upstream repository, I found out that systemd now needs >> SYSTEMCTL_SKIP_REDIRECT=yes on newer systems, on top of the existing >> _SYSTEMCTL_SKIP_REDIRECT=yes. This is added in the upstream version, but not >> in the current versions in Stretch, Buster or Sid. > > SYSTEMCTL_SKIP_REDIRECT is an internal implementation detail of the > systemd lsb hook and should *never* be used in an init scripts directly. > > You should get to the bottom this and find out why the SysV init script > is slow to start up instead of applying workarounds/hacks. > > @Thomas: Please remove this hack from the init script
Hi Michael, I've taken the maintenance of OpenVSwitch only very recently, I was not the one that wrote this. What does SYSTEMCTL_SKIP_REDIRECT does? I will indeed remove it as I trust you, but I'd like to understand first. Also, I tried to add some systemd service files, taking them from Ubuntu, but quickly reverted, as it failed badly. Michael, could you help me to write something better? Here's the commit reverting the previous addition of Ubuntu's .service files: https://anonscm.debian.org/cgit/openstack/third-party/openvswitch.git/commit/?id=02178a600660694bd9886652642e23952b9f93ac Any comment here? Also, as for this specific bug, what do you suggest to do for the Stretch version, keeping in mind that the stable release team wont accept too much change? Thanks in advance if you can help, Cheers, Thomas Goirand (zigo)