Hi, the latest getaddrinfo changes don't work, if no nscd is running. __nscd_getai will return -1 in this case, which means gaih_inet will bail out with an error and not fall back to the old code. I have added a check for the __nss_not_use_nscd_hosts variable, if nscd should be used or not. And for the first call, I also check in the error case, if this variable is set or not. Patch attached. Thorsten -- Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de SuSE Linux AG Maxfeldstr. 5 D-90409 Nuernberg -------------------------------------------------------------------- Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B