Re: syslog() blocks on glibc 2.1.3 with kernel 2.2.x

From: Matti Aarnio (matti.aarnio@zmailer.org)
Date: Mon Oct 23 2000 - 17:42:08 EST


On Mon, Oct 23, 2000 at 04:56:26PM -0400, Patrick J. LoPresti wrote:
....
> You are effectively suggesting that named should be rewritten not to
> use the glibc syslog functions at all. That strikes me as the worst
> suggestion so far; it would be far better for syslogd not to do name
> lookups. But my syslogd has no option to avoid name lookups; I will
> submit a request to add one.

        /etc/nsswitch.conf:
                hosts: files dns

        /etc/hosts:

                ip.of.named.host name.of.named.host
                ip.of.other.host name.of.other.host

        Give explicite IP/name mappings for those which
        you don't want to be looked via the resolver.

        This is, of course, system-wide, but use it sparingly.

/Matti Aarnio
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:22 EST