This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/4647] New: deleting the last ipv6 nameserver from resolv.conf causes resolving to cease working
- From: "tjanouse at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 15 Jun 2007 09:05:28 -0000
- Subject: [Bug libc/4647] New: deleting the last ipv6 nameserver from resolv.conf causes resolving to cease working
- Reply-to: sourceware-bugzilla at sourceware dot org
Having one (or more) ipv6 nameservers in resolv.conf and then removing it and
calling res_init to reread it causes resolver to stop working, because an IPv4
socket is created and and connected to an IPv6 sockaddr.
I'm attaching a reproducer and a proposed fix (I did not test it but I believe
it provides a pretty good idea of why is that happening).
--
Summary: deleting the last ipv6 nameserver from resolv.conf
causes resolving to cease working
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: tjanouse at redhat dot com
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=4647
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.