- fix shutdown with root on iscsi

This commit is contained in:
Jeremy Katz 2006-07-21 21:12:37 +00:00
parent b3f7fe0492
commit cc7fbba22b
2 changed files with 8 additions and 5 deletions

View File

@ -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 <katzj@redhat.com> - 6.1.1.645-1
- fix shutdown with root on iscsi
* Thu Jul 13 2006 Mike Christie <mchristie@redhat.com> - 6.1.1.645
- update to upstream 1.1.645
- Note DB and interface changed so you must update kernel, tools and DB

View File

@ -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