dhcpcd icon indicating copy to clipboard operation
dhcpcd copied to clipboard

BSD: dhcpcd --release returns "ps_ctl_handleargs: cannot handle another client"

Open Kerrnel opened this issue 1 year ago • 1 comments

Use case:

call dhcpcd with all devices in management mode, release others after 1st returns a lease in script

_dhcp 2230 0.0 0.0 13280 3040 - SC 06:39 0:04.91 dhcpcd: [manager] [ip4] [ip6] (dhcpcd) root 9201 0.0 0.0 13276 2928 - S 06:39 0:03.85 dhcpcd: [privileged proxy] (dhcpcd) _dhcp 9202 0.0 0.0 13276 2892 - SC 06:39 0:00.63 dhcpcd: [network proxy] (dhcpcd) _dhcp 9204 0.0 0.0 13148 2888 - SC 06:39 0:00.71 dhcpcd: [control proxy] (dhcpcd) _dhcp 11276 0.0 0.0 13276 2908 - IC 06:39 0:00.00 dhcpcd: [BPF ARP] igc0 9.23.7.11 (dhcpcd) _dhcp 11947 0.0 0.0 13276 2912 - IC 06:39 0:00.00 dhcpcd: [BPF ARP] igc1 10.7.2.244 (dhcpcd)

Trying - e.g. to stop PID 11947 with dhcpcd -k igc1 - this error message is returned. The 10.7.2.244 was issued by dhcpd on the same machine subsequently because dhcpcd did not stop listening as requested.

OS: FreeBSD 14.1 Version: 10.0.x - upgraded to 10.1.x - same behavior

Kerrnel avatar Nov 05 '24 02:11 Kerrnel

By script do you mean a dhcpcd hook or dhcpcd script or something else?

rsmarples avatar Nov 06 '24 22:11 rsmarples