Bug 1417 - Better error message when hostname resolution fails.
Summary: Better error message when hostname resolution fails.
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: 4.7p1
Hardware: Other Mac OS X
: P2 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_4_8
  Show dependency treegraph
 
Reported: 2007-12-21 15:40 AEDT by Disco Vince Giffin
Modified: 2008-03-31 15:23 AEDT (History)
1 user (show)

See Also:


Attachments
Better name resolution error. (759 bytes, patch)
2007-12-21 15:40 AEDT, Disco Vince Giffin
no flags Details | Diff
Add helper function to handle EAI_SYSTEM (6.28 KB, patch)
2007-12-28 02:14 AEDT, Darren Tucker
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Disco Vince Giffin 2007-12-21 15:40:34 AEDT
Created attachment 1413 [details]
Better name resolution error.

Attached is a patch for building OpenSSH 4.7p1 on Mac OS X.

This patch improves the generic "System error" message when hostname resolution fails.
Comment 1 Darren Tucker 2007-12-28 02:14:28 AEDT
Created attachment 1423 [details]
Add helper function to handle EAI_SYSTEM

There's several other places where EAI_SYSTEM is not handled.  This patch adds a helper function for this and uses that for consistent handling.

The patch has been committed and will be 4.8.  The text of the message has not been changed, though.
Comment 2 Darren Tucker 2007-12-31 21:52:21 AEDT
Patch #1423 has been committed and will be in 4.8.  Thanks for the report.
Comment 3 Damien Miller 2008-03-31 15:23:15 AEDT
Fix shipped in 4.9/4.9p1 release.