From: Felix Fietkau Date: Tue, 20 Jul 2021 12:26:54 +0000 (+0200) Subject: openvswitch: close flock fd when starting openvswitch services X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=ec56b98a7ec031b6cc119202617ecbfe98c810aa;p=openwrt-packages.git openvswitch: close flock fd when starting openvswitch services Fixes deadlock with multiple init script calls Signed-off-by: Felix Fietkau --- diff --git a/net/openvswitch/files/openvswitch.init b/net/openvswitch/files/openvswitch.init index 0789021c3..23b75c38f 100755 --- a/net/openvswitch/files/openvswitch.init +++ b/net/openvswitch/files/openvswitch.init @@ -82,7 +82,7 @@ ovs_xx() { case "$cfgtype" in ovs) "$ovs_ctl" "$action" \ - --system-id=random + --system-id=random 1000>&- ;; ovn_*) "$ovn_ctl" "${action}_${cfgtype#ovn_}"