Skip to content

/etc/resolv.conf is not bind-mounted if the target is a symlink

Created by: nl6720

If the /etc/resolv.conf in the chroot directory is a symlink to ../run/systemd/resolve/stub-resolv.conf, but the host does not use systemd-resolved, after arch-chrooting, the chroot's /etc/resolv.conf will be a broken symlink.

This breaks DNS resolution.

See upstream issue for util-linux' mount: https://github.com/util-linux/util-linux/issues/2370

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information