Can this patch be considered? We keep hitting it in our data center where a number of fresh installed EL7 hosts fail to boot up due to default selinux permissions, but ovs should not prevent the system to bootup to multiuser..
On Thu, 11 Jun 2015, Sabyasachi Sengupta wrote:
Abort openvswitch startup script if ovsdb startup fails for some reason. This helps in getting the system startup to NOT hang indefinitely, as was seen in a recent report when ovsdb failed with "I/O error: /etc/openvswitch/conf.db: failed to lock lockfile (Resource temporarily unavailable)" and system remained in hung state forever, unless manually rebooted from console. Signed-off-by: Sabyasachi Sengupta <sabyasachi.sengu...@alcatel-lucent.com> --- diff --git a/utilities/ovs-ctl.in b/utilities/ovs-ctl.in index 97716e9..449e715 100755 --- a/utilities/ovs-ctl.in +++ b/utilities/ovs-ctl.in @@ -718,6 +718,9 @@ done case $command in start) start_ovsdb + if [ $? -ne 0 ]; then + exit 1 + fi start_forwarding add_managers ;; ---
_______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev