[PKG-Openstack-devel] Bug#870001: Bug#870001: openvswitch-switch: switch takes a very long time to start or fails without upstream's SYSTEMCTL_SKIP_REDIRECT=yes

Thomas Goirand zigo at debian.org
Mon Dec 18 16:11:42 UTC 2017


On 12/18/2017 12:41 AM, Michael Biebl wrote:
> Am 17.12.2017 um 23:37 schrieb Thomas Goirand:
> 
>> 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.
> 
> It's not really important what it does. The important thing is that it's
> an internal implementation detail of the systemd lsb hook
> /lib/lsb/init-functions.d/40-systemd which governs the redirection of
> services and not a public API.
> If you fiddle with that, /etc/init.d/foo start|stop|restart will no
> longer be properly redirected to systemctl and the service is no longer
> under systemd supervision.
> 
>> 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?
> 
> If you have more specific questions, I might be able to help.
> 
> 

Well, I guess the main question is, why do we have the problem as
described in #880498 if I add the .service files.

Another question would be: do think doing 2 .service files like in
Ubuntu a good idea? Wouldn't it be more simple to do one?

Last one: what's the directive I should use to start OVS at the good
moment in the boot process?

Cheers,

Thomas Goirand (zigo)



More information about the Openstack-devel mailing list