* [Bug libc/7060] getaddrinfo() with hints.ai_family = PF_UNSPEC changes behavior in glibc 2.9
2008-12-01 14:11 [Bug libc/7060] New: getaddrinfo() with hints.ai_family = PF_UNSPEC changes behavior in glibc 2.9 bero at arklinux dot org
@ 2008-12-01 14:19 ` bero at arklinux dot org
2008-12-01 14:33 ` jakub at redhat dot com
` (8 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: bero at arklinux dot org @ 2008-12-01 14:19 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From bero at arklinux dot org 2008-12-01 14:17 -------
This works as before in 2.9 for hostnames that are listed in /etc/hosts; it
only fails if it has to look up stuff on the DNS.
The DNS itself works (applications that don't use getaddrinfo(), such as host,
ping, konqueror, firefox, ... keep working).
--
http://sourceware.org/bugzilla/show_bug.cgi?id=7060
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libc/7060] getaddrinfo() with hints.ai_family = PF_UNSPEC changes behavior in glibc 2.9
2008-12-01 14:11 [Bug libc/7060] New: getaddrinfo() with hints.ai_family = PF_UNSPEC changes behavior in glibc 2.9 bero at arklinux dot org
2008-12-01 14:19 ` [Bug libc/7060] " bero at arklinux dot org
@ 2008-12-01 14:33 ` jakub at redhat dot com
2008-12-01 15:41 ` bero at arklinux dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: jakub at redhat dot com @ 2008-12-01 14:33 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From jakub at redhat dot com 2008-12-01 14:31 -------
What nameserver are you using? Most likely a DNS server bug.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://sourceware.org/bugzilla/show_bug.cgi?id=7060
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libc/7060] getaddrinfo() with hints.ai_family = PF_UNSPEC changes behavior in glibc 2.9
2008-12-01 14:11 [Bug libc/7060] New: getaddrinfo() with hints.ai_family = PF_UNSPEC changes behavior in glibc 2.9 bero at arklinux dot org
2008-12-01 14:19 ` [Bug libc/7060] " bero at arklinux dot org
2008-12-01 14:33 ` jakub at redhat dot com
@ 2008-12-01 15:41 ` bero at arklinux dot org
2008-12-01 15:53 ` bero at arklinux dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: bero at arklinux dot org @ 2008-12-01 15:41 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From bero at arklinux dot org 2008-12-01 15:40 -------
The DNS is the internal DNS of a Netopia 3346N-VGx DSL modem, revision
7.7.4r1.
Modifying /etc/resolv.conf to point at a Linux box running bind 9.5.x does fix
it.
A workaround is probably needed though, Netopia 3346N-VGx DSL modems come with
every Swisscom DSL line for free...
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
http://sourceware.org/bugzilla/show_bug.cgi?id=7060
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libc/7060] getaddrinfo() with hints.ai_family = PF_UNSPEC changes behavior in glibc 2.9
2008-12-01 14:11 [Bug libc/7060] New: getaddrinfo() with hints.ai_family = PF_UNSPEC changes behavior in glibc 2.9 bero at arklinux dot org
` (2 preceding siblings ...)
2008-12-01 15:41 ` bero at arklinux dot org
@ 2008-12-01 15:53 ` bero at arklinux dot org
2008-12-02 22:43 ` vapier at gentoo dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: bero at arklinux dot org @ 2008-12-01 15:53 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From bero at arklinux dot org 2008-12-01 15:51 -------
Created an attachment (id=3084)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=3084&action=view)
Patch that fixes it by reverting to 2.8 behavior
The attached patch fixes it by reverting most of getaddrinfo.c to what it was
in glibc 2.8 -- not quite the right thing to do, but I can confirm it fixes the
problem.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=7060
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libc/7060] getaddrinfo() with hints.ai_family = PF_UNSPEC changes behavior in glibc 2.9
2008-12-01 14:11 [Bug libc/7060] New: getaddrinfo() with hints.ai_family = PF_UNSPEC changes behavior in glibc 2.9 bero at arklinux dot org
` (3 preceding siblings ...)
2008-12-01 15:53 ` bero at arklinux dot org
@ 2008-12-02 22:43 ` vapier at gentoo dot org
2008-12-03 7:44 ` jgc at archlinux dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: vapier at gentoo dot org @ 2008-12-02 22:43 UTC (permalink / raw)
To: glibc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |toolchain at gentoo dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=7060
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libc/7060] getaddrinfo() with hints.ai_family = PF_UNSPEC changes behavior in glibc 2.9
2008-12-01 14:11 [Bug libc/7060] New: getaddrinfo() with hints.ai_family = PF_UNSPEC changes behavior in glibc 2.9 bero at arklinux dot org
` (4 preceding siblings ...)
2008-12-02 22:43 ` vapier at gentoo dot org
@ 2008-12-03 7:44 ` jgc at archlinux dot org
2008-12-04 2:09 ` pasky at suse dot cz
` (3 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: jgc at archlinux dot org @ 2008-12-03 7:44 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From jgc at archlinux dot org 2008-12-03 07:43 -------
I'm also facing this bug when using the Hotbrick LB2 as DNS server. Disabling
ipv6 on my system fixes this problem. Installing a local recursor like
pdns-recursor also fixes this issue, so it's related to broken DNS servers.
with pdns-recursor:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21282
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;redhat.com. IN AAAA
;; AUTHORITY SECTION:
redhat.com. 600 IN SOA ns1.redhat.com. noc.redhat.com. 2008112502 3600 1800
604800 86400
Result with Hotbrick LB2:
;; ->>HEADER<<- opcode: QUERY, status: NOTIMP, id: 51617
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;redhat.com. IN AAAA
The hotbrick LB2 returns NOTIMP, which violates the RFC.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |jgc at archlinux dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=7060
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libc/7060] getaddrinfo() with hints.ai_family = PF_UNSPEC changes behavior in glibc 2.9
2008-12-01 14:11 [Bug libc/7060] New: getaddrinfo() with hints.ai_family = PF_UNSPEC changes behavior in glibc 2.9 bero at arklinux dot org
` (5 preceding siblings ...)
2008-12-03 7:44 ` jgc at archlinux dot org
@ 2008-12-04 2:09 ` pasky at suse dot cz
2009-01-09 4:51 ` pasky at suse dot cz
` (2 subsequent siblings)
9 siblings, 0 replies; 13+ messages in thread
From: pasky at suse dot cz @ 2008-12-04 2:09 UTC (permalink / raw)
To: glibc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pasky at suse dot cz
http://sourceware.org/bugzilla/show_bug.cgi?id=7060
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libc/7060] getaddrinfo() with hints.ai_family = PF_UNSPEC changes behavior in glibc 2.9
2008-12-01 14:11 [Bug libc/7060] New: getaddrinfo() with hints.ai_family = PF_UNSPEC changes behavior in glibc 2.9 bero at arklinux dot org
` (6 preceding siblings ...)
2008-12-04 2:09 ` pasky at suse dot cz
@ 2009-01-09 4:51 ` pasky at suse dot cz
2009-01-09 8:09 ` jakub at redhat dot com
2010-08-31 19:41 ` schwab at linux-m68k dot org
9 siblings, 0 replies; 13+ messages in thread
From: pasky at suse dot cz @ 2009-01-09 4:51 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From pasky at suse dot cz 2009-01-09 04:51 -------
Note that a simpler workaround is to just disable the gethostbyname4() lookup
method being exported, as Jakub Jelinek did for Fedora (and me doing for SUSE now):
http://pasky.or.cz/~pasky/dev/glibc/glibc-2.10-dns-no-gethostbyname4.diff
--
http://sourceware.org/bugzilla/show_bug.cgi?id=7060
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libc/7060] getaddrinfo() with hints.ai_family = PF_UNSPEC changes behavior in glibc 2.9
2008-12-01 14:11 [Bug libc/7060] New: getaddrinfo() with hints.ai_family = PF_UNSPEC changes behavior in glibc 2.9 bero at arklinux dot org
` (7 preceding siblings ...)
2009-01-09 4:51 ` pasky at suse dot cz
@ 2009-01-09 8:09 ` jakub at redhat dot com
2010-08-31 19:41 ` schwab at linux-m68k dot org
9 siblings, 0 replies; 13+ messages in thread
From: jakub at redhat dot com @ 2009-01-09 8:09 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From jakub at redhat dot com 2009-01-09 08:09 -------
Also note that it is just a temporary measure, Ulrich plans to work on the
resolv code soon.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=7060
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libc/7060] getaddrinfo() with hints.ai_family = PF_UNSPEC changes behavior in glibc 2.9
2008-12-01 14:11 [Bug libc/7060] New: getaddrinfo() with hints.ai_family = PF_UNSPEC changes behavior in glibc 2.9 bero at arklinux dot org
` (8 preceding siblings ...)
2009-01-09 8:09 ` jakub at redhat dot com
@ 2010-08-31 19:41 ` schwab at linux-m68k dot org
9 siblings, 0 replies; 13+ messages in thread
From: schwab at linux-m68k dot org @ 2010-08-31 19:41 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From schwab at linux-m68k dot org 2010-08-31 11:09 -------
Should be fixed in 2.10.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=7060
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 13+ messages in thread