requiring the network to be configured for a service (KEA DHCPD)

Thorsten Glaser tglaser at b1-systems.de
Wed Apr 22 17:14:49 BST 2026


forwarded 1109690 https://gitlab.isc.org/isc-projects/kea/-/issues/4469
thanks

On Tue, 21 Apr 2026, Thorsten Glaser wrote:

>One is that, when the services start, the network is not precisely
>up and working yet, and so it logs…
>
>Apr 21 09:29:11 debian kea-dhcp4[1634]: WARN  DHCPSRV_NO_SOCKETS_OPEN no interf[…]
>
>… but starts successfully despite not working.

>I think this is something we need to address by a code change (abort
>instead of continuing when this particular error occurs)

Turns out that this will most likely be a one-liner; I’ve already
identified the correct place in the code as it’s the only one that
throws this warning.

https://gitlab.isc.org/isc-projects/kea/-/blob/master/src/lib/dhcpsrv/cfg_iface.cc#L92-94

Same code (lines 172ff.) in the 3.0.3 currently in testing/sid.
Changing that to somehow abort with an error, plus…

>plus a change in the unit to let systemd attempt to restart it… can it
>do this with a backoff (i.e. first after 30s, then after a minute, then
>after 3min, etc.)?

… this (someone who knows systemd please jump in) could do the trick.

Gruß
//Thorsten
-- 
Thorsten Glaser
Linux / Unix Developer
Tel.: +49 160 91168501
E-Mail: tglaser at b1-systems.de

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / https://www.b1-systems.de/
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt, HRB 3537



More information about the Pkg-systemd-maintainers mailing list