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 ea36a0dca8fbfa0a8fd8512ca34188ba6b45cb84..bd6aec846fd953caf85202faf1566aeedc859adb 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