Re: Neon and reverse address lookup

2014-02-05 Thread Andreas Enge
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’

Re: Neon and reverse address lookup

2014-02-05 Thread Ludovic Courtès
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

Re: Neon and reverse address lookup

2014-01-18 Thread Mark H Weaver
Andreas Enge andr...@enge.fr writes: when trying to package the neon library: http://www.webdav.org/neon/ , the tests fail inside the chroot with addr_reverse (reverse lookup for 127.0.0.1 failed) Should I disable the corresponding test? I think we should include /etc/hosts in the

Re: Neon and reverse address lookup

2014-01-18 Thread Mark H Weaver
John Darrington j...@darrington.wattle.id.au writes: On Sat, Jan 18, 2014 at 01:48:47PM +0100, Andreas Enge wrote: Hi, when trying to package the neon library: http://www.webdav.org/neon/ , the tests fail inside the chroot with addr_reverse (reverse

Re: Neon and reverse address lookup

2014-01-18 Thread Andreas Enge
On Sat, Jan 18, 2014 at 09:41:14AM -0500, Mark H Weaver wrote: I think we should include /etc/hosts in the chroot with an entry for localhost. We might also need /etc/nsswitch.conf; I'm not sure. I see no reason not to do this, and I suspect it would ultimately take less time and effort than

Re: Neon and reverse address lookup

2014-01-18 Thread Ludovic Courtès
Mark H Weaver m...@netris.org skribis: Andreas Enge andr...@enge.fr writes: when trying to package the neon library: http://www.webdav.org/neon/ , the tests fail inside the chroot with addr_reverse (reverse lookup for 127.0.0.1 failed) Should I disable the corresponding test? I

Re: Neon and reverse address lookup

2014-01-18 Thread Ludovic Courtès
John Darrington j...@darrington.wattle.id.au skribis: On Sat, Jan 18, 2014 at 05:45:08PM +0100, Andreas Enge wrote: On Sat, Jan 18, 2014 at 09:41:14AM -0500, Mark H Weaver wrote: I think we should include /etc/hosts in the chroot with an entry for localhost. We might also