Bug 105813 - cannot enter new hosts and it doesn't show current hosts
cannot enter new hosts and it doesn't show current hosts
Product: Red Hat Linux Beta
Classification: Retired
Component: redhat-config-network (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Harald Hoyer
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2003-09-27 20:59 EDT by Santiago Erquicia
Modified: 2007-04-18 12:57 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-02-05 09:09:21 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Santiago Erquicia 2003-09-27 20:59:54 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703

Description of problem:
When I try to enter a new host (because I was changing the name of the machine),
it asks the required information but when I add everything nothing happens.

When I try to close the application it asks if I want to save the changes.

After doing this by hand, editing /etc/hosts, it redhat-config-network doesn't
show what /etc/hosts says

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

How reproducible:

Steps to Reproduce:
1.open redhat-config-network
2.add a new host
3.press ok after entering the required information

Actual Results:  nothing happens (I don't know if the changes are made but it
doesn't show them)

Expected Results:  The information entered is shown in the application

Additional info:
Comment 1 Santiago Erquicia 2003-09-27 21:15:41 EDT
I am checking right now that after I made the changes at /etc/sysconfig/network
to change my hostname, redhat-config-network doesn't update it.  It keeps saying
localhost.localdomain, and when I try to close the application it asks about
applying the changes although this time I didn't anyone within the application
Comment 2 Dave Habben 2003-10-10 10:49:57 EDT
Works for me with an updated redhat-config-network:

Care to try again with the updated version? Otherwise this should probably be
Comment 3 Santiago Erquicia 2003-10-10 11:04:42 EDT
It keeps the same way with the updated redhat-config-network (1.3.7-1).

My /etc/sysconfig/networking/profiles/default/hosts says
# Do not remove the following line, or various programs
# that require network functionality will fail.	localhost.localdomain	localhost	argentina	

And nothing shows it the hosts tab under the application.  I did that by hand.
Comment 4 Dave Habben 2003-10-10 11:29:14 EDT
There is code in this file that intentionally skips addresses:

for host in prof.HostsList:
  if host.IP == "":

I tried commenting that out and it displayed the addresses correctly,
I'm thinking this is probably by design.

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