[Bug 1791108] Re: open-iscsi uses domainsearch instead of search for /etc/resolv.conf

Victor Tapia victor.tapia at canonical.com
Thu Sep 6 14:16:37 UTC 2018


The affected versions are Xenial, Bionic and Cosmic. I'm attaching a
patch with what might be the fix

** Patch added: "domainsearch-to-search.patch"
   https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1791108/+attachment/5185658/+files/domainsearch-to-search.patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to open-iscsi in Ubuntu.
https://bugs.launchpad.net/bugs/1791108

Title:
  open-iscsi uses domainsearch instead of search for /etc/resolv.conf

Status in open-iscsi package in Ubuntu:
  New

Bug description:
  Having an interface file such as /run/net-eno2.conf with the following
  content:

  DEVICE='eno2'
  PROTO='dhcp'
  IPV4ADDR='10.10.10.10'
  IPV4BROADCAST='10.10.10.255'
  IPV4NETMASK='255.255.255.0'
  IPV4GATEWAY='10.10.10.1'
  IPV4DNS0='169.254.169.254'
  IPV4DNS1='0.0.0.0'
  HOSTNAME=''
  DNSDOMAIN='test.com'
  NISDOMAIN=''
  ROOTSERVER='169.254.169.254'
  ROOTPATH=''
  filename='/ipxe.efi'
  UPTIME='45'
  DHCPLEASETIME='86400'
  DOMAINSEARCH='test.com'

  net-interface-handler translates it to:

  nameserver 169.254.169.254
  domainsearch test.com

  instead of:

  nameserver 169.254.169.254
  search test.com

  The problem is that domainsearch is not a valid configuration option
  for /etc/resolv.conf and is ignored.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1791108/+subscriptions



More information about the foundations-bugs mailing list