[ovs-dev] [PATCH] debian: Remove --no-wait option from the ifupdown script.

Gurucharan Shetty gshetty at nicira.com
Wed May 9 17:23:29 UTC 2012


Using the --no-wait option in the ifupdown script creates a
race condition where-in the network devices may not yet be created
after ovs-vsctl returns successfully.

Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
---
 debian/ifupdown.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/debian/ifupdown.sh b/debian/ifupdown.sh
index ea36a0d..bd6aec8 100755
--- a/debian/ifupdown.sh
+++ b/debian/ifupdown.sh
@@ -22,7 +22,7 @@ if [ -z "${IF_OVS_TYPE}" ]; then
 fi
 
 ovs_vsctl() {
-    ovs-vsctl --no-wait --timeout=5 "$@"
+    ovs-vsctl --timeout=5 "$@"
 }
 
 if (ovs_vsctl --version) > /dev/null 2>&1; then :; else
-- 
1.7.2.5




More information about the dev mailing list