[ovs-git] Open vSwitch: initscript: pass complete path to pidfile to status command (xs5.7)

dev at openvswitch.org dev at openvswitch.org
Thu Dec 17 17:56:27 UTC 2009

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, xs5.7 has been updated
       via  d1c8c9e433d18bf3446701e07557087f9078d840 (commit)
      from  dac3c52f893f7df16f935ef4875c5467abd4ea23 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d1c8c9e433d18bf3446701e07557087f9078d840
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d1c8c9e433d18bf3446701e07557087f9078d840
Author: Ian Campbell <ian.campbell at citrix.com>
initscript: pass complete path to pidfile to status command
Older versions of RHEL/CentOS used pifof in preference to the pidfile
and hence we got away with passing just the basename instead of
including the full path. Using pidof first doesn't make much sense and
this was fixed in RHEL 5 update 4 (see https://bugzilla.redhat.com/show_bug.cgi?id=440658)

This means that on RHEL 5.4 "service vswitch status" always returned
"ovs-vswitchd is stopped" even if it was running. Fix this issue by
passing in the correct pidfile name.

Signed-off-by: Ian Campbell <ian.campbell at citrix.com>


Summary of changes:
 xenserver/etc_init.d_vswitch |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Open vSwitch

More information about the git mailing list