Bug 17352 - Hostname settings
Summary: Hostname settings
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: installer
Version: 6.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michael Fulbright
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-09-08 10:24 UTC by Need Real Name
Modified: 2007-04-18 16:28 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-09-08 18:28:45 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2000-09-08 10:24:06 UTC
After setting hostname and network definitions, the resulting /etc/hosts is
strange.

Example :
during installation process, I set the hostname to : myhost.mydomain
Next I set for my Ethernet adaptator : IP 10.1.1.1 NetMask : 255.0.0.0

The resulting /etc/hosts is :
# --- /etc/hosts begin ---
127.0.0.1		localhost.localdomain	localhost		myhost.mydomain 
# --- /etc/host end

I think it should be better like this :
# --- /etc/hosts begin ---
127.0.0.1		localhost.localdomain	localhost
10.1.1.1		myhost.mydomain		myhost
# --- /etc/hosts end ---

These are the settings I use now. I fund this probleme when trying to
connect client Corba App to a Corba server running on a distant machine.
The IOR created by Corba server was containing localhost.localdomain as
server Id so the distant client couldn't connect via this IOR. This has
appended with to differents ORBs (ORBit, omniOrb). With new hosts settings
all is running well.

linuxconf doesn't seem to be affected by this problem. 
I Didn't  tried this to other RedHat version than 6.1 (Cartman).


Kind Regards


Sebastien Devaux
ACCOM Multimedia
45 rue St Sebastien
75011 Paris
FRANCE

sde

Comment 1 Michael Fulbright 2000-09-08 18:28:43 UTC
We tried to improve this behavior in 6.2. There are lots of ways to create the
/etc/hosts file (so that
laptops which are not always connected to a network work ok, for example), and
sometimes it will require
menually changing /etc/hosts to get it right for a particular situation.


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