Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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



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.

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