Bug 223051

Summary: targets are not logged into automatically like in RHEL4
Product: Red Hat Enterprise Linux 5 Reporter: Mike Christie <mchristi>
Component: iscsi-initiator-utilsAssignee: Mike Christie <mchristi>
Status: CLOSED CURRENTRELEASE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: coughlan, dshaks, mchristi
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RC Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-08 02:17:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mike Christie 2007-01-17 18:18:56 UTC
Description of problem:

In RHEL4, when the system booted up iscsi targets were logged into
automatically. The docs state that to do this behavior again I should set
node.startup, but the /etc/init.d/iscsi script checks node.conn[0].startup.

Could the docs or iscsi script be updated. This is a regression from RHEL4 where
it just started automatically and is a bug in the docs or script.

Comment 2 RHEL Program Management 2007-01-17 18:41:17 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 Mike Christie 2007-01-17 18:50:21 UTC
Oh yeah, here is the fix

RCS file: /cvs/dist/rpms/iscsi-initiator-utils/RHEL-5/iscsi.init,v
retrieving revision 1.7
diff -r1.7 iscsi.init
42c42
<               STARTUP=`iscsiadm -m node -T $target -p $port | grep
"node.conn\[0\].startup" | cut -d' ' -f3`
---
>               STARTUP=`iscsiadm -m node -T $target -p $port | grep
"node.startup" | cut -d' ' -f3`

This now matches the README.

Comment 4 Jay Turner 2007-01-17 19:49:42 UTC
Yeah, this should go back into the mix for RHEL5.

Comment 7 Mike Christie 2007-01-17 22:41:43 UTC
This is in iscsi-initiator-utils-6.2.0.742-0.4.el5.

Comment 8 RHEL Program Management 2007-02-08 02:17:38 UTC
A package has been built which should help the problem described in 
this bug report. This report is therefore being closed with a resolution 
of CURRENTRELEASE. You may reopen this bug report if the solution does 
not work for you.