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

getaddrinfo broken on amd64 etch system



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?


Thanks for your help!

Regards,

Bill




Reply to: