Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

getaddrinfo broken on amd64 etch system

From: Bill Kelly <billk(at)cts.com>
Date: Mon Nov 26 2007 - 19:24:17 EST


Greetings,

This is my first post here, so I hope I'm following the protocols correctly.

I've done a netinstall of etch 4.0r1 with amd64 architecture on both a vmware system, and a real AMD Opteron system. (glibc version 2.3.6.ds1-13etch2)

On both systems, getaddrinfo() seems to fail to do a reverse lookup from an IP address to the canonical hostname. It doesn't return an error code, it just returns the original IP address that was passed in. (Note, the `host` program, from the command line, works fine.)

I'm posting here because I'm at a loss as to how to debug the problem further, and hoped someone might have suggestions, and/or be able to confirm the problem.

I've posted a small sample program that reproduces the problem, and posted an strace of the program on the broken etch system, and also an strace on a working sarge system:

http://cila-search.net/~billk/debug/getaddrinfo/

>From the strace on the broken system, it looks like getaddrinfo
doesn't try to do any work at all - at least compared to the strace from the working system. Any thoughts as to what could make it shortcut like that?

Do you need help?X

Thanks for your help!

Regards,

Bill

-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Mon Nov 26 21:31:57 2007

This archive was generated by hypermail 2.1.8 : Tue Feb 26 2008 - 05:09:15 EST


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library