Re: git: 1d577bedbae8 - main - unbound: Fix config file path

From: Dag-Erling_Smørgrav <des_at_FreeBSD.org>
Date: Fri, 03 Mar 2023 10:09:50 UTC
"Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net> writes:
> I've read a few of the linux how to's on running unbound chrooted and
> it leads me to belive that /etc/unbound/unbound.conf is the correct
> value of the path to the config file.
>
> I'll also spend some ENOTIME idle cycles looking closer at what has
> happened here.  My gut says that if unbound is running chroot to
> /var/unbound then the config file should live in
> /var/unbound/etc/unbound/unbound.conf

No.  Unbound knows it's chrooted, knows _where_ it's chrooted, and
adjusts config paths accordingly, cf. e4c53d3bf00a.

Also note that the local-unbound configuration is not meant to be
user-serviceable.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org