Bug #16929
closedBetter error message for unresolvable host name
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1368443
Description of problem:
If you do not configure a FQDN properly an error message is displayed, but the error message is incorrect.
The main error is in this part:
1.2.3.4 full.hostname.com full
This would be more accurate:
1.2.3.4 host_name.domain_name.com host_name
Version-Release number of selected component (if applicable):
How reproducible:
every time
Steps to Reproduce:
1. misconfigure host anme
2. try to install Satellite Server
Actual results:
hostname: No address associated with name
Output of 'facter fqdn' is different from 'hostname -f'
Make sure above command gives the same output. If needed, change
the hostname permanently via 'hostname' command and editing
appropriate configuration file. (e.g. on Red Hat systems /etc/sysconfig/network).
If 'hostname -f' still returns unexpected result, check /etc/hosts and put
hostname entry in the correct order, for example:
1.2.3.4 full.hostname.com full
Fully qualified hostname must be the first entry on the line
Your system does not meet configuration criteria
Expected results:
hostname: No address associated with name
Output of 'facter fqdn' is different from 'hostname -f'
Make sure the above command gives the same output. If needed, change
the host name permanently using the 'hostname' command and editing
appropriate configuration files. (e.g. '/etc/sysconfig/network' on Red Hat Enterprise Linux 6 systems or '/etc/hostname' on Red Hat Enterprise Linux 7 systems ).
If 'hostname -f' still returns unexpected result, check /etc/hosts and put
the host name entry in the correct order, for example:
1.2.3.4 host_name.domain_name.com host_name
The Fully qualified host name must be the first entry on the line after the IP address.
Your system does not meet configuration criteria
Additional info: