Ubuntu eks AMI's resolv.conf puts 032 instead of space when multiple search domains are configured in amazon dhcp options
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
In Progress
|
Undecided
|
Unassigned |
Bug Description
VPC's dhcp options set to multiple domains and then start a cluster with EKS AMI.
cat /etc/resolv.conf
```
# This file is managed by man:systemd-
#
# This is a dynamic resolv.conf file for connecting local clients directly to
# all known uplink DNS servers. This file lists all configured search domains.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#
# See man:systemd-
# operation for /etc/resolv.conf.
nameserver 10.0.50.4
nameserver 10.0.50.5
nameserver 10.0.50.6
search domain1.
```
tags: | added: id-5b9697c30ea1905ec9ec5634 |
Changed in cloud-images: | |
status: | New → In Progress |
Reproduced with 18.04 standard AMI; confirmed bug not present in 16.04.
This file is written out by systemd-resolved, which was introduced between 16.04 and 18.04, which explains the change in behavior.
Here's the same issue being reported on CoreOS as well: /github. com/coreos/ bugs/issues/ 1934
https:/
We are doing more research to see if there's a path forward to support this behavior, though there is some disagreement on what the correct behavior is here based on the DHCP spec.
We will continue to investigate and provide updates on this bug.