/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-chroot
ing, 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