-current broken on Solaris w/o nscd

Russ Allbery rra at stanford.edu
Mon Feb 5 22:59:55 UTC 2001


Alex Kiernan <alexk at demon.net> writes:

> Whilst doing the timer stuff, I've made changes to configure.in (and
> configure) & it looks like I hadn't updated stuff in a while.

> The changes around -lresolv and inet_aton have broken name lookup on
> Solaris 8. If -lresolv exists during configure, then inet_aton is found
> in it, if not we build own into libinn, libnsl then resolves inet_aton
> from it[1] & proceeds to fire all name requests to 127.0.0.1.

> If nscd is running the queries go via it, or if you're static you're OK.

> AFAICT inet_aton() in libinn is more strict than the Solaris internal
> variant, so the resolver passes in stuff which comes back with NULLs &
> then falls back to 127.0.0.1.

Oh, ick.

Okay, I'll put that check back in.  I was considering doing so anyway when
I noticed that meant we were using our own inet_aton on Solaris.  I'll get
to that sometime this evening, hopefully.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>


More information about the inn-workers mailing list