Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 153062 - system-config-network generates invalid static route file
Summary: system-config-network generates invalid static route file
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-network
Version: rawhide
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2005-04-01 07:13 UTC by Robert Nichols
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-10-15 14:50:00 UTC

Attachments (Terms of Use)

Description Robert Nichols 2005-04-01 07:13:04 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050323 Firefox/1.0.2 Fedora/1.0.2-1.3.1

Description of problem:
When adding an explicit static route to a network interface, if the
"Gateway" field is left blank the program does not complain, but a
subsequent invocation of system-config-network will complain about
an invalid static route file.  The route file with no "GATEWAYn="
entry works just fine when bringing upt the interface, but is
rejected for subsequent editing.

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

How reproducible:

Steps to Reproduce:
1. Run system-config-network.
2. Select an existing interface and click on "Edit".
3. Select the "Route" tab and click on "Add...".
4. Enter a valid Address and Subnet mask, but leave the Gateway field blank.
5. Click on "OK" in the Add/Edit dialog and in the Route dialog.
6. In the main dialog, select "Save" from the "File" menu.
7. Quit from the program.
8. Run system-config-network again.

Actual Results:  An error message popup appears stating, "Static routes file {interface_name} is invalid."  Upon entering the edit dialog again, the previously entered static route will be missing.

Expected Results:  The program should produce a static route file that it is able to parse.

Additional info:

The workaround is to always fill in the Gateway field even though the program does not complain about the blank field when saving the file.

Comment 1 Matthew Miller 2006-07-10 21:33:31 UTC
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.

Thank you!

Comment 2 Jiri Moskovcak 2007-10-15 14:36:08 UTC
It seems this bug is fixed in F8/rawhide.

Comment 3 Harald Hoyer 2007-10-15 14:50:00 UTC

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