Bug 13888 - GUI install w/ wrong DNS IP: localhost.localdomain used, /etc/hosts wrong.
Summary: GUI install w/ wrong DNS IP: localhost.localdomain used, /etc/hosts wrong.
Keywords:
Status: CLOSED DUPLICATE of bug 13486
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: anaconda
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Erik Troan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-07-13 08:32 UTC by Pekka Savola
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-07-15 15:58:38 UTC
Embargoed:


Attachments (Terms of Use)

Description Pekka Savola 2000-07-13 08:32:59 UTC
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
a   
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   
line
 - /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
wrong address.

Comment 1 Peter Petrakis 2000-07-14 14:08:45 UTC
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.



Comment 2 Matt Wilson 2000-07-15 15:40:26 UTC
User error - use the right IP for the DNS.


Comment 3 Pekka Savola 2000-07-15 15:58:36 UTC
I beg to differ.

The installer asks for [IIRC]
 - hostname
 - IP
 - default gateway
 - nameservers

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..)?




Comment 4 Pekka Savola 2000-08-07 08:04:14 UTC

*** This bug has been marked as a duplicate of 13486 ***


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