Bug 26378

Summary: ifup contains typo in DHCPCDARGS
Product: [Retired] Red Hat Linux Reporter: Need Real Name <mperkins>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-02-07 00:11:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 524565    

Description Need Real Name 2001-02-07 00:11:15 UTC
in the network initialization script 'ifup', there is a typo:

original file:

if [ "${PEERDNS}" = "no" ]; then
	PUMPARGS="${PUMPARGS} -d"
	DHCPDARGS="${DHCPDARGS} -R"
fi

should be:

if [ "${PEERDNS}" = "no" ]; then
	PUMPARGS="${PUMPARGS} -d"
	DHCPCDARGS="${DHCPCDARGS} -R"
fi

I couldn't figure out where PEERDNS should be set to "no", so I just put 
it in /etc/sysconfig/network-scripts/ifcfg-eth0

This bug will cause problems for users which wish to retain their 
/etc/resolv.conf file, while they are using dhcpcd.

Michael S. Perkins
Houston

Comment 1 Bill Nottingham 2001-02-07 00:31:40 UTC
Oops, will be fixed in 5.62-1.