sys-apps/systemd: revert to the previous /etc/resolv.conf

When systemd-resolved is the local resolver on 127.0.0.53:53 (the
default since v231), some CNAME records are never fully resolved to
an IP address.  This switches the /etc/resolv.conf symlink to its
location from earlier versions as a workaround.
This commit is contained in:
David Michael 2016-08-12 14:22:01 -07:00
parent 7369374ff6
commit 19b4932ee2
2 changed files with 2 additions and 0 deletions

View File

@ -157,6 +157,8 @@ src_unpack() {
src_prepare() {
# Bug 463376
sed -i -e 's/GROUP="dialout"/GROUP="uucp"/' rules/*.rules || die
# Bug https://github.com/systemd/systemd/issues/3826
sed -i -e 's,/usr/lib/systemd/resolv.conf,/run/systemd/resolve/resolv.conf,' tmpfiles.d/etc.conf.m4 || die
[[ -d "${WORKDIR}"/patches ]] && PATCHES+=( "${WORKDIR}"/patches )