Andreas Enge <andr...@enge.fr> skribis: > On Sun, Jan 19, 2014 at 04:40:43PM +0100, Ludovic Courtès wrote: >> The issue is that the default config for the ‘hosts’ database when >> resolv.conf is missing is (see nss/hosts-lookup.c): >> dns [!UNAVAIL=return] files >> When doing a host name lookup, ‘dns’ is unavailable, so we go on with >> ‘files’ and /etc/hosts is honored as expected. >> However, when doing a reverse lookup, the DNS resolver >> (__libc_res_nquery) returns ‘notfound’, and so ‘gethostbyaddr’ returns >> immediately. >> Changing the ‘hosts’ config to “dns files” solves this particular. >> I’ll ask for advice on libc-help. > > Did anything come out of this?
Well, this has been reported: http://sourceware.org/ml/libc-alpha/2014-01/msg00351.html https://sourceware.org/bugzilla/show_bug.cgi?id=16475 I was hoping it would be fixed in time for 2.19, but it seems it won’t happen. > How should I proceed for the neon package? If it’s not too difficult to skip just those tests that require reverse lookup, that’s the best thing. Otherwise just #:tests? #f. (Either way, with a comment pointing to the report above.) Thanks, Ludo’.