* Fri Jul 21 2006 Jeremy Katz <katzj@redhat.com> - 6.1.1.645-1

- fix shutdown with root on iscsi
This commit is contained in:
katzj 2006-07-21 21:12:37 +00:00
parent 2e31f94eb5
commit 0d23e6a6c9
2 changed files with 8 additions and 5 deletions

View File

@ -1,7 +1,7 @@
Summary: iSCSI daemon and utility programs Summary: iSCSI daemon and utility programs
Name: iscsi-initiator-utils Name: iscsi-initiator-utils
Version: 6.1.1.645 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 Source0: http://people.redhat.com/mchristi/iscsi/FC6/open-iscsi/rpm/open-iscsi-%{version}.tar.bz2
Source1: iscsi.init Source1: iscsi.init
Patch0: open-iscsi-5.0.5.595-update-initscripts-and-docs.patch Patch0: open-iscsi-5.0.5.595-update-initscripts-and-docs.patch
@ -68,6 +68,9 @@ fi
%{_mandir}/*/* %{_mandir}/*/*
%changelog %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 * Thu Jul 13 2006 Mike Christie <mchristie@redhat.com> - 6.1.1.645
- update to upstream 1.1.645 - update to upstream 1.1.645
- Note DB and interface changed so you must update kernel, tools and DB - 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: " echo -n $"Stopping iSCSI initiator service: "
sync sync
TARGETS=`iscsiadm -m session | grep "\[*\]" | sed 's@\[\(.*\)\] .*@\1@g'` # TARGETS=`iscsiadm -m session | grep "\[*\]" | sed 's@\[\(.*\)\] .*@\1@g'`
for rec in $TARGETS; do # for rec in $TARGETS; do
iscsiadm -m node -r $rec -u # iscsiadm -m node -r $rec -u
done # done
killproc iscsid killproc iscsid
echo echo