commit:     3ca664f8fae26d26dd3270bb496bd2c0eb293021
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 31 02:56:08 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Jul 31 02:56:08 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ca664f8

sys-apps/systemd: disable resolv.conf warning

systemd-resolved currently returns broken responses via 127.0.0.53.

Bug: https://github.com/systemd/systemd/issues/3826

 sys-apps/systemd/systemd-231.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-apps/systemd/systemd-231.ebuild 
b/sys-apps/systemd/systemd-231.ebuild
index 26e4eff..42684a9 100644
--- a/sys-apps/systemd/systemd-231.ebuild
+++ b/sys-apps/systemd/systemd-231.ebuild
@@ -433,10 +433,10 @@ 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-/usr}/lib/systemd/resolv.conf 
${ROOT}etc/resolv.conf"
-       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() {

Reply via email to