FS#10365 - ifplugd 0.28-3
Attached to Project:
Arch Linux
Opened by Tom (huuggee) - Tuesday, 06 May 2008, 20:53 GMT
Last edited by Thayer Williams (thayer) - Saturday, 06 December 2008, 23:18 GMT
Opened by Tom (huuggee) - Tuesday, 06 May 2008, 20:53 GMT
Last edited by Thayer Williams (thayer) - Saturday, 06 December 2008, 23:18 GMT
|
Details
Description:
appears to be a bug in '/etc/ifplugd/ifplugd.action' when hotplugging ethernet cables, ifplugd.action references a (potentially outdated) wrong PID file for the dhcpcd of the interface. It currently looks to delete a PID file in '/etc/dhcpcd/' whilst on my freshly installed system the PIDs are stored in '/var/run/' Additional info: * ifplugd 0.28-3 * dhcpcd 3.2.1-1 (base) Steps to reproduce: ifplugd doesn't actually work as it fails to release a (dead) dhcpcd.pid file and therefore cannot request a new ip. Always reproduceable My Fix: Apologies that I can't make this into a patch - not quite sure how yet. This fixes my system. Change '/etc/ifplugd/ifplugd.action' line 24 < rm -f /etc/dhcpc/dhcpcd-${1}.{pid,cache} >/dev/null 2>&1 > rm -f /var/run/dhcpcd-${1}.{pid,cache} >/dev/null 2>&1 line 38 < /bin/kill `cat /etc/dhcpc/dhcpcd-${1}.pid` > /bin/kill `cat /var/run/dhcpcd-${1}.pid` |
This task depends upon
Closed by Thayer Williams (thayer)
Saturday, 06 December 2008, 23:18 GMT
Reason for closing: Won't implement
Additional comments about closing: Removed duplicate network code from ifplugd.action script
Saturday, 06 December 2008, 23:18 GMT
Reason for closing: Won't implement
Additional comments about closing: Removed duplicate network code from ifplugd.action script
dhcpcd -k ${1}
Instead of those rm and kill lines.