mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 15:31:05 +02:00
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:
parent
7369374ff6
commit
19b4932ee2
@ -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 )
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user