[Bug 1713159] Re: "Temporary failure in name resolution" failures in chroot during install.
Launchpad Bug Tracker
1713159 at bugs.launchpad.net
Sat Sep 25 13:28:47 UTC 2021
*** This bug is a duplicate of bug 1713149 ***
https://bugs.launchpad.net/bugs/1713149
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: debian-installer (Ubuntu)
Status: New => Confirmed
--
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:
Confirmed
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