From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10680 invoked by alias); 31 Mar 2009 06:46:59 -0000 Received: (qmail 10674 invoked by alias); 31 Mar 2009 06:46:58 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bastion.fedora.phx.redhat.com Subject: cluster: STABLE3 - cman init: drop unrequired check for virsh To: cluster-cvs-relay@redhat.com X-Project: Cluster Project X-Git-Module: cluster.git X-Git-Refname: refs/heads/STABLE3 X-Git-Reftype: branch X-Git-Oldrev: 3ad8c3945b9a4508992efd6a5ad9be1820b84e7b X-Git-Newrev: c9f692f5fb5116bdb5723c2959e31dd61de8a2bf From: "Fabio M. Di Nitto" Message-Id: <20090331064548.CC383120306@lists.fedorahosted.org> Date: Tue, 31 Mar 2009 06:46:00 -0000 X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2009-q1/txt/msg00980.txt.bz2 Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=c9f692f5fb5116bdb5723c2959e31dd61de8a2bf Commit: c9f692f5fb5116bdb5723c2959e31dd61de8a2bf Parent: 3ad8c3945b9a4508992efd6a5ad9be1820b84e7b Author: Fabio M. Di Nitto AuthorDate: Tue Mar 31 08:45:02 2009 +0200 Committer: Fabio M. Di Nitto CommitterDate: Tue Mar 31 08:45:02 2009 +0200 cman init: drop unrequired check for virsh fence_xvmd links with libvirt. There is no point to check for a binary that's never used. Signed-off-by: Fabio M. Di Nitto --- cman/init.d/cman.in | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/cman/init.d/cman.in b/cman/init.d/cman.in index 0540f85..e26627d 100644 --- a/cman/init.d/cman.in +++ b/cman/init.d/cman.in @@ -341,8 +341,6 @@ fence_xvmd_enabled() { fence_join_enabled || return 1 - type virsh > /dev/null 2>&1 || return 1 - # # Check for presence of /cluster/fence_xvmd in cluster.conf # (If -X is specified, it doesn't matter if it's in cluster.conf;