commit fd211a2e9bcce6e439fb717dfa467278527b539c Author: Lon Hohberger <lhh@redhat.com> Date: Mon Sep 28 16:26:09 2009 -0400 cman: Check for 'virsh' instead of 'xm' Resolves: bz516111 Signed-off-by: Lon Hohberger <lhh@redhat.com> diff --git a/cman/init.d/cman b/cman/init.d/cman index b900f13..f717e8b 100755 --- a/cman/init.d/cman +++ b/cman/init.d/cman @@ -244,10 +244,11 @@ fence_xvmd_enabled() fi # - # Check for the 'xm' binary. If it's not here, we are not - # running on a machine capable of running xvmd. + # Check for the 'virsh' binary. If it's not here, we are not + # running on a machine capable of running xvmd, as fence_xvmd + # requires libvirt (which provides the virsh command) # - which xm &> /dev/null || return 1 + which virsh &> /dev/null || return 1 # # Check for presence of /cluster/fence_xvmd in cluster.conf