[Bug 1658750] Re: fails to add search directive to resolv.conf

Nish Aravamudan nish.aravamudan at canonical.com
Wed Mar 29 17:02:23 UTC 2017


This would appear to be an issue in d/net-interface-handler, which
currently ignores the DNSDOMAIN value.

There is no documentation in this file indicating what variables are
expected or used...

But it seems most reasonable for DNSDOMAIN to translate to domain and
DOMAINSEARCH to search, semantically?

** Changed in: open-iscsi (Ubuntu)
       Status: New => Triaged

-- 
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/1658750

Title:
  fails to add search directive to resolv.conf

Status in open-iscsi package in Ubuntu:
  Triaged

Bug description:
  When open-iscsi creates /etc/resolv.conf, it fails to add the domain
  name to resolv.conf:

  See also http://askubuntu.com/questions/873701/maas-node-unable-to-
  resolve-its-own-hostname/874005

  ubuntu at resolve:~$ cat /run/net-ens3.conf 
  DEVICE='ens3'
  PROTO='dhcp'
  IPV4ADDR='172.18.145.5'
  IPV4BROADCAST='172.18.147.255'
  IPV4NETMASK='255.255.252.0'
  IPV4GATEWAY='172.18.144.1'
  IPV4DNS0='192.168.133.18'
  IPV4DNS1='0.0.0.0'
  HOSTNAME=''
  DNSDOMAIN='maas.example.com'
  NISDOMAIN=''
  ROOTSERVER='172.18.144.1'
  ROOTPATH=''
  filename='pxelinux.0'
  UPTIME='8'
  DHCPLEASETIME='600'
  DOMAINSEARCH=''
  ubuntu at resolve:~$ cat /etc/resolv.conf
  # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
  #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
  nameserver 192.168.133.18
  ubuntu at resolve:~$ dpkg -l open-iscsi | cat
  Desired=Unknown/Install/Remove/Purge/Hold
  | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
  |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
  ||/ Name           Version                           Architecture Description
  +++-==============-=================================-============-=================================
  ii  open-iscsi     2.0.873+git0.3b4b4500-14ubuntu3.3 amd64        iSCSI initiator tools

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



More information about the foundations-bugs mailing list