Public bug reported:

On an artful netboot install, the chroot target cannot resolve any
hostnames and fails to fetch and install packages.

$ ping <hostname>: Temporary failure in name resolution

This is somehow related to the symlinking of /etc/resolv.conf.

# ls -l /etc/resolv.conf 
lrwxrwxrwx 1 root root 29 Aug 25 21:05 /etc/resolv.conf -> 
../run/resolvconf/resolv.conf

# ls -l /run/resolvconf/resolv.conf
lrwxrwxrwx 1 root root 39 Aug 25 21:04 /run/resolvconf/resolv.conf -> 
../run/systemd/resolve/stub-resolv.conf

# ls -l /run/systemd/resolve/stub-resolv.conf
-rw-r--r-- 1 root root 89 Aug 25 21:04 /run/systemd/resolve/stub-resolv.conf

# cat /etc/resolv.conf 
cat: /etc/resolv.conf: No such file or directory

However, if I replace /etc/resolv.conf with an actual file with the
contents of /run/systemd/resolve/stub-resolv.conf, then I can resolve
hostnames again.

** Affects: debian-installer (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: artful

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

Title:
  "Temporary failure in name resolution" failures in chroot during
  install.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1713159/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to