[ovs-dev] [PATCH] debian: Re-add --timeout option for ifupdown script.

Gurucharan Shetty shettyg at nicira.com
Mon Mar 18 19:38:24 UTC 2013


Commit fba6bd1d3f(ovs-vsctl: Try connecting only once for active connections..)
removed the timeout option from ifupdown.sh. Removing the "--timeout=" option
can cause ifupdown script to hang if ovs-vswitchd is not running and ifupdown
script changes the OVSDB. So, re-add it.

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

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




More information about the dev mailing list