Red Hat Bugzilla – Bug 101728
anaconda does not add unqualified hostname in /etc/hosts
Last modified: 2007-04-18 12:56:40 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):
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.
127.0.0.1 localhost.localdomain localhost
Expected Results: I would hope to have a line like
18.104.22.168 host.domain.com host
The small patch attached should fix this, but is untested. This is not a new
problem, 7..9 did it as well.
Created attachment 93429 [details]
patch to make ananconda write FQDN + hostname into /etc/hosts
Rational support link that acknowledges the problem:
Did something similar (not the exact patch, but the desired outcome)
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.