[Pkg-iscsi-maintainers] Bug#804591: open-iscsi: iscsi_auto flag should use iscsistart --fwparam_network in addition to -b

Scott Moser smoser at ubuntu.com
Mon Nov 9 19:39:56 UTC 2015


Package: open-iscsi
Version: 2.0.873-3ubuntu13
Severity: normal

Dear Maintainer,

It seems that 'iscsi_auto' should invoke 'iscsistart --fwparam_network' in
addition to -b.
The --fwparam_network will set up networking that was declared in iBFT.

There is some overlap here with the 'ip=' kernel command line parameter,
and it is possible that the two could conflict.  For example, if the
kernel command line had 
   ip=192.168.1.2::192.168.1.1:255.255.255.0:myhostname:eth0

And iBFT was configured such that
   $ cat /sys/firmware/ibft/ethernet0/ip-addr
   192.168.1.3
   $ cat /sys/firmware/ibft/ethernet0/gateway
   192.168.1.1
   $ cat /sys/firmware/ibft/ethernet0/subnet-mask
   255.255.255.0

If we were to invoke 'iscsistart --fwparam_network' after having done
configure_networking, then the iscsi parameters would be in affect.
Its may be arguable that this is simply misconfiguration of the ip=
parameter.

Also of note, /run/net-<device>.conf will not be written if iscsistart
configures the networking as opposed to 'ipconfig' doing it.


-- System Information:
Debian Release: jessie/sid
  APT prefers wily-updates
  APT policy: (500, 'wily-updates'), (500, 'wily-security'), (500, 'wily')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-16-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages open-iscsi depends on:
ii  libc6  2.21-0ubuntu4
ii  udev   225-1ubuntu9

open-iscsi recommends no packages.

open-iscsi suggests no packages.

-- no debconf information



More information about the Pkg-iscsi-maintainers mailing list