Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Mar 2023 11:09:50 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
Cc:        Cy Schubert <Cy.Schubert@cschubert.com>,  rgrimes@freebsd.org,  Juraj Lutter <otis@freebsd.org>,  src-committers@freebsd.org, dev-commits-src-all@freebsd.org,  dev-commits-src-main@freebsd.org
Subject:   Re: git: 1d577bedbae8 - main - unbound: Fix config file path
Message-ID:  <86r0u6rvrl.fsf@ltc.des.no>
In-Reply-To: <202301181702.30IH2toO010890@gndrsh.dnsmgr.net> (Rodney W. Grimes's message of "Wed, 18 Jan 2023 09:02:55 -0800 (PST)")
References:  <202301181702.30IH2toO010890@gndrsh.dnsmgr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
"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
--=20
Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86r0u6rvrl.fsf>