Bug 516299

Summary: ssh slow resolving localhost
Product: [Fedora] Fedora Reporter: Scott Wilburn <wswilburn>
Component: opensshAssignee: Jan F. Chadima <jchadima>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 9CC: jchadima, mgrepl, mvadkert, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-20 03:32:19 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Scott Wilburn 2009-08-07 17:28:46 EDT
Description of problem:

ssh requires almost 5 minutes to resolve 'localhost'. Delay does not occur if hostname is given instead, or when pinging localhost.

Version-Release number of selected component (if applicable):

How reproducible:


Steps to Reproduce:
1. ssh localhost
2. ping localhost
Actual results:

ping returns results immediately, ssh takes 5 minutes

Expected results:

ssh localhost is immediate

Additional info:

Contents of /etc/hosts:   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
Comment 1 Scott Wilburn 2009-08-07 18:58:36 EDT
A workaround is to comment out the IPV6 entry in /etc/hosts
Comment 2 Scott Wilburn 2009-08-19 23:14:51 EDT
This problem has been traced to a misconfigured ipv6tables ruleset that was blocking packets to/from localhost. It is not a bug.