From cc04df682a343c6627c250cffc0f4d60383a7baa Mon Sep 17 00:00:00 2001
From: Marek 'marx' Grac <mgrac@redhat.com>
Date: Thu, 23 Jan 2014 17:32:25 +0100
Subject: [PATCH 3/3] fence_scsi: Change path to corosync from /sbin to
/usr/sbin
/sbin is just a symlink to /usr/bin - so it does not impact functionality
---
fence/agents/scsi/fence_scsi.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fence/agents/scsi/fence_scsi.pl b/fence/agents/scsi/fence_scsi.pl
index 3ad0f09..6808ff5 100644
--- a/fence/agents/scsi/fence_scsi.pl
+++ b/fence/agents/scsi/fence_scsi.pl
@@ -429,7 +429,7 @@ sub get_node_id ($)
my $self = (caller(0))[3];
my $node = $_[0];
- my $cmd = "/sbin/corosync-cmapctl nodelist.";
+ my $cmd = "/usr/sbin/corosync-cmapctl nodelist.";
my @out = qx { $cmd 2> /dev/null };
my $err = ($?>>8);
@@ -454,7 +454,7 @@ sub get_cluster_id ()
my $self = (caller(0))[3];
my $cluster_id;
- my $cmd = "/sbin/corosync-cmapctl totem.cluster_name";
+ my $cmd = "/usr/sbin/corosync-cmapctl totem.cluster_name";
my $out = qx { $cmd 2> /dev/null };
my $err = ($?>>8);
--
1.7.7.6