On 1/15/2020 12:16 PM, Douglas R. Reno via blfs-support wrote:

On 1/15/20 1:11 PM, Alan Feuerbacher via blfs-support wrote:

On 1/15/2020 12:06 PM, Douglas R. Reno via blfs-support wrote:

On 1/15/20 1:01 PM, Alan Feuerbacher via blfs-support wrote:
For about 4 hours I've been trying to execute the bash script in "Downloading Xorg Libraries" that downloads the needed files via wget, but keep getting this error:

Resolving www.x.org... failed: Temporary failure in name resolution.

I haven't seen this before. Any comments?

Alan

Hi Alan,


Are you using the systemd version or the sysv version? Can you check to make sure that your system has an IP address please?

On systemd, check that systemd-resolved is running by executing "systemctl status systemd-resolved". On both sides though, make sure /etc/resolv.conf is present and is filled in correctly (on systemd, resolved should take care of that automatically. It can't hurt to check though!). SysV just uses /etc/resolv.conf.

I'm running in chroot on the Fedora 31 host system, which is systemd.

Alan

Hi Alan,

I'm borrowing these commands from jhalfs since Pierre put these in a while back to allow DNS resolution while in chroot on systemd systems:

sudo mkdir -pv /mnt/lfs/run/systemd/resolve

sudo cp -v /etc/resolv.conf /mnt/lfs/run/systemd/resolve

This should set you up with DNS resolution in chroot.

That worked. Thank you!

Alan

--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to