🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
3 messages
3 total messages Started by Marco d'Itri Thu, 15 Oct 2026 09:30
Bug#1150960: all DNSSEC-enabled resolvers must depend on dns-root-data
#936
Author: Marco d'Itri
Date: Thu, 15 Oct 2026 09:30
57 lines
3756 bytes
--qsS50EwkETCVItAf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: debian-policy
Version: 4.7.4.1
Severity: normal

DNSSEC-enabled DNS resolvers must depend on the dns-root-data package=20
instead of shipping built-in trust anchors.
The dns-root-data is a trivial, arch:all package whose only purpose is=20
to provide a current DNS root zone and DNSSEC trust anchors, even for=20
end of support Debian releases.

Short summary for people who are not familiar with DNSSEC: domains=20
resolution will stop working if the trust anchors are not up to date.
There is a mechanism (RFC 5011) to update them automatically in band,=20
but it requires that the resolver was working *before* the rollover.

Due to complex reasons (pandemic, end of life HSMs...) only three root=20
zone KSKs have been deployed so far[1] since 2010, the most recent one=20
last Sunday, but the current IANA plan[1] is to rotate the root KSK=20
every 3 years.  This means that this failure will be much more frequent=20
in the future.

Most important DNS resolvers already depend on dns-root-data: bind9,=20
pdns-recursor, knot-resolver6.
Some important DNS resolvers only recommend dns-root-data: unbound,=20
dnsmasq-base.
Only one important DNS resolver does not use dns-root-data (but AFAICT=20
could with just a symlink): systemd-resolved.

Embarrassing failures:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1150730
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2170538

[1] https://www.iana.org/dnssec/files
[2] https://www.icann.org/en/system/files/files/proposal-future-rz-ksk-roll=
overs-01nov19-en.pdf

--=20
ciao,
Marco

--qsS50EwkETCVItAf
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQQnKUXNg20437dCfobLPsM64d7XgQUCatCcqQAKCRDLPsM64d7X
gb6VAP44NGXuV2M0YOp/iFAmb1M525PuN2++k3LQsLEJ1BvRJwEAlBlCFWe9JEyJ
xk24FWZXIrKW9VQIbujHkySt1bGNSg8=
=8b5j
-----END PGP SIGNATURE-----

--qsS50EwkETCVItAf--
Bug#1150960: all DNSSEC-enabled resolvers must depend on dns-root-data
#1513
Author: Lukas Tribus
Date: Wed, 21 Oct 2026 09:40
89 lines
6342 bytes
Hello,

unbound actually fails to startup on both bookwork and trixie, when
installing without recommends:

This is on a fresh bookworm install after a "apt-get install unbound":

Oct 21 08:26:44 debian-4gb-hel1-1 systemd[1]: Starting unbound.service
- Unbound DNS server...
Oct 21 08:26:44 debian-4gb-hel1-1 unbound[1032]: [1032:0] notice: init
module 0: subnetcache
Oct 21 08:26:44 debian-4gb-hel1-1 unbound[1032]: [1032:0] notice: init
module 1: validator
Oct 21 08:26:44 debian-4gb-hel1-1 unbound[1032]: [1032:0] error:
unable to open /var/lib/unbound/root.key for reading: No such file or
directory
Oct 21 08:26:44 debian-4gb-hel1-1 unbound[1032]: [1032:0] error: error
reading auto-trust-anchor-file: /var/lib/unbound/root.key
Oct 21 08:26:44 debian-4gb-hel1-1 unbound[1032]: [1032:0] error:
validator: error in trustanchors config
Oct 21 08:26:44 debian-4gb-hel1-1 unbound[1032]: [1032:0] error:
validator: could not apply configuration settings.
Oct 21 08:26:44 debian-4gb-hel1-1 unbound[1032]: [1032:0] error:
module init for module validator failed
Oct 21 08:26:44 debian-4gb-hel1-1 unbound[1032]: [1032:0] fatal error:
failed to setup modules
Oct 21 08:26:44 debian-4gb-hel1-1 systemd[1]: unbound.service: Main
process exited, code=exited, status=1/FAILURE
Oct 21 08:26:44 debian-4gb-hel1-1 systemd[1]: unbound.service: Failed
with result 'exit-code'.
Oct 21 08:26:44 debian-4gb-hel1-1 systemd[1]: Failed to start
unbound.service - Unbound DNS server.
Oct 21 08:26:44 debian-4gb-hel1-1 systemd[1]: unbound.service:
Scheduled restart job, restart counter is at 5.
Oct 21 08:26:44 debian-4gb-hel1-1 systemd[1]: Stopped unbound.service
- Unbound DNS server.
Oct 21 08:26:44 debian-4gb-hel1-1 systemd[1]: unbound.service: Start
request repeated too quickly.
Oct 21 08:26:44 debian-4gb-hel1-1 systemd[1]: unbound.service: Failed
with result 'exit-code'.
Oct 21 08:26:44 debian-4gb-hel1-1 systemd[1]: Failed to start
unbound.service - Unbound DNS server.


