Bug 162648 - Bad: system-config-network does not write out dhcp settings
Bad: system-config-network does not write out dhcp settings
Status: CLOSED INSUFFICIENT_DATA
Product: Fedora
Classification: Fedora
Component: system-config-network (Show other bugs)
4
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Harald Hoyer
:
Depends On:
Blocks: 87718 162902
  Show dependency treegraph
 
Reported: 2005-07-07 03:46 EDT by Amadeus W. M.
Modified: 2008-02-17 17:02 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-02-17 17:02:30 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Amadeus W. M. 2005-07-07 03:46:32 EDT
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):
system-config-network-1.3.26-1

How reproducible:
Always

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:

DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:03:6D:13:71:91
ONBOOT=yes
TYPE=Ethernet
DHCP_HOSTNAME=phoenix



Additional info:

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.
Comment 1 Amadeus W. M. 2005-07-10 00:54:46 EDT
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.
Comment 2 Christian Iseli 2007-01-19 19:23:33 EST
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 ?

Thanks.
Comment 3 petrosyan 2008-02-17 17:02:30 EST
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.

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