[Bug 706719] New: getaddrinfo returns duplicate results for localhost under certain circumstances
https://bugzilla.novell.com/show_bug.cgi?id=706719 https://bugzilla.novell.com/show_bug.cgi?id=706719#c0 Summary: getaddrinfo returns duplicate results for localhost under certain circumstances Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: rhafer@novell.com QAContact: qa@suse.de Found By: Development Blocker: --- Note: OpenLDAP currently fails to build for factory because of this bug. When getaddrinfo is called for "localhost" on a machine with no network interfaces other than the loopback interface it returns to equal struct sockaddr pointing to 127.0.0.1. Usually you would get two different structs one for AF_INET and one for AF_INET6 (at least with our default /etc/hosts file). It seems that this bug was introduced with revision 61 of glibc in Base:System. At least the glibc releases (I tested r60) before that commit seem to behave correct. https://build.opensuse.org/package/rdiff?commit=61&linkrev=base&package=glibc&project=Base%3ASystem -- 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=706719
https://bugzilla.novell.com/show_bug.cgi?id=706719#c1
--- Comment #1 from Ralf Haferkamp
https://bugzilla.novell.com/show_bug.cgi?id=706719
https://bugzilla.novell.com/show_bug.cgi?id=706719#c
Ralf Haferkamp
https://bugzilla.novell.com/show_bug.cgi?id=706719
https://bugzilla.novell.com/show_bug.cgi?id=706719#c2
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=706719
https://bugzilla.novell.com/show_bug.cgi?id=706719#c3
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=706719
https://bugzilla.novell.com/show_bug.cgi?id=706719#c4
--- Comment #4 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com