This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/15272] getaddrinfo() returns EAI_SYSTEM with AF_UNSPEC and SOCK_STREAM on ARM
- From: "florian at openwrt dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 05 Apr 2013 16:58:07 +0000
- Subject: [Bug network/15272] getaddrinfo() returns EAI_SYSTEM with AF_UNSPEC and SOCK_STREAM on ARM
- Auto-submitted: auto-generated
- References: <bug-15272-131 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15272
--- Comment #3 from Florian Fainelli <florian at openwrt dot org> 2013-04-05 16:58:07 UTC ---
(In reply to comment #2)
> Could you describe the system configuration? Is this when the network is up
> and everything is functioning correctly? What does 'dig www.free.fr' say?
The system is an usual internet gateway device, with its upstream interface
connecting it to the internet. The connectivity is working ok. The upstream
interface has no IPv6 address assigned.
/etc/resolv.conf:
nameserver 212.27.40.240
nameserver 212.27.40.241
And here is what dig says:
; <<>> DiG 9.9.1-P3 <<>> www.free.fr
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9636
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;www.free.fr. IN A
;; ANSWER SECTION:
www.free.fr. 65295 IN A 212.27.48.10
;; Query time: 10 msec
;; SERVER: 212.27.40.240#53(212.27.40.240)
;; WHEN: Fri Apr 5 18:48:28 2013
;; MSG SIZE rcvd: 56
dig works fine, but I do not see it using getaddrinfo().
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.