Red Hat Bugzilla – Bug 602688
system-config-network removes GATEWAYDEV from /etc/sysconfig/network
Last modified: 2018-10-27 09:39:28 EDT
Created attachment 422907 [details]
Description of problem:
If GATEWAYDEV is set in /etc/sysconfig/network, running system-config-network will remove the option without notice.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Add GATEWAYDEV=eth0 in /etc/sysconfig/network
2. Start system-config-network
3. Select File > Save
4. Check contents of /etc/sysconfig/network
GATEWAYDEV has been removed
GATEWAYDEV is left unchanged in /etc/sysconfig/network
This is from the fix for bug #78043, in netconfpkg/NCDeviceList.py:
# bug #78043
# we should have device specific gateways
# fixed this way, until we have a way to mark the
# default GATEWAY/GATEWAYDEV
cfg = Conf.ConfShellVar(netconfpkg.ROOT + SYSCONFNETWORK)
Removing the part that deletes gatewaydev fixes the issue.
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.
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.