Bug 101728 - anaconda does not add unqualified hostname in /etc/hosts
Summary: anaconda does not add unqualified hostname in /etc/hosts
Alias: None
Product: Red Hat Linux Beta
Classification: Retired
Component: anaconda (Show other bugs)
(Show other bugs)
Version: beta1
Hardware: i386 Linux
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Mike McLean
Depends On:
TreeView+ depends on / blocked
Reported: 2003-08-06 10:18 UTC by Jan Iven
Modified: 2007-04-18 16:56 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-04-24 18:56:26 UTC
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 10:20 UTC, Jan Iven
no flags Details | Diff

Description Jan Iven 2003-08-06 10:18:33 UTC
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 10:20:51 UTC
Created attachment 93429 [details]
patch to make ananconda write FQDN + hostname into /etc/hosts

Comment 2 Jan Iven 2003-08-06 10:29:30 UTC
Rational support link that acknowledges the problem:

Comment 3 Jeremy Katz 2003-08-07 18:33:34 UTC
Did something similar (not the exact patch, but the desired outcome)

Comment 4 Jeremy Katz 2006-04-24 18:56:26 UTC
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.