Merge pull request #2057 from flatcar-linux/jepio/systemd-resolve.conf

sys-apps/systemd: fix tmpfile entry for resolv.conf link
This commit is contained in:
Jeremi Piotrowski 2022-07-26 11:07:09 +02:00 committed by GitHub
commit c2c7f0d504
3 changed files with 3 additions and 1 deletions

View File

@ -0,0 +1 @@
- Fixed `/etc/resolv.conf` symlink by pointing it at `resolv.conf` instead of `stub-resolv.conf`. This bug was present since the update to systemd v250 ([coreos-overlay#2057](https://github.com/flatcar-linux/coreos-overlay/pull/2057))

View File

@ -0,0 +1 @@
systemd-250.3.ebuild

View File

@ -272,7 +272,7 @@ src_prepare() {
# /run/systemd/resolve/stub-resolv.conf (and if using K8s
# configure the kubelet resolvConf variable/--resolv-conf flag
# to /run/systemd/resolve/resolv.conf).
sed -i -e 's,/run/systemd/resolve/stub-resolv.conf,/run/systemd/resolve/resolv.conf,' tmpfiles.d/etc.conf.in || die
sed -i -e 's,/run/systemd/resolve/stub-resolv.conf,/run/systemd/resolve/resolv.conf,' tmpfiles.d/systemd-resolve.conf || die
default
}