Ritesh Raj Sarraf a écrit :
> Hello Aurel,
> 
> Can you have a look at 525053 ?
> 
> What you are proposing seems to be part of an older problem.
> 
> 

Indeed, the brokenness has been introduced by this patch, it looks like
the two proposed patches have been applied, and they conflict, hence the
problem I observed.

In that case the best is to revert the first proposed patch. It can be
done with the new patch I attached to this mail.



-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurel...@aurel32.net                 http://www.aurel32.net
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
@@ -42,22 +42,6 @@
 		ISCSI_TARGET_GROUP=1
 	fi
 
-	if [ ! -z "$ISCSI_USERNAME" ]; then
-		ISCSI_USERNAME="-u $ISCSI_USERNAME"
-	fi
-
-	if [ ! -z "$ISCSI_PASSWORD" ]; then
-		ISCSI_PASSWORD="-w $ISCSI_PASSWORD"
-	fi
-
-	if [ ! -z "$ISCSI_IN_USERNAME" ]; then
-		ISCSI_IN_USERNAME="-U $ISCSI_IN_USERNAME"
-	fi
-
-	if [ ! -z "$ISCSI_IN_PASSWORD" ]; then
-		ISCSI_IN_PASSWORD="-W $ISCSI_IN_PASSWORD"
-	fi
-
 	iscsistart -i $ISCSI_INITIATOR -t $ISCSI_TARGET_NAME	\
 		   -g $ISCSI_TARGET_GROUP -a $ISCSI_TARGET_IP	\
 		   -p $ISCSI_TARGET_PORT \

Reply via email to