Red Hat Bugzilla – Bug 56247
netconfig reads existing config incorrectly, swapping defaultroute gw and ns1
Last modified: 2007-04-18 12:38:16 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.7 [en] (Win98; U)
Description of problem:
subsequent requests via netconfig to alter static config information on an interface appears to include netconfig misreading existing info,
and presenting a dialog that will trap the unwary into swapping their gw and ns1 host entries.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.use netconfig to statically configure eth0
2.run netconfig again
3.begin entering identical information until netconfig pops up its guesses for gw and ns1.
These last two values will be directly swapped.
Expected Results: Normal execution, without swapped values
Note that the data files containing the information - namely resolv.conf and efcfg-eth0 - did appear to contain the correct info, and it is
merely in netconfig's attempt to read this info and hint the info to the user (incompletely, it may be noted) where the information is
This bug is one that affects connectivity and routing. Therefore, it's being reported. The creful user - we're all careful, right? - will notice
this situation in his/her ample spare time that is alotted for running every single configuration command, and swap the numbers on
Just be extra careful, kids, and try this at home ; not on the box that's 5000 km away.
netconfig doesn't read the old network info at all.