Package: open-iscsi Version: 2.0.872-2 Severity: normal Tags: upstream patch
Dear Maintainer, There is a problem with the initramfs script. I want to use the ibft to look the target ip/name and that don't work. I noticed that the module isn't load in the initramfs. I remake the initramfs with the module (and his loading in the iscsi script) and this works now. In the script there is also a small problem, there is two times the manual config script (one in the else block of the AUTO/MANUAL section and other after, always executed). I check and i think that the bug is still in the sid package too. Can you verify and integrate my patch ? Thanks. Best regards. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing'), (1, 'oneiric') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages open-iscsi depends on: ii libc6 2.13-32 ii udev 175-3.1 open-iscsi recommends no packages. open-iscsi suggests no packages.
diff -crB open-iscsi-2.0.872/debian/extra/initramfs.hook open-iscsi-2.0.872-mod/debian/extra/initramfs.hook *** open-iscsi-2.0.872/debian/extra/initramfs.hook 2012-05-08 17:52:06.493705662 +0200 --- open-iscsi-2.0.872-mod/debian/extra/initramfs.hook 2012-05-08 17:53:42.485704990 +0200 *************** *** 26,31 **** cp /etc/iscsi/initiatorname.iscsi $DESTDIR/etc cp /etc/iscsi/iscsi.initramfs $DESTDIR/etc ! for x in crc32c libcrc32c iscsi_tcp libiscsi scsi_transport_iscsi; do manual_add_modules ${x} done --- 26,31 ---- cp /etc/iscsi/initiatorname.iscsi $DESTDIR/etc cp /etc/iscsi/iscsi.initramfs $DESTDIR/etc ! for x in crc32c libcrc32c iscsi_tcp libiscsi scsi_transport_iscsi iscsi_ibft; do manual_add_modules ${x} done diff -crB open-iscsi-2.0.872/debian/extra/initramfs.local-top open-iscsi-2.0.872-mod/debian/extra/initramfs.local-top *** open-iscsi-2.0.872/debian/extra/initramfs.local-top 2012-05-08 17:52:06.489706341 +0200 --- open-iscsi-2.0.872-mod/debian/extra/initramfs.local-top 2012-05-08 17:56:48.989722727 +0200 *************** *** 27,32 **** --- 27,33 ---- configure_networking modprobe iscsi_tcp + modprobe iscsi_ibft modprobe crc32c if [ -z $ISCSI_AUTO ]; then *************** *** 53,76 **** else iscsistart -b fi - - if [ -z $ISCSI_TARGET_PORT ]; then - ISCSI_TARGET_PORT=3260 - fi - - if [ -z $ISCSI_TARGET_GROUP ]; then - ISCSI_TARGET_GROUP=1 - fi - - for i in $ISCSI_TARGET_IP; do - iscsistart -i $ISCSI_INITIATOR -t $ISCSI_TARGET_NAME \ - -g $ISCSI_TARGET_GROUP -a $i \ - -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"} - done } parse_iscsi_ops () --- 54,59 ----