[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#486288: libc6: getnameinfo() does not return EAI_AGAIN on temporary errors



Subject: libc6: getnameinfo() does not return EAI_AGAIN on temporary errors
Package: libc6
Version: 2.3.6.ds1-13etch5
Severity: normal

*** Please type your report below this line ***

glibc < 2.5 has a bug where getnameinfo() returns EAI_NONAME (basically
"this host does not exist", NXDOMAIN) instead of EAI_AGAIN when asked to
resolve a host with broken rDNS (leading to a timeout or SERVFAIL
response from the resolver). This causes some problems, for example when
your MTA is configured to reject hosts without PTR record. See
http://thread.gmane.org/gmane.mail.postfix.user/183129 for an example.

This problem has been fixed upstream for glibc 2.5 in
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/inet/getnameinfo.c.diff?r1=1.34&r2=1.35&cvsroot=glibc&f=h
This patch applies to the etch glibc sources without any problems,
please import it.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-k7
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages libc6 depends on:
ii  tzdata                      2007j-1etch1 Time Zone and Daylight Saving Time

libc6 recommends no packages.

-- no debconf information



Reply to: