From 9f4cdffb3d90a60064c4296cf59d5e91fc9542cb Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Wed, 27 Sep 2006 17:31:58 +0000 Subject: [PATCH] - Add fix for initscript with pid file moved --- iscsi-initiator-utils.spec | 7 +++++-- iscsi.init | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/iscsi-initiator-utils.spec b/iscsi-initiator-utils.spec index 006e9c6..d18741c 100644 --- a/iscsi-initiator-utils.spec +++ b/iscsi-initiator-utils.spec @@ -1,7 +1,7 @@ Summary: iSCSI daemon and utility programs Name: iscsi-initiator-utils Version: 6.2.0.695 -Release: 0.2 +Release: 0.3 Source0: http://people.redhat.com/mchristi/iscsi/FC6/open-iscsi/rpm/open-iscsi-6.2.0.695.tar.bz2 Source1: iscsi.init Patch0: open-iscsi-5.0.5.595-update-initscripts-and-docs.patch @@ -71,7 +71,10 @@ fi %{_mandir}/*/* %changelog -*Tue Sep 26 2006 Mike Christie - 6.2.0.695-0.2 +* Wed Sep 27 2006 Jeremy Katz - 6.2.0.695-0.3 +- Add fix for initscript with pid file moved + +* Tue Sep 26 2006 Mike Christie - 6.2.0.695-0.2 - BZ 208050 - change default initiator name to reflect redhat - Move pid from /etc/iscsi to /var/run/iscsid.pid diff --git a/iscsi.init b/iscsi.init index b244083..64feae3 100755 --- a/iscsi.init +++ b/iscsi.init @@ -18,7 +18,7 @@ start() { echo -n $"Starting iSCSI initiator service: " modprobe -q iscsi_tcp - daemon --pidfile=/etc/iscsi/iscsid.pid iscsid + daemon iscsid RETVAL=$? echo [ $RETVAL -eq 0 ] || return