From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Neon and reverse address lookup Date: Wed, 05 Feb 2014 21:07:16 +0100 Message-ID: <87vbwt5nnv.fsf@gnu.org> References: <20140118124847.GA6166@debian> <8738klou1c.fsf@gnu.org> <87ob39osyh.fsf@netris.org> <87iotgkmis.fsf@gnu.org> <20140205173029.GB15773@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WB8pd-0000Z6-8M for guix-devel@gnu.org; Wed, 05 Feb 2014 15:12:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WB8pX-0004v8-Pv for guix-devel@gnu.org; Wed, 05 Feb 2014 15:12:25 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:58271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WB8pX-0004uo-Iz for guix-devel@gnu.org; Wed, 05 Feb 2014 15:12:19 -0500 In-Reply-To: <20140205173029.GB15773@debian> (Andreas Enge's message of "Wed, 5 Feb 2014 18:30:29 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andreas Enge Cc: guix-devel@gnu.org Andreas Enge skribis: > On Sun, Jan 19, 2014 at 04:40:43PM +0100, Ludovic Court=C3=A8s wrote: >> The issue is that the default config for the =E2=80=98hosts=E2=80=99 dat= abase when >> resolv.conf is missing is (see nss/hosts-lookup.c): >> dns [!UNAVAIL=3Dreturn] files >> When doing a host name lookup, =E2=80=98dns=E2=80=99 is unavailable, so = we go on with >> =E2=80=98files=E2=80=99 and /etc/hosts is honored as expected. >> However, when doing a reverse lookup, the DNS resolver >> (__libc_res_nquery) returns =E2=80=98notfound=E2=80=99, and so =E2=80=98= gethostbyaddr=E2=80=99 returns >> immediately. >> Changing the =E2=80=98hosts=E2=80=99 config to =E2=80=9Cdns files=E2=80= =9D solves this particular. >> I=E2=80=99ll 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=3D16475 I was hoping it would be fixed in time for 2.19, but it seems it won=E2=80= =99t happen. > How should I proceed for the neon package? If it=E2=80=99s not too difficult to skip just those tests that require rev= erse lookup, that=E2=80=99s the best thing. Otherwise just #:tests? #f. (Either way, with a comment pointing to the report above.) Thanks, Ludo=E2=80=99.