Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10359 - Clean up /etc/dhcpcd.pid on boot
Summary: Clean up /etc/dhcpcd.pid on boot
Status: RESOLVED DUPLICATE of bug 9929
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-06 20:23 UTC by Pat Double
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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 Pat Double 2002-11-06 20:23:28 UTC
There are some directories cleaned up on boot, such as pid files in /var, etc. 
I would like to see /etc/dhcpcd/dhcpcd*.pid cleaned up also. I had a machine 
halt a week ago and my NIC would not be initialized by dhcp. It turns out 
dhcpcd would not run because the pid file was still there. I removed the file 
and all is well. Adding this to the clean up would be nice. 
 
Thanks.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-11-07 00:17:32 UTC
I rather think this pid file should go into /var/run with all the others. gentoo
policy is explicit in not touching /etc.
Comment 2 Pat Double 2002-11-07 00:39:27 UTC
In this case, other files should be moved to /var/run as well. For each  
interface that is using dhcpcd there is:  
  
/etc/dhcpc/dhcpcd-ethX.cache  
/etc/dhcpc/dhcpcd-ethX.info  
/etc/dhcpc/dhcpcd-ethX.info.old (sometimes)  
/etc/dhcpc/dhcpcd-ethX.pid 
 
The *.info and *.info.old files are left after dhcpcd is shutdown. At least 
this is my experience. These don't seem to affect the next invocation of 
dhcpcd. 
 
Comment 3 SpanKY gentoo-dev 2002-11-07 01:17:40 UTC

*** This bug has been marked as a duplicate of 9929 ***
Comment 4 Pat Double 2002-11-24 06:13:49 UTC
I see the duplicate bug marked, that's fine. But what about the PID files for dhcpcd 
being put into /etc/dhcpc ? Should I file a new bug for this? It is still doing it for 
1.3.22_p3-r1.