Red Hat Bugzilla – Bug 234764
Anaconda overrides static ethernet address for eth0
Last modified: 2007-11-30 17:12:00 EST
Description of problem:
During installation, I specified a static ip for eth0. When I rebooted,
the system tried to use dhcp to get an ip address. A quick look in
/etc/sysconfig/network-scripts showed that ifcfg-eth0 had been rewritten
to use dhcp and the static info had been moved to ifcfg-eth0.bak
Moving the ifcfg-eth0.bak to ifcfg-eth0 solves the problem.
Version-Release number of selected component (if applicable):
I tried it twice. Probably always happens.
Steps to Reproduce:
1. Install F7-t3 and specify static ip for eth0
I'm not sure this is anaconda's problem. Perform the installation again. When
it completes and says congratulations and the button in the lower right corner
is Reboot, press Ctrl+Alt+F2 to switch over to the 2nd virtual console.
Check the ifcfg scripts:
Check the contents of those scripts. If they contain your settings entered
during the installation process, that means they were written correctly.
Reboot, check the scripts again. If they have changed, then something during
initial boot has rewritten the scripts. I'm seeing this on a number of other
I did as you suggested and the ifcfg-eth0 has NOT been overwritten before the
boot. During the boot, I see a line saying that it is bringing up eth0 followed
by a line saying that it is trying to get the ip for eth0, so the dhcpcd is
being run for some reason at that point.
The /etc/init.d/network script is doing this and I don't know why.
Reassigning to initscripts component.
Fedora 7 test bugs should be filed against "devel", not against test1/2/3. This
isn't obvious, I know. Moving this report so it isn't lost.
This is a bulk message -- I apologize if this was actually meant to be targeted
against a different release. If so, please fix or let me know. Thanks.
*** Bug 235564 has been marked as a duplicate of this bug. ***
*** Bug 234950 has been marked as a duplicate of this bug. ***
*** Bug 234582 has been marked as a duplicate of this bug. ***
*** Bug 233507 has been marked as a duplicate of this bug. ***
Reassigning to anaconda.
anaconda is no longer writing HWADDR= lines in the ifcfg files - this is causing
problems when interfaces are added, removed, or loaded in a different order.
*** Bug 236462 has been marked as a duplicate of this bug. ***
Fixed in rawhide.
*** Bug 238061 has been marked as a duplicate of this bug. ***