Red Hat Bugzilla – Bug 183337
system-config-network doesn't check route fields
Last modified: 2008-08-02 19:40:33 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.12) Gecko/20060202 Fedora/1.0.7-1.2.fc4 Firefox/1.0.7
Description of problem:
If I add a route using the dialogue box, I can close the box without filling in all the fields. This superficially seems like the right thing to do if adding a route to a single host on a local subnet.
If I do this, the application closes OK and writes a route-eth0 file that (if I've picked the right values) works, but which system-config-network complains about and erases when next run.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run system-config-network
2. select a device and click edit
3. click on the route tab and then Add
4. fill in 10.0.0.1 in the address field
5. fill in 255.255.255.255 in the netmask field
6. leave the gateway field blank and close and save
Actual Results: creates route-<device> that it objects to on subsequent run -- and deletes if the configuration is saved.
Expected Results: Either it should complain about the empty field, fill in an appropriate value (0.0.0.0?) or not complain when next run. At any rate, it should only produce route-<dev> files that (a) don't produce errors when the network is brought up and (b) are acceptable to itself as input.
For adding a route to a single host it would make sense not to have to type in even a netmask; ie if netmask and gateway are left blank it should just add a route to a host through the selected device.
This report targets the FC3 or FC4 products, which have now been EOL'd.
Could you please check that it still applies to a current Fedora release, and
either update the target product or close it ?
The bug is still present in FC6 with
This bug doesn't occur with FC8 system-config-network-1.4.3-1.fc8