Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1260 - /etc/init.d/net.eth? stop doesn't kill dhcpcd
Summary: /etc/init.d/net.eth? stop doesn't kill dhcpcd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-20 12:11 UTC by Chad Huneycutt (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chad Huneycutt (RETIRED) gentoo-dev 2002-03-20 12:11:53 UTC
I noticed that after /etc/init.d/net.eth1 stop, dhcpcd was still running.  Upon
perusal of the init script I see why -- there is no attempt to stop it.  Was
this left out on purpose or just an oversight.  There is a test to check the
iface_eth1 line in start(), so I guess we just need a similar test in stop() to
determine if this is a dhcp interface and then just kill it in whatever means
dhcpcd recommends (maybe dhcpcd -k?).
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-03-20 23:15:45 UTC
this is already fixed on cvs, due to a earlier report.