From a5da8da12b64ce7e61b38cedef0a41d7a407f0ae Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Mon, 28 Aug 2017 11:03:19 -0400 Subject: [PATCH] sys-apps/systemd: remove resolv.conf upgrade advice It has been reported that the resolved stub resolver does not work with some buggy routers/ISPs that mess with DNSSEC packets. Package-Manager: Portage-2.3.6_p39, Repoman-2.3.3_p17 --- sys-apps/systemd/systemd-233-r3.ebuild | 5 ----- sys-apps/systemd/systemd-233-r4.ebuild | 5 ----- sys-apps/systemd/systemd-234-r3.ebuild | 5 ----- sys-apps/systemd/systemd-9999.ebuild | 5 ----- 4 files changed, 20 deletions(-) diff --git a/sys-apps/systemd/systemd-233-r3.ebuild b/sys-apps/systemd/systemd-233-r3.ebuild index eac2bb56eeeb..a3b673046cd8 100644 --- a/sys-apps/systemd/systemd-233-r3.ebuild +++ b/sys-apps/systemd/systemd-233-r3.ebuild @@ -446,11 +446,6 @@ pkg_postinst() { eerror "systemd again." eerror fi - - if [[ $(readlink "${ROOT}"etc/resolv.conf) == */run/systemd/* ]]; then - ewarn "You should replace the resolv.conf symlink:" - ewarn "ln -snf ${ROOTPREFIX-/usr}/lib/systemd/resolv.conf ${ROOT}etc/resolv.conf" - fi } pkg_prerm() { diff --git a/sys-apps/systemd/systemd-233-r4.ebuild b/sys-apps/systemd/systemd-233-r4.ebuild index 4ee6d08863fa..35f5f02c6e32 100644 --- a/sys-apps/systemd/systemd-233-r4.ebuild +++ b/sys-apps/systemd/systemd-233-r4.ebuild @@ -448,11 +448,6 @@ pkg_postinst() { eerror "systemd again." eerror fi - - if [[ $(readlink "${ROOT}"etc/resolv.conf) == */run/systemd/* ]]; then - ewarn "You should replace the resolv.conf symlink:" - ewarn "ln -snf ${ROOTPREFIX-/usr}/lib/systemd/resolv.conf ${ROOT}etc/resolv.conf" - fi } pkg_prerm() { diff --git a/sys-apps/systemd/systemd-234-r3.ebuild b/sys-apps/systemd/systemd-234-r3.ebuild index d5be135d8491..2d3fd9da9786 100644 --- a/sys-apps/systemd/systemd-234-r3.ebuild +++ b/sys-apps/systemd/systemd-234-r3.ebuild @@ -433,11 +433,6 @@ pkg_postinst() { eerror fi - if [[ $(readlink "${ROOT}"etc/resolv.conf) == */run/systemd/* ]]; then - ewarn "You should replace the resolv.conf symlink:" - ewarn "ln -snf ${ROOTPREFIX%/}/lib/systemd/resolv.conf ${ROOT}etc/resolv.conf" - fi - if [[ -e "${EROOT%/}"/usr/lib/systemd/system-generators ]]; then ewarn "Please rebuild any packages which install system generators." ewarn " emerge --oneshot --usepkg=n /usr/lib/systemd/system-generators" diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild index 835ac073e82f..6587693fcb05 100644 --- a/sys-apps/systemd/systemd-9999.ebuild +++ b/sys-apps/systemd/systemd-9999.ebuild @@ -429,11 +429,6 @@ pkg_postinst() { eerror "systemd again." eerror fi - - if [[ $(readlink "${ROOT}"etc/resolv.conf) == */run/systemd/* ]]; then - ewarn "You should replace the resolv.conf symlink:" - ewarn "ln -snf ${ROOTPREFIX%/}/lib/systemd/resolv.conf ${ROOT}etc/resolv.conf" - fi } pkg_prerm() { -- 2.26.2