Red Hat Bugzilla – Bug 105813
cannot enter new hosts and it doesn't show current hosts
Last modified: 2007-04-18 12:57:56 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):
Steps to Reproduce:
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
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
Works for me with an updated redhat-config-network:
Care to try again with the updated version? Otherwise this should probably be
marked as RAWHIDE/CLOSED
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.
127.0.0.1 localhost.localdomain localhost
And nothing shows it the hosts tab under the application. I did that by hand.
There is code in this file that intentionally skips 127.0.0.1 addresses:
for host in prof.HostsList:
if host.IP == "127.0.0.1":
I tried commenting that out and it displayed the 127.0.0.1 addresses correctly,
I'm thinking this is probably by design.