[Bug 1658750] Re: fails to add search directive to resolv.conf
LaMont Jones
lamont.jones at canonical.com
Mon Jan 23 17:46:39 UTC 2017
Note that while there is no DOMAINSEARCH, DNSDOMAIN needs to translate
into something (domain or search directive), and only one of those will
be honored by the resolver (they overwrite each other, per the
specification).
--
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:
New
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