#915669 open-iscsi: system with iSCSI DHCP iBFT does not contain DNS search domain at runtime

Package:
open-iscsi
Source:
open-iscsi
Description:
iSCSI initiator tools
Submitter:
Dan Streetman
Date:
2018-12-05 20:48:04 UTC
Severity:
normal
#915669#5
Date:
2018-12-05 20:45:50 UTC
From:
To:
Dear Maintainer,

iBFT has no mechanism to provide the DNS search domain, so when open-iscsi creates
a /run/net-$DEVICE.conf file (which will never contain any value for DOMAINSEARCH)
it prevents ipconfig from running, and creating its own .conf file which *does*
contain a DNS search domain (if the dhcp server provides one).  At runtime, if
no dhcp client is specified to run for the interface (it does not need to, since
open-iscsi configured the networking from the initramfs), then /etc/resolv.conf
will have no DNS search domain.

In Ubuntu, the attached patch was applied to achieve the following:

  [Scott Moser]
  * debian/extra/initramfs.local-top: handle iSCSI iBFT DHCP to correctly
    run ipconfig to gather all DHCP config info, including DNS search
    domain, which iBFT can't provide.  (LP: #1806777)


Thanks for considering the patch.