debian: Remove --no-wait option from the ifupdown script.
authorGurucharan Shetty <gshetty@nicira.com>
Wed, 9 May 2012 16:55:53 +0000 (09:55 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Wed, 9 May 2012 17:08:51 +0000 (10:08 -0700)
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@nicira.com>
debian/ifupdown.sh

index ea36a0d..bd6aec8 100755 (executable)
@@ -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