fails to add search directive to resolv.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
open-iscsi (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
When open-iscsi creates /etc/resolv.conf, it fails to add the domain name to resolv.conf:
See also http://
ubuntu@resolve:~$ cat /run/net-ens3.conf
DEVICE='ens3'
PROTO='dhcp'
IPV4ADDR=
IPV4BROADCAST=
IPV4NETMASK=
IPV4GATEWAY=
IPV4DNS0=
IPV4DNS1='0.0.0.0'
HOSTNAME=''
DNSDOMAIN=
NISDOMAIN=''
ROOTSERVER=
ROOTPATH=''
filename=
UPTIME='8'
DHCPLEASETIME='600'
DOMAINSEARCH=''
ubuntu@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@resolve:~$ dpkg -l open-iscsi | cat
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii open-iscsi 2.0.873+
Changed in open-iscsi (Ubuntu): | |
importance: | Undecided → High |
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).