Bug 373921 - If the fqdn is not the first name specified in /etc/hosts, the installer does not notify the admin
If the fqdn is not the first name specified in /etc/hosts, the installer does...
Status: CLOSED UPSTREAM
Product: freeIPA
Classification: Community
Component: build (Show other bugs)
1.0
All Linux
low Severity low
: ---
: ---
Assigned To: Karl MacMillan
Chandrasekar Kannan
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-11-09 17:12 EST by Michael Gregg
Modified: 2015-01-04 18:29 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-11-13 10:23:44 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Michael Gregg 2007-11-09 17:12:37 EST
Description of problem:
If the fqdn is not the first name specified in /etc/hosts for the server you are
installing on, several tools will break. 
The installer needs to detect this misconfiguration and warn the admin.
the entry in /etc/hosts needs to be of the following format:
<machine ip> <machine fqdn> <machine name>

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


How reproducible:
I did a install with the following command:
/usr/sbin/ipa-server-install -U --hostname=ipaqavm.dsqa.sjc2.redhat.com -r
DSQA.SJC2.REDHAT.COM -p Secret123 -P Secret123 -a Secret123 --setup-bind -u admin -d
My /etc/hosts looked like this:
127.0.0.1               localhost.localdomain localhost
10.14.0.110             ipaqavm ipaqavm.dsqa.sjc2.redhat.com

Actual results:
The installer completed without any errors

Expected results:
The installer to throw a error, and suggest a correct host entry.

Additional info:
Comment 1 Karl MacMillan 2007-11-13 10:23:44 EST
Filed upstream bug:

https://hosted.fedoraproject.org/projects/freeipa/ticket/93#preview

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