Bug 516299 - ssh slow resolving localhost
Summary: ssh slow resolving localhost
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: openssh
Version: 9
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jan F. Chadima
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-07 21:28 UTC by Scott Wilburn
Modified: 2009-08-20 07:32 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-08-20 07:32:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Scott Wilburn 2009-08-07 21:28:46 UTC
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:

Always

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

ping returns results immediately, ssh takes 5 minutes


Expected results:

ssh localhost is immediate

Additional info:

Contents of /etc/hosts:

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

Comment 1 Scott Wilburn 2009-08-07 22:58:36 UTC
A workaround is to comment out the IPV6 entry in /etc/hosts

Comment 2 Scott Wilburn 2009-08-20 03:14:51 UTC
This problem has been traced to a misconfigured ipv6tables ruleset that was blocking packets to/from localhost. It is not a bug.


Note You need to log in before you can comment on or make changes to this bug.