Public bug reported:

I'm testing Ubuntu 17.10. The DNS is not well configured when choosing
"enable networking".

Steps to reproduce
------------------
- Choose recovery mode from grub
- choose "enable networking"
- Choose "drop to root shell prompt"
- You can test name resolution with ping www.google.com or apt update. It fails.

Explanation
-----------
- /etc/resolv.conf is a symlink to /var/run/systemd/resolve/resolv.conf
- The file is configured to use the local DNS forwarder made available by the 
systemd-resolved service
- In recovery mode, systemd-resolved service is not started and trying to start 
it by hand doesn't seem to work

Workaround
----------
Replace the symlink /etc/resolv.conf by a text file and configure a known 
working DNS. For example:
nameserver 8.8.8.8

** Affects: friendly-recovery (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Enable Networking fails DNS configuration with systemd-resolved

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1723803/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to