Hello Aurel, Can you have a look at 525053 ?
What you are proposing seems to be part of an older problem. Regards, Rietsh On Wednesday 07 Apr 2010 13:24:11 Aurelien Jarno wrote: > The initramfs script is not able to login to the target when a > login/password is used. This is due to a bug in the script, the -u > or -w parameters are passed twice to iscsistart. When iscsistart is > called, ISCSI_USERNAME and ISCSI_PASSWORD already contain -u or -w. > > The patch below fixes the problem. > > diff -u open-iscsi-2.0.871.3/debian/extra/initramfs.local-top > open-iscsi-2.0.871.3/debian/extra/initramfs.local-top --- > open-iscsi-2.0.871.3/debian/extra/initramfs.local-top > +++ open-iscsi-2.0.871.3/debian/extra/initramfs.local-top > @@ -61,10 +61,8 @@ > iscsistart -i $ISCSI_INITIATOR -t $ISCSI_TARGET_NAME \ > -g $ISCSI_TARGET_GROUP -a $ISCSI_TARGET_IP \ > -p $ISCSI_TARGET_PORT \ > - ${ISCSI_USERNAME:+-u "$ISCSI_USERNAME"} \ > - ${ISCSI_PASSWORD:+-w "$ISCSI_PASSWORD"} \ > - ${ISCSI_IN_USERNAME:+-U "$ISCSI_IN_USERNAME"}\ > - ${ISCSI_IN_PASSWORD:+-W "$ISCSI_IN_PASSWORD"} > + ${ISCSI_USERNAME} ${ISCSI_PASSWORD} \ > + ${ISCSI_IN_USERNAME} ${ISCSI_IN_PASSWORD} > } > > parse_iscsi_ops () -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mother of invention."
signature.asc
Description: This is a digitally signed message part.