Bug 53259 - netconfig (pump) doesn't honor --nameserver arg.
Summary: netconfig (pump) doesn't honor --nameserver arg.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: pump
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Eido Inoue
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-09-05 17:32 UTC by John Clemens
Modified: 2007-04-18 16:36 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-01-05 15:59:52 UTC
Embargoed:


Attachments (Terms of Use)

Description John Clemens 2001-09-05 17:32:36 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801

Description of problem:
On a vanilla RedHat 7.1 box, setting up the networking using the command
line version of 'netconfig' doesn't work with the --nameserver arguement. 
This is very important for custom configuration scripts.  This worked in
6.2 (running 'netconfig --device=eth0 --nameserver=5.5.5.5' would add a
"NS1=5.5.5.5" to the /etc/sysconfig/network-scripts/ifcfg-eth0 file, and
configure networking accordingly.)  Looking at the source code, this option
appears to be silently ignored.

Questions:  How does one set up the nameserver through netconfig command
line arguements now?  Why does this documented feature silently fail? and
what other options are there for specifying the DNS server through the
command line?

thank you,
john.c

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. run 'netconfig --device=eth20 --bootproto=none --ip=1.1.1.1
--netmask=255.255.255.0 --gateway=1.1.1.2 --nameserver=5.5.5.5
2. look at the resulting /etc/sysconfig/network-scripts/ifcfg-eth20
3. Notice nowhere is there a "NAMESERVER=" or "NS1=" option.
	

Actual Results:  see above.

Expected Results:  there should be a NAMESERVER= or NS1= or something in
the ifcfg-? file that will tell the networking to reconfigure the DNS for
this interface.


Additional info:

Comment 1 Eido Inoue 2004-01-05 15:59:52 UTC
closing as supported products don't use pump anymore


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