Article View: linux.debian.bugs.dist
Article #608Bug#1120467: kea-dhcp4-server: fails to work on boot when serving DHCP on bridge interface
From: Thorsten Glaser
Date: Mon, 12 Oct 2026 17:30
Date: Mon, 12 Oct 2026 17:30
54 lines
4347 bytes
4347 bytes
Hi Guillem et al.
I forgot to update this bugreport with my recent findings, sorry.
We’re now using this, from Ansible as Jinja2 template:
{
"Dhcp4": {
"interfaces-config": {
// set by Ansible
"service-sockets-max-retries": 100,
"service-sockets-retry-wait-time": 7500,
// true aborts the daemon unless ALL interfaces can be used at startup
// false is safer and so we use it for monitored VMs
"service-sockets-require-all": {{ nagios_kea_dhcpd4 | default(false) | ternary('false', 'true') }},
"interfaces": {{ item.networks | dict2items | map(attribute='value') | selectattr('dhcpd', 'defined') | se>
},
[…]
That is, if the system is monitored anyway, try for a long time
(a few systems have network-manager, which during boot d̲i̲s̲a̲b̲l̲e̲s̲
the already-upped interfaces for half a minute or so again!) to
start all the sockets (here 100 times 7.5 seconds) and then (as
in the current state) keeps running, which is useful if some of
the NICs are plug-in and possibly not available.
If the system is not monitored, "service-sockets-require-all"
makes KEA exit if it cannot fire up all the sockets.
So, it turns out that KEA has both options but not enabled by
default.
I think any wait-until-online support will only move the window
of success or failure, and that the best option is to suggest
to users to modify the config accordingly. (Upstream is informed,
and they may or may not change the default config in future
releases.)
bye,
//mirabilos
--
Thorsten Glaser
Linux / Unix Developer
Tel.: +49 160 91168501
E-Mail: tglaser@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
Technical Details
Message-ID:
<NNs0x-573r-5@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NN9AB-4XeQ-9@gated-at.bofh.it> <LPzvj-bUfB-3@gated-at.bofh.it> <NN9AB-4XeQ-9@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Thorsten Glaser <tg@mirbsd.de> Newsgroups: linux.debian.bugs.dist Subject: Bug#1120467: kea-dhcp4-server: fails to work on boot when serving DHCP on bridge interface Date: Mon, 12 Oct 2026 19:30:01 +0200 Message-ID: <NNs0x-573r-5@gated-at.bofh.it> References: <NN9AB-4XeQ-9@gated-at.bofh.it> <LPzvj-bUfB-3@gated-at.bofh.it> <NN9AB-4XeQ-9@gated-at.bofh.it> X-Original-To: Guillem Jover <guillem@debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Oct 12 17:27:10 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.651 Reply-To: Thorsten Glaser <tg@mirbsd.de>, 1120467@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: isc-kea@packages.debian.org X-Debian-Pr-Message: followup 1120467 X-Debian-Pr-Package: kea-dhcp4-server X-Debian-Pr-Source: isc-kea X-Ms-Reactions: disallow Content-Language: ksh-Latn-DE-u-ca-iso8601-co-POSIX-kk-false-em-text-rg-denw-tz-utc-va-posix, de-DE-1901-u-ca-iso8601-co-POSIX-kk-false-em-text-rg-denw-tz-utc-va-posix, de-Latf-DE-1901-u-ca-iso8601-co-POSIX-kk-false-em-text-rg-denw-tz-utc-va-posix, en-GB-u-ca-iso8601-fw-mon-hc-h23-co-POSIX-kk-false-cu-eur-em-text-rg-denw-ms-metric-mu-celsius-tz-utc-va-posix, und-Zsym-u-ca-iso8601-fw-mon-hc-h23-co-POSIX-kk-false-cu-eur-em-text-rg-denw-ms-metric-mu-celsius-tz-utc-va-posix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996431 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 54 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Russell Coker <russell@coker.com.au>, 1120467@bugs.debian.org X-Original-Date: Mon, 12 Oct 2026 19:26:05 +0200 (CEST) X-Original-Message-ID: <11cc5da2-ae11-aa16-43db-e83c8cb95669@mirbsd.de> X-Original-References: <aswDa11AFkbtVUI-@thunder.hadrons.org> <176277853426.2.12753380274296195297.reportbug@xev> <aswDa11AFkbtVUI-@thunder.hadrons.org>