From 0d23e6a6c98ee5728b5795ae158d28c9e074d01e Mon Sep 17 00:00:00 2001 From: katzj Date: Fri, 21 Jul 2006 21:12:37 +0000 Subject: [PATCH] * Fri Jul 21 2006 Jeremy Katz - 6.1.1.645-1 - fix shutdown with root on iscsi --- iscsi-initiator-utils.spec | 5 ++++- iscsi.init | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/iscsi-initiator-utils.spec b/iscsi-initiator-utils.spec index b0808d2..2e98666 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.1.1.645 -Release: 0 +Release: 1 Source0: http://people.redhat.com/mchristi/iscsi/FC6/open-iscsi/rpm/open-iscsi-%{version}.tar.bz2 Source1: iscsi.init Patch0: open-iscsi-5.0.5.595-update-initscripts-and-docs.patch @@ -68,6 +68,9 @@ fi %{_mandir}/*/* %changelog +* Fri Jul 21 2006 Jeremy Katz - 6.1.1.645-1 +- fix shutdown with root on iscsi + * Thu Jul 13 2006 Mike Christie - 6.1.1.645 - update to upstream 1.1.645 - Note DB and interface changed so you must update kernel, tools and DB diff --git a/iscsi.init b/iscsi.init index ce9231e..bd78918 100755 --- a/iscsi.init +++ b/iscsi.init @@ -42,10 +42,10 @@ stop() { echo -n $"Stopping iSCSI initiator service: " sync - TARGETS=`iscsiadm -m session | grep "\[*\]" | sed 's@\[\(.*\)\] .*@\1@g'` - for rec in $TARGETS; do - iscsiadm -m node -r $rec -u - done +# TARGETS=`iscsiadm -m session | grep "\[*\]" | sed 's@\[\(.*\)\] .*@\1@g'` +# for rec in $TARGETS; do +# iscsiadm -m node -r $rec -u +# done killproc iscsid echo