Red Hat Bugzilla – Bug 162648
Bad: system-config-network does not write out dhcp settings
Last modified: 2008-02-17 17:02:30 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4
Description of problem:
system-config-network does not write out the proper configuration for dhcp in ifcfg-eth0, but rather keeps the static IP configuration. Consequently, the network connection can't be established.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. In system-config-network, give eth0 a static IP. Save the settings, then stop/start the network.
2. Back to system-config-network, choose dhcp to get the IP information. Save, stop/start network.
3. Look at /etc/sysconfig/network-scripts/ifcfg-eth0. It's unchanged from the static IP configuration.
Actual Results: /etc/sysconfig/network-scripts/ifcfg-eth0 is unchanged from the static IP configuration. Other files in networking as well.
Expected Results: ifcfg-eth0 should have contained the dhcp settings, like so:
Strangely, if dhcp is chosen in system-config-network, the network card still gets an IP from the ISP, even with the static IP config in ifcfg-eth0 (erroneously written out by system-config-network), but there is no default gateway in the routing table. If the correct gateway is added manually, i.e.
route add default gw xx.xx.xx.xx eth0
then everything works fine.
This is not a fix for the network gui though.
If I reboot with enforcing=0 everything seems fine. Before that, I had selinux
on permissive. I did upgrade my system, and I saw some selinux update. I might
be wrong, but the problems might have started to manifest after the upgrade. At
any rate, disabling selinux fixes it, so there's some interaction between gnome
and selinux that produces the bug.
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 ?
Fedora Core 4 is no longer maintained.
Setting status to "INSUFFICIENT_DATA". If you can reproduce this bug in the
current Fedora release, please reopen this bug and assign it to the
corresponding Fedora version.