Hi Ryan,

On 2019-02-06 11:12 a.m., Ryan Kavanagh wrote:
> Since the upgrade to 1.9.0-1, unbound fails to start. Purging the
> package and reinstalling does not fix the issue. The errors seem to be
> due to being unable to read various configuration files.
> 
> Feb 06 11:01:12 zeta unbound[28647]: [28647:0] error: unable to open 
> /var/lib/unbound/root.key for reading: No such file or directory
> Feb 06 11:01:12 zeta package-helper[28648]: [1549468872] 
> unbound-checkconf[28651:0] error: Could not open 
> /etc/unbound//etc/unbound/unbound.conf: No such file or director

It seems like chroot'ing to /etc/unbound is attempted. To workaround you
can try this:

cat << EOF > /etc/unbound/unbound.conf.d/chroot.conf
server:
  chroot: ""
EOF
service unbound restart

Regards,
Simon


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to