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.
I rather think this pid file should go into /var/run with all the others. gentoo policy is explicit in not touching /etc.
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.
*** This bug has been marked as a duplicate of 9929 ***
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.