[Bug 1713159] [NEW] "Temporary failure in name resolution" failures in chroot during install.
Vinson Lee
1713159 at bugs.launchpad.net
Fri Aug 25 22:10:31 UTC 2017
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
Foundations Bugs, which is subscribed to debian-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1713159
Title:
"Temporary failure in name resolution" failures in chroot during
install.
Status in debian-installer package in Ubuntu:
New
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1713159/+subscriptions
More information about the foundations-bugs
mailing list