Bug 52830

Summary: ifdown kills _all_ dhcpcd processes (if it finds dhcpcd)
Product: [Retired] Red Hat Linux Reporter: David Sainty <saint>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: 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-08-29 22:56:15 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:

Description David Sainty 2001-08-29 18:58:35 UTC
Description of Problem:
Either remove a 16bit PC card or use "ifdown eth<x>" where you have more
than one interface using dhcpcd.  (This was not an issue w/ pump.)

/etc/sysconfig/network-scripts/ifdown

-               killall dhcpcd
+               dhcpcd -k ${DEVICE}

^^^ this fixes the problem.

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

How Reproducible:
Always

Actual Results:
All interfaces using dhcpcd are taken down, not just one.

Expected Results:
Only the relevant interface should be taken down, not every interface that
happens to use dhcpcd.

Comment 1 David Sainty 2001-08-29 22:56:11 UTC
Fix is to use:

kill `cat /var/run/dhcpcd-${DEVICE}.pid`


Comment 2 Bill Nottingham 2001-08-30 02:24:50 UTC
fixed in 6.33-1 - thanks!