When checking if ovsdb-server is running, ensure that the binary we are going to run matches the one actually running with the the pid that was in our pidfile.
Signed-off-by: Terry Wilson <twil...@redhat.com> --- utilities/ovn-ctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/ovn-ctl b/utilities/ovn-ctl index 41fa89770..48ad42780 100755 --- a/utilities/ovn-ctl +++ b/utilities/ovn-ctl @@ -206,7 +206,7 @@ start_ovsdb__() { ovn_install_dir "$ovn_etcdir" # Check and eventually start ovsdb-server for DB - if pidfile_is_running $db_pid_file; then + if pidfile_is_running $db_pid_file `which ovsdb-server`; then return fi -- 2.34.3 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev