Bug 61391
Summary: | telnet delay connecting to site not in DNS | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Walt Weber <wweber> |
Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ben Levenson <benl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.3 | CC: | furcats, fweimer, redhat-mail |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-04-24 04:20:07 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Walt Weber
2002-03-18 23:20:25 UTC
this bug appears to be present in rh7.3 as well. any nsswitch-aware program, telnet, ftp, ssh, causes (apparently) the etc/hosts query to fail. even using the cmd, "telnet localhost", i can see (via strace) all the usual suspects being open'd and read: /etc/resolv.conf,/etc/nsswitch.conf, /lib/libnss_files.so.2, /etc/host.conf, and finally, /etc/hosts. but then (after checking etc/services and a brief check for nis -/lib/libnss_nisplus.so.2 - it does a connect with the dns host. its like the query of etc/hosts didn't completely satisfy. the delay noticed by the original submitter seems due to waiting for the dns host to give up. not sure why his result isn't "Connection closed by foreign host." or "host unreachable" It seems this bug has been around for a long time, and reported multiple times. Look at bugs 9871 (> 2 yrs. old), 57998, 59320, and 61391. As explained in bug 57998, things that use glibc get it wrong, and things that use libresolve do it right. This bug can make minor network problems much worse. I've seen problems from it on several occasions. Is there some issue that makes this bug hard to fix? It appears that this telnet delay has been mostly resolved in rawhide. See: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=84105#c6 for details. A clarification on: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=84105#c6 You should NOT install those RPMs on a production system. Rawhide is raw bits. Those RPMs were only in relationship to various DNS issues. Those rpms have a number of non-DNS related problems. For example, they cause the rpm command to dump core. They did, however, resolve the DNS issues, with the possible exception of excessive IPv6 lookups. This shouldn't be a problem anymore in any recent release. If the entr yis found locally it's used. I'm closing the bug now. |