Bug 23748 - /etc/hosts does not include a line for node's hostname
/etc/hosts does not include a line for node's hostname
Product: Red Hat Linux
Classification: Retired
Component: anaconda (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Erik Troan
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-01-10 17:32 EST by Joseph Kotran
Modified: 2007-04-18 12:30 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-04-02 11:37:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Joseph Kotran 2001-01-10 17:32:09 EST

	Please note that after a clean install of beta 2 /etc/hosts does not
contain an entry for the node's hostname.  The node is a DHCP client.

Example:	localhost.localdomain	localhost	kismet.domain.com	kismet
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   NOT ADDED BY ANACONDA

				Best regards,

				Joe Kotran
Comment 1 Daniel Roesen 2001-01-11 07:52:04 EST
Wouldn't that be correct? I mean if your host is a DHCP client its IP address
changes anyway?!?
Comment 2 Joseph Kotran 2001-01-11 11:46:13 EST
Good day,

	Our DHCP client's IP addresses do not change.  We use DHCP to reduce
configuration errors and to save Systems Administration time.  We use static
address for security and development purposes.  A number of our developers
depend upon a fixed IP address.

				Joe Kotran

P.S.  Also, the Solaris DHCP client does add the host information to
/etc/hosts.  This is true for both static and dynamic addresses.
Comment 3 Erik Troan 2001-04-02 17:54:43 EDT
Anaconda is correct because of setups with dynamic dns, for example. Not adding
this doesn't hurt your situation, but it can hurt others.

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