[Bug 767125] New: nscd kills ipv6 name lookups
https://bugzilla.novell.com/show_bug.cgi?id=767125 https://bugzilla.novell.com/show_bug.cgi?id=767125#c0 Summary: nscd kills ipv6 name lookups Classification: openSUSE Product: openSUSE 12.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: pbaudis@novell.com ReportedBy: dimstar@opensuse.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- While running unscd on a factory machine, IPv6 DNS Lookups do not work. laran:~ # rcnscd start redirecting to systemctl laran:~ # getent ahosts www.google.com 74.125.132.103 STREAM www.l.google.com 74.125.132.103 DGRAM 74.125.132.103 RAW 74.125.132.105 STREAM 74.125.132.105 DGRAM 74.125.132.105 RAW 74.125.132.106 STREAM 74.125.132.106 DGRAM 74.125.132.106 RAW 74.125.132.147 STREAM 74.125.132.147 DGRAM 74.125.132.147 RAW 74.125.132.99 STREAM 74.125.132.99 DGRAM 74.125.132.99 RAW 74.125.132.104 STREAM 74.125.132.104 DGRAM 74.125.132.104 RAW laran:~ # ping6 www.google.com unknown host laran:~ # rcnscd stop redirecting to systemctl laran:~ # getent ahosts www.google.com 2a00:1450:4007:804::1014 STREAM www.l.google.com 2a00:1450:4007:804::1014 DGRAM 2a00:1450:4007:804::1014 RAW 74.125.132.105 STREAM 74.125.132.105 DGRAM 74.125.132.105 RAW 74.125.132.103 STREAM 74.125.132.103 DGRAM 74.125.132.103 RAW 74.125.132.104 STREAM 74.125.132.104 DGRAM 74.125.132.104 RAW 74.125.132.106 STREAM 74.125.132.106 DGRAM 74.125.132.106 RAW 74.125.132.99 STREAM 74.125.132.99 DGRAM 74.125.132.99 RAW 74.125.132.147 STREAM 74.125.132.147 DGRAM 74.125.132.147 RAW laran:~ # ping6 www.google.com -c 1 PING www.google.com(par03s03-in-x14.1e100.net) 56 data bytes 64 bytes from par03s03-in-x14.1e100.net: icmp_seq=1 ttl=54 time=134 ms --- www.google.com ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 134.645/134.645/134.645/0.000 ms laran:~ # -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767125 https://bugzilla.novell.com/show_bug.cgi?id=767125#c2 Cristian Rodríguez <crrodriguez@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crrodriguez@opensuse.org AssignedTo|nld10-bugs-qa@forge.provo.n |pbaudis@novell.com |ovell.com | Severity|Major |Critical --- Comment #2 from Cristian Rodríguez <crrodriguez@opensuse.org> 2012-06-15 09:49:39 CLT --- Saw this one, workaround, install glibc nscd , package "nscd" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767125 https://bugzilla.novell.com/show_bug.cgi?id=767125#c5 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |684534 --- Comment #5 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-06-17 18:09:33 CEST --- the breakage comes from getaddrinfo-ipv6-sanity.diff having glibc/sysdeps/posix/getaddrinfo.c - last_i = gaih_inet (name, pservice, hints, end, &naddrs); + last_i = gaih_inet (name, pservice, hints, end, &naddrs, seen_ipv6); where seen_ipv6 is not initialized by the above __check_pf call (because it is within the if(hints->ai_flags & AI_ADDRCONFIG) ) and not yet by the below __check_pf call changes from bug 684534 may have introduced some of it -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767125 https://bugzilla.novell.com/show_bug.cgi?id=767125#c6 Michael Matz <matz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matz@suse.com --- Comment #6 from Michael Matz <matz@suse.com> 2012-06-18 11:37:46 UTC --- Yeah, possibly we can check the local addresses also for !AI_ADDRCONFIG. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767125 https://bugzilla.novell.com/show_bug.cgi?id=767125#c7 --- Comment #7 from Michael Matz <matz@suse.com> 2012-06-18 11:42:32 UTC --- Note: for glibc 2.11 check_pf is still called unconditional, so the same should also be done for newer glibc, at _for us_, as we use seen_ipv6 also unconditional. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767125 https://bugzilla.novell.com/show_bug.cgi?id=767125#c Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |matz@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767125 https://bugzilla.novell.com/show_bug.cgi?id=767125#c8 --- Comment #8 from Andreas Jaeger <aj@suse.com> 2012-07-02 10:50:59 UTC --- Michael, do you have an updated patch? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767125 https://bugzilla.novell.com/show_bug.cgi?id=767125#c9 --- Comment #9 from Michael Matz <matz@suse.com> 2012-07-04 12:38:58 UTC --- Created an attachment (id=497405) --> (http://bugzilla.novell.com/attachment.cgi?id=497405) Possible patch I think this should do the trick. It replaces the whole old getaddrinfo-ipv6-sanity.diff patch. It applies to some git glibc I had lying around, it probably also applies to 2.15. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767125 https://bugzilla.novell.com/show_bug.cgi?id=767125#c10 --- Comment #10 from Andreas Jaeger <aj@suse.com> 2012-07-04 13:39:42 UTC --- Thanks, adding to our glibc now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767125 https://bugzilla.novell.com/show_bug.cgi?id=767125#c11 --- Comment #11 from Andreas Jaeger <aj@suse.com> 2012-07-05 08:24:47 UTC --- Bernhard, Dominique, Base:System has a new glibc (awaiting Factory review). Could you test that one, please? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767125 https://bugzilla.novell.com/show_bug.cgi?id=767125#c12 --- Comment #12 from Dominique Leuenberger <dimstar@opensuse.org> 2012-07-05 17:37:53 UTC --- With the glibc*.rpm packages from Base:System and unscd running, I can still ping ipv6 addresses... so that looks good. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767125 https://bugzilla.novell.com/show_bug.cgi?id=767125#c13 --- Comment #13 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-07-06 21:02:45 CEST --- glibc+unscd now returns AAAA records when I have any IPv6 addr, even a link-local addr that can not be used for accessing the internet. So the patch only prevents IPv6-lookups when people disable IPv6 completely. That is fine for me. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767125 https://bugzilla.novell.com/show_bug.cgi?id=767125#c Bug 767125 depends on bug 684534, which changed state. Bug 684534 Summary: getaddrinfo-ipv6-sanity.diff no longer works http://bugzilla.novell.com/show_bug.cgi?id=684534 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Resolution| |FIXED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=767125 https://bugzilla.novell.com/show_bug.cgi?id=767125#c14 Ismail Donmez <idonmez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |idonmez@suse.com Resolution| |FIXED --- Comment #14 from Ismail Donmez <idonmez@suse.com> 2012-08-23 12:48:48 UTC --- Closing this one as fixed since comment #12 and comment #13 confirms. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com