Bug 26378 - ifup contains typo in DHCPCDARGS
Summary: ifup contains typo in DHCPCDARGS
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks: 524565
TreeView+ depends on / blocked
 
Reported: 2001-02-07 00:11 UTC by Need Real Name
Modified: 2014-03-17 02:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-02-07 00:11:20 UTC
Embargoed:


Attachments (Terms of Use)

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.


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