Red Hat Bugzilla – Bug 13888
GUI install w/ wrong DNS IP: localhost.localdomain used, /etc/hosts wrong.
Last modified: 2008-05-01 11:37:56 EDT
I did a fresh GUI workstation install.
This computer has two network interfaces. I chose to enable eth0 in
install, entered all data for it including the hostname. HOWEVER, I put in
wrong IP for DNS server. This (either just GUI or both GUI and wrong IP)
causes the following:
- /etc/hosts is setupped wrong: myhost.mydoma.in etc. are in localhost
- /etc/sysconfig/network etc. define hostname as localhost.localdomain.
I haven't done any GUI installs since RH 6.1, so I don't know if this
issue is with the wrong DNS server or something else.
TUI installs using _correct_ DNS address works fine. Haven't tried with
NFS install, have been able to reproduce consistantly on Alpha with one network
card. It will set the proper hostname in /etc/hosts but /etc/sysconfig/network
will still say localhost.localdomain.
User error - use the right IP for the DNS.
I beg to differ.
The installer asks for [IIRC]
- default gateway
If all the other entries are filled correctly, why should an incorrect
nameserver entry cause them to be configured wrong?
I think that hostname should automatically be entered into
/etc/sysconfig/network. Also, IP address, hostname -pair should be written to
/etc/hosts from the settings above. And lastly, /etc/resolv.conf would have the
nameservers as defined.
Now entering a wrong nameserver entry kills (almost) the whole network
configuration, so to speak. What if the user just wanted to install from a site
where there actually is no connectivity yet (It's a CD-ROM install after all..)?
*** This bug has been marked as a duplicate of 13486 ***