<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-15"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Riley, Liz (ACHE) wrote:<br>
<br>
<span style="white-space: pre;">>>does anybody know why all
RedHat installations writes the<br>
>>hostname into the file /etc/hosts behind the line<br>
>> 127.0.0.1 localhost.localdomain localhost myhost<br>
><br>
><br>
><br>
>Interesting.<br>
><br>
>Mine doesn't have the "myhost" at the end. In fact, mine leaves
that<br>
>line well alone..<br>
><br>
>As 127.0.0.1 localhost.localdomain localhost<br>
><br>
>Its actual IP is on the line below such as<br>
><br>
>x.x.x.x myhost myhost.mydomain.com<br>
><br>
>Ive not seen it mix like that..<br>
></span><br>
This configuration is the default if you enter during any RedHat<br>
installation a hostname. I observed that in RH6.2, RH7.1, RH7.3,<br>
RHEL3 and RHEL4.  I always had to remove it later, but then the<br>
graphical tools leave it as it should be.<br>
But lately it looks, as if some graphical tools add this hostname too.<br>
A colegue is swearing that he did not enter the name during<br>
installation, but only defines hostname and DNS hostanme in<br>
'redhat-config-printer' and the suspicious line had ben there.<br>
All out systems get their IP address with DHCP, therefore not line<br>
like 'x.x.x.x myhost myhost.mydomain.com' are present,<br>
all name resolution depends on the DNS names, and with the incorrect<br>
localhost line, many programes do not work<br>
<br>
Günter<br>
<br>
<br>
<br>
- --<br>
Dr. Günter Schmidt   |   E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:gsc@bruker.de">gsc@bruker.de</a><br>
NMR Software         |   Tel: +49 721 5161 443<br>
Bruker BioSpin GmbH  |   Fax: +49 721 5161 480<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.2.1 (GNU/Linux)<br>
<br>
iD8DBQFC3jaK29/IpRbBQo8RAj1bAJ4xjB/fipOL5PAgnvxC5Ks1gbfUiwCfSeIQ<br>
oogYfhqBlWFzOfUN6+dRdwA=<br>
=A/YI<br>
-----END PGP SIGNATURE-----<br>
<br>
</body>
</html>