Bug 442812
| Summary: | When /etc/hosts contains hostname on 127.0.0.1 line, ipa-server-install fails | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] freeIPA | Reporter: | Michael Gregg <mgregg> | ||||
| Component: | ipa-server | Assignee: | Rob Crittenden <rcritten> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Chandrasekar Kannan <ckannan> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | unspecified | CC: | benl | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | freeipa-2.0.0-1.fc15 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-03-27 07:14:45 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 429034 | ||||||
| Attachments: |
|
||||||
|
Description
Michael Gregg
2008-04-16 22:35:56 UTC
So the bug here is that the error message is bad, not that we don't handle the case of a misconfigured /etc/hosts, right? Right, I didn't state that very clearly. The bug is that we don't explain this very well to the end user. IPA not installing properly with a mis-configured hosts file seems fine. Perhaps show what the /etc/hosts should look like. Created attachment 304902 [details]
include pointer to /etc/hosts for where to look to fix the problem
ipa-1-0: 8b99efbe3c8f050402f98cb9305a2d749ddc9ed8 master: ae641ed31b45a19def11273b13d41658ed0580ce QA Verified on June 9, 2008 (Yi) Build used: June 9, 2008 (64bit RHEL 5.2) [root@replica64 ~]# cat < /etc/hosts 127.0.0.1 replica64.ipaqa.com localhost ::1 localhost6.localdomain6 localhost6 ===> ipa-server-install error: <=============== Server host name [replica64.ipaqa.com]: Unexpected error - see ipaserver-install.log for details: The IPA Server hostname cannot resolve to localhost (127.0.0.1). A routable IP address must be used. Check /etc/hosts to see if replica64.ipaqa.com is an alias for 127.0.0.1 |