Свежеустановленный unbound на Debian 10 не стартует:
# systemctl status unbound.service
● unbound.service - Unbound DNS server
Loaded: loaded (/lib/systemd/system/unbound.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2021-07-11 13:19:33 CEST; 16s ago
Docs: man:unbound(8)
Process: 8958 ExecStartPre=/usr/lib/unbound/package-helper chroot_setup (code=exited, status=0/SUCCESS)
Process: 8961 ExecStartPre=/usr/lib/unbound/package-helper root_trust_anchor_update (code=exited, status=0/SUCCESS)
Process: 8966 ExecStart=/usr/sbin/unbound -d $DAEMON_OPTS (code=exited, status=1/FAILURE)
Main PID: 8966 (code=exited, status=1/FAILURE)
Jul 11 13:19:32 po4ta systemd[1]: Failed to start Unbound DNS server.
Jul 11 13:19:32 po4ta systemd[1]: unbound.service: Service RestartSec=100ms expired, scheduling restart.
Jul 11 13:19:32 po4ta systemd[1]: unbound.service: Scheduled restart job, restart counter is at 5.
Jul 11 13:19:33 po4ta systemd[1]: Stopped Unbound DNS server.
Jul 11 13:19:33 po4ta systemd[1]: unbound.service: Start request repeated too quickly.
Jul 11 13:19:33 po4ta systemd[1]: unbound.service: Failed with result 'exit-code'.
Jul 11 13:19:33 po4ta systemd[1]: Failed to start Unbound DNS server.
Сразу после установки unbound выполнил:
# su -c "unbound-anchor -a /var/lib/unbound/root.key" - unbound
This account is currently not available.
При этом файл /var/lib/unbound/root.key создался.