commit:     a5da8da12b64ce7e61b38cedef0a41d7a407f0ae
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 28 15:03:19 2017 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Aug 28 15:03:35 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5da8da1

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 eac2bb56eee..a3b673046cd 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 4ee6d08863f..35f5f02c6e3 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 d5be135d849..2d3fd9da978 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 835ac073e82..6587693fcb0 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() {

Reply via email to