Bug 56247 - netconfig reads existing config incorrectly, swapping defaultroute gw and ns1
Summary: netconfig reads existing config incorrectly, swapping defaultroute gw and ns1
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: pump
Version: 7.2
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Eido Inoue
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-11-14 16:45 UTC by Bishop Clark
Modified: 2007-04-18 16:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-08-14 03:40:08 UTC
Embargoed:


Attachments (Terms of Use)

Description Bishop Clark 2001-11-14 16:45:33 UTC
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):


How reproducible:
Always

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.  

	

Actual Results:  
These last two values will be directly swapped.

Expected Results:  Normal execution, without swapped values

Additional info:

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 
swapped.

workaround:
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 
re-entry.

Just be extra careful, kids, and try this at home ; not on the box that's 5000 km away.

Comment 1 Bill Nottingham 2003-08-14 03:40:08 UTC
netconfig doesn't read the old network info at all.


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