Bug 56247 - netconfig reads existing config incorrectly, swapping defaultroute gw and ns1
Summary: netconfig reads existing config incorrectly, swapping defaultroute gw and ns1
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: pump   
(Show other bugs)
Version: 7.2
Hardware: i686 Linux
Target Milestone: ---
Assignee: Eido Inoue
QA Contact:
Depends On:
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:
Story Points: ---
Clone Of:
Last Closed: 2003-08-14 03:40:08 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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:

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 

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.

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.