This is on a fresh trixie install after a "apt-get install unbound":

Oct 21 08:41:38 debian-4gb-hel1-1 systemd[1]: Starting unbound.service
- Unbound DNS server...
Oct 21 08:41:38 debian-4gb-hel1-1 unbound[1405]: [1405:0] notice: init
module 0: validator
Oct 21 08:41:38 debian-4gb-hel1-1 unbound[1405]: [1405:0] error:
unable to open /var/lib/unbound/root.key for reading: No such file or
directory
Oct 21 08:41:38 debian-4gb-hel1-1 unbound[1405]: [1405:0] error: error
reading auto-trust-anchor-file: /var/lib/unbound/root.key
Oct 21 08:41:38 debian-4gb-hel1-1 unbound[1405]: [1405:0] error:
validator: error in trustanchors config
Oct 21 08:41:38 debian-4gb-hel1-1 unbound[1405]: [1405:0] error:
validator: could not apply configuration settings.
Oct 21 08:41:38 debian-4gb-hel1-1 unbound[1405]: [1405:0] error:
module init for module validator failed
Oct 21 08:41:38 debian-4gb-hel1-1 unbound[1405]: [1405:0] fatal error:
failed to init modules
Oct 21 08:41:38 debian-4gb-hel1-1 systemd[1]: unbound.service: Main
process exited, code=exited, status=1/FAILURE
Oct 21 08:41:39 debian-4gb-hel1-1 systemd[1]: unbound.service: Failed
with result 'exit-code'.
Oct 21 08:41:39 debian-4gb-hel1-1 systemd[1]: Failed to start
unbound.service - Unbound DNS server.
Oct 21 08:41:39 debian-4gb-hel1-1 systemd[1]: unbound.service:
Scheduled restart job, restart counter is at 5.
Oct 21 08:41:39 debian-4gb-hel1-1 systemd[1]: unbound.service: Start
request repeated too quickly.
Oct 21 08:41:39 debian-4gb-hel1-1 systemd[1]: unbound.service: Failed
with result 'exit-code'.
Oct 21 08:41:39 debian-4gb-hel1-1 systemd[1]: Failed to start
unbound.service - Unbound DNS server.


So for this reason alone I think dns-root-data should be a strong dependency.

I do agree that when dns-root-data data is only *copied* *during
install*,it  is less useful for future updates. It would need symbolic
links and maybe restart triggers instead. I don't know what the best
way to achieve this is.


Regards,
Lukas
Bug#1150960: all DNSSEC-enabled resolvers must depend on dns-root-data
#1515
Author: Michael Tokarev
Date: Wed, 21 Oct 2026 09:50
28 lines
2832 bytes
On 10/21/26 12:18, Lukas Tribus wrote:
> Hello,
> 
> unbound actually fails to startup on both bookwork and trixie, when
> installing without recommends:

Yes I know. Exactly as I wrote before, -- dns-root-data is needed only
for the first start, when its file is copied to unbound dir.  It is not
used anymore after the first startup, - it is used only as initial seed,
unbound keeps it updated internally.

  > So for this reason alone I think dns-root-data should be a strong dependency.

yeah, I had a bug about this already.

> I do agree that when dns-root-data data is only *copied* *during
> install*,it  is less useful for future updates. It would need symbolic
> links and maybe restart triggers instead. I don't know what the best
> way to achieve this is.

I'll think about it more.

Note that unbound itself has built-in copy of the root key, and effectively
I force-replace it with dns-root-data.

Thanks,

/mjt
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads