local_unbound, resolvconf, vpn
Andriy Gapon
avg at FreeBSD.org
Mon Nov 20 13:25:13 UTC 2017
On 08/11/2017 14:17, Alexander Zagrebin wrote:
> This message appears because you are using chroot.
> You have to edit /var/unbound/unbound.conf and add a trailing slash to
> value of the 'directory' parameter:
That did it!
> server:
> ...
> chroot: /var/unbound
> directory: /var/unbound/
> ...
>
> When unbound uses chroot, it determines the directory name, that it will
> be use for chdir call, taking in account the value of 'chroot'
> parameter. If 'chroot' equals 'directory' the unbound will call
> chdir(''), which will cause an error.
Thank you very much for the advice and for the explanation behind it.
--
Andriy Gapon
More information about the freebsd-net
mailing list