Red Hat Bugzilla – Bug 247807
Can't go back to "TCP/IP Configuration" screen after choosing "OK" on anaconda
Last modified: 2007-11-30 17:12:10 EST
LTC Owner is: firstname.lastname@example.org
LTC Originator is: email@example.com
When we begin a network installation of the Fedora 7 GA'd, anaconda asks for
network configuration if you choose to manually configure your network. Then you
have just one chance of filling it correctly, because if you want to modify some
configuration after going to the next screen, anaconda doesn't allow you to do
that. So to modify it you will need to reboot the machine and start the process
This is reproducible in any hardware platform.
Steps to reproduce:
1 - netboot your F7GA image
2 - Choose a Language -> English -> OK
3 - Installation Method -> NFS directory -> OK
4 - Networking Device -> eth1 -> OK
5 - Configure TCP/IP -> Select Manual configuration for IPv4 and Automatic for
IPv6 -> OK
6 - Manual TCP/IP Configuration -> Fill the ethernet configuration -> OK
7 - NFS Setup -> back -> You will have to reboot your computer if you want to
manually configure the ethernet again.
After gdb'ing a little bit I could find the root cause. There is some parts of
the manual configuration on the loader code that are mixed with kickstart
installations code. So, when you configure your network for the first time, it
sets up a variable (loaderData->ipinfo_set) indicating that you've done it. This
same variable is used on kickstart installations. Right before asking the user
to configure the network, the loader checks this variable in order to determine
whether or not it should ask the user to do so. Since the loader doesn't want to
ask the user to do anything on a kickstart installation, there is some code to
skip the tcp/ip configuration step if the variable above is set. So, I'm
attaching a simple patch to fix this. The patch will reset this variable
(loaderData->ipinfo_set) if the user presses back during the NFS confguration
step (actually, not only NFS but any network method), thus being able to
reconfigure the network.
Created attachment 158959 [details]
Thanks for the patch. This will be in the next build of anaconda.
----- Additional Comments From firstname.lastname@example.org 2007-07-11 14:10 EDT -------
------- Comment From email@example.com 2007-10-04 16:42 EDT-------
It is working! I tested the rawhide Fedora from October 03.
There is a small problem, but I think this won't hurt:
When you hit "NFS Setup -> back" it returns to the "Configure TCP/IP" screen
instead of returning to "Manual TCP/IP Configuration" and it selects DHCP for
IPv4 instead of keeping your old choice, "Manual configuration". This is a minor
I will close this bug as it is fixed! Thanks for the work here!