[ovs-discuss] Debian init script

Gurucharan Shetty shettyg at nicira.com
Wed Jul 16 21:19:54 UTC 2014


FYI
I committed a patch (to OVS master) which takes a middle ground with
an onus on the admin of the system to make the right call. I updated
the documentation to give some perspective.

Change can be seen here:
https://github.com/openvswitch/ovs/commit/9a8b5cc1a3d941c0e33f3f5b5ac260a35a8130af

On Wed, Jul 9, 2014 at 12:01 PM, Pavel V. Kaygorodov <pasha at inasan.ru> wrote:
>
>>>>> I think, this tricks with "pre-up /etc/init.d/openvswitch-switch start" and "auto" order must be documented.
>>>> Did you read my first email and try removing things from auto?
>>>
>>> I have checked this, but there are potential problem exist: if I remove ovs-controlled interfaces from auto, they will be configured only after openvswitch-switch start
>> I think, that is how it should work. OVS interfaces can only do anything meaningful after openvswitch-switch start.
>>> and some daemons (which starts before openvswitch-switch, i.e. almost all daemons on my machine) will see no interfaces and IP addresses and may fail to start.
>>
>> One option is to make your other scripts depend on openvswitch-switch
>>
>> Your solution should be okay too as long as /usr is not mounted through NFS. It is a known shortcoming because of a circular dependency.
>
>
> Putting openvswitch on NFS-mounted filesystem -- very strange idea :)
> By the way, NFS daemons on my machine starts before ovs, I can change daemon dependency editing init-scripts, but after next upgrade init-scripts can be updated and I will get unreachable from network machine.
>
> Pavel.
>



More information about the discuss mailing list