DNS lookup does not work in chroot environment for Ubuntu 17.10 Beta
Bug #1723568 reported by
Cubic PPA
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cubic |
Invalid
|
Undecided
|
Cubic PPA |
Bug Description
DNS lookup does not work in chroot environment for Ubuntu 17.10 Beta.
During apt install, the error "Name or service not known" is displayed on the console in the chroot environment.
Changed in cubic: | |
status: | New → Triaged |
status: | Triaged → Invalid |
assignee: | nobody → Cubic PPA (cubic-wizard) |
To post a comment you must log in.
DNS lookup does not work in chroot environment for Ubuntu 17.10 Beta (ubuntu- 17.10-beta2- desktop- amd64.iso) .
In /etc, the link resolv.conf points to ../run/ systemd/ resolve/ stub-resolv. conf. /resolv. conf.
But stub-resolv.conf does not exist.
The link /etc/resolv.conf should point to /run/resolvconf
One solution is to fix the link.
In the chroot environment in cubic, type:
$ ln -sfn ../run/ resolvconf/ resolv. conf /etc/resolv.conf