[Bug 1713159] Re: "Temporary failure in name resolution" failures in chroot during install.

Vinson Lee 1713159 at bugs.launchpad.net
Sat Aug 26 06:54:00 UTC 2017


*** This bug is a duplicate of bug 1713149 ***
    https://bugs.launchpad.net/bugs/1713149

** This bug has been marked a duplicate of bug 1713149
   resolv.conf symlink is broken after clean debootstrap

-- 
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