[Bug 1723803] [NEW] Enable Networking fails DNS configuration with systemd-resolved
Nicolas Michel
be.nicolas.michel at gmail.com
Sun Oct 15 21:17:19 UTC 2017
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
Foundations Bugs, which is subscribed to friendly-recovery in Ubuntu.
https://bugs.launchpad.net/bugs/1723803
Title:
Enable Networking fails DNS configuration with systemd-resolved
Status in friendly-recovery package in Ubuntu:
New
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1723803/+subscriptions
More information about the foundations-bugs
mailing list