Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 101728 - anaconda does not add unqualified hostname in /etc/hosts
anaconda does not add unqualified hostname in /etc/hosts
Product: Red Hat Linux Beta
Classification: Retired
Component: anaconda (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2003-08-06 06:18 EDT by Jan Iven
Modified: 2007-04-18 12:56 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-04-24 14:56:26 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch to make ananconda write FQDN + hostname into /etc/hosts (505 bytes, patch)
2003-08-06 06:20 EDT, Jan Iven
no flags Details | Diff

  None (edit)
Description Jan Iven 2003-08-06 06:18:33 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703

Description of problem:
While writing /etc/hosts during installation, anaconda only writes a line with
IP + FQDN into /etc/hosts.

This causes DNS lookups for the unqualified hostname, and apparently  prevents
Rational Rose 2001 from running.

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

How reproducible:

Steps to Reproduce:
1.(happens on installs where the network is configured)


Actual Results:  # Do not remove the following line, or various programs
# that require network functionality will fail.		localhost.localdomain localhost		lxcert03.cern.ch

Expected Results:  I would hope to have a line like		host.domain.com host
in /etc/hosts

Additional info:

The small patch attached should fix this, but is untested. This is not a new
problem, 7..9 did it as well.
Comment 1 Jan Iven 2003-08-06 06:20:51 EDT
Created attachment 93429 [details]
patch to make ananconda write FQDN + hostname into /etc/hosts
Comment 2 Jan Iven 2003-08-06 06:29:30 EDT
Rational support link that acknowledges the problem:
Comment 3 Jeremy Katz 2003-08-07 14:33:34 EDT
Did something similar (not the exact patch, but the desired outcome)
Comment 4 Jeremy Katz 2006-04-24 14:56:26 EDT
Mass-closing lots of old bugs which are in MODIFIED (and thus presumed to be
fixed).  If any of these are still a problem, please reopen or file a new bug
against the release which they're occurring in so they can be properly tracked.

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