sys-libs/glibc: Downgrade hosts.conf message to einfo, bug 638154
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 16 Dec 2017 19:03:53 +0000 (20:03 +0100)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 16 Dec 2017 19:04:12 +0000 (20:04 +0100)
The logic of the setting makes sense though...

Bug: https://bugs.gentoo.org/436530
Closes: https://bugs.gentoo.org/638154
Package-Manager: Portage-2.3.18, Repoman-2.3.6

sys-libs/glibc/glibc-2.26-r3.ebuild
sys-libs/glibc/glibc-9999.ebuild

index 0edb97902c8525ff0814ee6d0dd66b410e772615..88a9cd4b5b3d922c1eb59eeaa1940e256924720b 100644 (file)
@@ -775,7 +775,7 @@ pkg_preinst() {
        # Default /etc/hosts.conf:multi to on for systems with small dbs.
        if [[ $(wc -l < "${EROOT}"/etc/hosts) -lt 1000 ]] ; then
                sed -i '/^multi off/s:off:on:' "${ED}"/etc/host.conf
-               elog "Defaulting /etc/host.conf:multi to on"
+               einfo "Defaulting /etc/host.conf:multi to on"
        fi
 
        [[ ${ROOT} != "/" ]] && return 0
index e29a0778fd5dcd0b25a02cb54c4b654412ee253d..a3b427221e28b4c347ff158222d0b9a9cfea0d84 100644 (file)
@@ -789,7 +789,7 @@ pkg_preinst() {
        # Default /etc/hosts.conf:multi to on for systems with small dbs.
        if [[ $(wc -l < "${EROOT}"/etc/hosts) -lt 1000 ]] ; then
                sed -i '/^multi off/s:off:on:' "${ED}"/etc/host.conf
-               elog "Defaulting /etc/host.conf:multi to on"
+               einfo "Defaulting /etc/host.conf:multi to on"
        fi
 
        [[ ${ROOT} != "/" ]] && return 0