The issue still exists in v1.19.2-1ubuntu3:
# dpkg -l unbound
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-===============-============-===========================================
ii unbound 1.19.2-1ubuntu3 amd64 validating, recursive, caching
DNS resolver
# cat /etc/unbound/unbound.conf.d/root-auto-trust-anchor-file.conf
server:
# The following line will configure unbound to perform cryptographic
# DNSSEC validation using the root trust anchor.
auto-trust-anchor-file: "/var/lib/unbound/root.key"
# unbound -dd
[1715781874] unbound[5598:0] notice: init module 0: subnetcache
[1715781874] unbound[5598:0] notice: init module 1: validator
[1715781874] unbound[5598:0] error: unable to open /var/lib/unbound/root.key
for reading: No such file or directory
[1715781874] unbound[5598:0] error: error reading auto-trust-anchor-file:
/var/lib/unbound/root.key
[1715781874] unbound[5598:0] error: validator: error in trustanchors config
[1715781874] unbound[5598:0] error: validator: could not apply configuration
settings.
[1715781874] unbound[5598:0] error: module init for module validator failed
[1715781874] unbound[5598:0] fatal error: failed to setup modules
A quick workaround for those who don't need DNSSEC you can just remove
the /etc/unbound/unbound.conf.d/root-auto-trust-anchor-file.conf
configuration to by able to start unbound again
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1771545
Title:
root.key might be missing
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unbound/+bug/1771545/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs