Description of problem: system-config-network-gui allows you to save host entries with no ip, hostname or alias. A entry with for example only a ip will cause system-config-network-gui to fail at next startup. This entry will for crash system-config-network-gui cat /etc/sysconfig/networking/profiles/default/hosts 10.33.1.83 # Crashme 10.33.1.84 foo bar This problem is fixed in Fedora 11 (and maybe earlier). It not only does not allow you to save broken entries. It can parse them again and tell you that there is a error without crashing. Can you please make sure this fix goes into RHEL6 and possibly RHEL5.4. Version-Release number of selected component (if applicable): system-config-network-1.3.99.12-1.el5 RHEL5.3 How reproducible: create the following file with these /etc/sysconfig/networking/profiles/default/hosts 10.33.1.83 10.33.1.84 foo bar Or save a entry with only a IP no hostname and alias.
This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?".
I can reproduce it with system-config-network-1.3.99.12-1.el5. Fixed in system-config-network-1.3.99.22-1.el5. Popup showup: Error while parsing /etc/hosts: Wrong Hostname on line 3
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1195.html