FS#9123 - /etc/ifplugd/ifplugd.action won't kill dhcpcd on ifdown because pid not stored and missing

Attached to Project: Arch Linux
Opened by Mika Hynnä (ighea) - Monday, 07 January 2008, 18:46 GMT
Last edited by Aaron Griffin (phrakture) - Tuesday, 22 January 2008, 00:53 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Kevin Piche (kpiche)
Architecture All
Severity High
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

ifplugd.action is using non-stored pid-files in /etc/dhcpc/ for dhcpcd to kill it when interface goes down but those files are never created by the action-script.

Additional info:
* package version(s):

at least ifplugd-0.28-3 in i686 stable

* config and/or log files etc.
/etc/ifplugd/ifplugd.action

Steps to reproduce:
Start ifplugd daemon and try attaching and removing interfaces/cables.
Dhcpcd daemons are not killed or told to renew leases.


One way to fix this is to use dhcpcd's pids stored in /var/run/.
dhcpcd handles removing it's own pid files when the client is killed.

Full fixed ifplugd.action script included as attachment.
This task depends upon

Closed by  Aaron Griffin (phrakture)
Tuesday, 22 January 2008, 00:53 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#7555 
Comment by Loic Nageleisen (lloeki) - Monday, 14 January 2008, 08:58 GMT
ideally, this would be fixed by #7555

Loading...