From ec56b98a7ec031b6cc119202617ecbfe98c810aa Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 20 Jul 2021 14:26:54 +0200 Subject: [PATCH] openvswitch: close flock fd when starting openvswitch services Fixes deadlock with multiple init script calls Signed-off-by: Felix Fietkau --- net/openvswitch/files/openvswitch.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_}"