[Pkg-iscsi-maintainers] Bug#850060: 2.0.874-2~exp1 issues

Andrew Patterson andrew.patterson at hpe.com
Wed Jan 4 22:30:19 UTC 2017


I have been testing 2.0.874-2~exp1 and found the following issues:

1. In debian/extra/initramfs.local-top and
debian/extra/initramfs.local-bottom /sbin/iscsuio creates a pid file
in /run/iscsiuio.pid. You cannot override it on the command-line. The
--pidfile option for start-stop-daemon should point to this location
instead of /run/initramfs/iscsiuio.pid.

2. The /sbin/iscsiuio deamon is trying to create a logfile in
/var/log/iscsiuio.log. The /var/log directory does not exist in the
initramfs. I do not know if this is causing a problem (perhaps related
to #1).

3. The iscsiuio daemon is dieing before or during iscsistart -b. I am
investigating why. It works fine when run after boot.

4. The commit 02c3051 "Don't ignore offloading NICs in iscsistart"
will cause the interface to be configured in both iscsistart -N and in
iscsistart -b for cards with iscsi hardware offload. I suspect we
instead need a flag in iscsistart to bring up the NIC in iscsistart
regardless if the NIC uses an offloadable driver. The local-top script
can use this flag if /sbin/iscsiuio is not present, e.g.,

ISCSISTART_FLAGS=""
if [ ! -x /sbin/iscsiuio ] ; then
   ISCSISTART_FLAGS="-S"
fi
.
.
.
                modprobe iscsi_ibft
                iscsistart -N $ISCSISTART_FLAGS

The iscsistart code would have to be modified to add support for this
flag. Alternatively, iscsistart could check for the presence of
/sbin/iscsiuio and "do the right thing".

-- 
Andrew Patterson
Hewlett-Packard Enterprise



More information about the Pkg-iscsi-maintainers mailing list