sys-apps/systemd: remove resolv.conf upgrade advice
authorMike Gilbert <floppym@gentoo.org>
Mon, 28 Aug 2017 15:03:19 +0000 (11:03 -0400)
committerMike Gilbert <floppym@gentoo.org>
Mon, 28 Aug 2017 15:03:35 +0000 (11:03 -0400)
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
sys-apps/systemd/systemd-233-r4.ebuild
sys-apps/systemd/systemd-234-r3.ebuild
sys-apps/systemd/systemd-9999.ebuild

index eac2bb56eeeb6e8d2cd6584184b6c25713316a21..a3b673046cd8309479a7ff2337712181b09dd0c9 100644 (file)
@@ -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() {
index 4ee6d08863fa68650bd15bf7ef0741a1dcc4939a..35f5f02c6e327a0d97c702c92f8595c597a55339 100644 (file)
@@ -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() {
index d5be135d849131d009edca391446879bb2e76b82..2d3fd9da978631c28b1d9c2886c2b111193b2179 100644 (file)
@@ -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"
index 835ac073e82fb04779aac7d48850d7fe6baf4bdd..6587693fcb058432593b2da242d2e192944ff0d5 100644 (file)
@@ -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() {