From 4e8e55f5faa9d0deb82c04d1ab4c2a3a31d2d80d Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Thu, 15 Mar 2018 14:51:38 +0100 Subject: [PATCH] scripts/update-systemd-from-27-to-238.sh: Leave Unbound enabled Due to several problems with systemd-resolved [1][2], we keep Unbound for now as the local validating, recursive, and caching resolver. Leave systemd-resolved running to have the D-Bus API. It will use the resolvers from `/etc/resolv.conf`. [1]: https://github.com/systemd/systemd/issues/8451 [2]: https://github.com/systemd/systemd/issues/8450 --- scripts/update-systemd-from-27-to-238.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/update-systemd-from-27-to-238.sh b/scripts/update-systemd-from-27-to-238.sh index 2302ae14a..33bfc7545 100755 --- a/scripts/update-systemd-from-27-to-238.sh +++ b/scripts/update-systemd-from-27-to-238.sh @@ -29,13 +29,10 @@ sed -i 's/required pam_systemd.so create-session=1 kill-user=0 kill-sessio echo "You can migrate to system-networkd." systemctl stop ntp -systemctl stop unbound systemctl disable ntp -systemctl disable unbound systemctl daemon-reload bee remove ntp-4.2.8p8-0.x86_64 -ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf mkdir -p /etc/systemd/resolved.conf.d/ echo -e "[Resolve]\\nDomains=molgen.mpg.de" >> /etc/systemd/resolved.conf.d/domains.conf echo -e "[Resolve]\\nLLMNR=no" >> /etc/systemd/resolved.conf.d/disable-llmnr.conf