GNU bug report logs -
#13958
Failing net-db.test on armv5tel glibc 2.17
Previous Next
Full log
Message #17 received at 13958 <at> debbugs.gnu.org (full text, mbox):
On Fri, Mar 15, 2013 at 02:36:40PM +0100, Ludovic Courtès wrote:
> Lluís Batlle i Rossell <viric <at> viric.name> skribis:
>
> > I think this log should be enough. I have a dns server at 127.0.0.1,
> > and I have in nix.conf:
> > build-use-chroot = false
> >
> >
> > Excerpt of the strace log:
> > 16993 connect(7, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
>
> So you disabled nscd? (The request goes directly to the DNS server.)
Right.
> > 16993 open("/nix/store/83fff5psdwad2vcy44lv5gwyzfmj4433-glibc-2.17/lib/libnss_myhostname.so.2", O_R
> > DONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>
> This is most likely the culprit. Presumably you forgot to add
> libnss_myhostname to $LD_LIBRARY_PATH, no?
>
> Also, what does /etc/nsswitch.conf look like?
The hosts line:
hosts: files dns myhostname
Ok, so the source of that bad-handled message is a NSS problem in nix builds
without chroot.
What should be the proper user program reaction to that EAI_AGAIN + errno?
Regards,
Lluís.
This bug report was last modified 12 years and 115 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.