Description of problem: After starting install with linux askmethod, I had the text-mode setup get the IP information from the DHCP server. I then went back and manually edited the gateway and the DNS server. Regardless of what I did, it "remembered" the DHCP server IP address, and refused to change it. Version-Release number of selected component (if applicable): How reproducible: Once but repeatable Steps to Reproduce: 1. Start install by using linux askmethod 2. Choose HTTP install 3. Obtain IP address from DHCP server 4. When asked to provide server and location, go back and attempt to change the DNS information manually. Actual results: Regardless of the changes to the DNS server IP, it "remembered" the old values. Expected results: Change the DNS information to what the user input. Additional info:
Hmm, I have a fix to this, but it seems to cause name resolution afterwards to fail. Putting it here so that I don't forget what I tried. Index: loader2//net.c =================================================================== RCS file: /cvs/devel/anaconda/loader2/net.c,v retrieving revision 1.30 diff -u -u -r1.30 net.c --- loader2//net.c 20 Sep 2003 03:31:30 -0000 1.30 +++ loader2//net.c 21 Oct 2003 23:18:43 -0000 @@ -526,11 +526,9 @@ } } - if (!(cfg->dev.numDns)) { - if (c.ns && *c.ns && inet_aton(c.ns, &addr)) { - cfg->dev.dnsServers[0] = addr; - cfg->dev.numDns = 1; - } + if (c.ns && *c.ns && inet_aton(c.ns, &addr)) { + cfg->dev.dnsServers[0] = addr; + if (cfg->dev.numDns == 0) cfg->dev.numDns = 1; } newtPopWindow();
Committed a slightly different fix to CVS
Mass-closing lots of old bugs which are in MODIFIED (and thus presumed to be fixed). If any of these are still a problem, please reopen or file a new bug against the release which they're occurring in so they can be properly tracked.