🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.policy
Article #2

Bug#1150960: all DNSSEC-enabled resolvers must depend on dns-root-data

#2
From: Lukas Tribus
Date: Wed, 21 Oct 2026 09:40
89 lines
6421 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
Technical Details
Message-ID: <NQAXE-6X5Z-9@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <NOpWF-5EQS-1@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!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Lukas Tribus <debian-bugs@ltri.eu>
Newsgroups: linux.debian.bugs.dist,linux.debian.policy
Subject: Bug#1150960: all DNSSEC-enabled resolvers must depend on dns-root-data
Date: Wed, 21 Oct 2026 11:40:02 +0200
Message-ID: <NQAXE-6X5Z-9@gated-at.bofh.it>
References: <NOpWF-5EQS-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Oct 21 09:35:10 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Lukas Tribus <debian-bugs@ltri.eu>, 1150960@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-policy@lists.debian.org
X-Debian-Pr-Message: followup 1150960
X-Debian-Pr-Package: debian-policy
X-Debian-Pr-Source: debian-policy
X-Forwarded-Encrypted: i=1; AKwUvByakfdTUpKtcabRqLO+eRIxcjpiylDS+F5ABpuDZm6+2s62oeqETSRZHp9c0MzPvl6D7UlP+Qmu@bugs.debian.org
X-Gm-Message-State: AFq9FYKJQSge2yuB8nsfofsf7Gs0BwFWypTSTOKCcxekYK30X2mPkH9q
	5iLj0+fsOf2mrRupju1ljYciVuG3Zeq2XcojJt416IUgfxs89lC+4xyv3jJulUhigirpuGLdGYx
	l4iCuhwT0i8TsVHY7epHt5KlG3ENqe8E=
X-Received: by 2002:a05:6214:2f04:b0:91c:1203:6f2f with SMTP id
 6a1803df08f44-91c12f3c3cdmr24024756d6.58.1792574348498; Wed, 21 Oct 2026
 02:19:08 -0700 (PDT)
MIME-Version: 1.0
X-Gmail-Original-Message-ID: <CACC_My87NVceKpOs+fbe3xYhHDbgd1Oe6Vp7UxjxCM--_39D=Q@mail.gmail.com>
X-Gm-Features: AclHuK_XqW2Ce7kHXugNWTHwV5YKoRlB8Jj3gNrQIXde2ydOr8RJA8Qg1kiVyq8
Content-Type: text/plain; charset="UTF-8"
X-Greylist: delayed 901 seconds by postgrey-1.37 at buxtehude; Wed, 21 Oct 2026 09:34:12 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1997883
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 89
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 21 Oct 2026 11:18:58 +0200
X-Original-Message-ID: <CACC_My87NVceKpOs+fbe3xYhHDbgd1Oe6Vp7UxjxCM--_39D=Q@mail.gmail.com>
X-Original-References: <atCcqXHVdBim74nM@bongo.bofh.it>