Date: Tue, 17 Jan 2023 18:28:55 +0100 From: Juraj Lutter <otis@FreeBSD.org> To: User Ngor <ihor@antonovs.family> Cc: freebsd-current@freebsd.org Subject: Re: local-unbound regression Message-ID: <50B9F3E5-236E-47E1-850D-625801E6393B@FreeBSD.org> In-Reply-To: <50ca9367-f2dc-8634-403b-c6fd033b0ddf@antonovs.family> References: <6d204b08-5f67-6a0c-4982-93c5f9da8bf5@antonovs.family> <50ca9367-f2dc-8634-403b-c6fd033b0ddf@antonovs.family>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Hi, > On 17 Jan 2023, at 18:11, User Ngor <ihor@antonovs.family> wrote: > > I discovered that recent unbound update broke my VPN scripts, after some investigation I think I found the problem - default location of the config file was reset to upstream value. My config file is at /var/unbound/unbound.conf (as created by local-unbound-setup) but when I use local-unbound-control I see this error message: >> >> >> # local-unbound-control flush_stats >> [1673972554] unbound-control[16206:0] error: Could not open /usr/local/etc/unbound/unbound.conf: No such file or directory >> [1673972554] unbound-control[16206:0] fatal error: could not read config file >> >> I have not yet created bugzilla bug >> > > https://cgit.freebsd.org/src/commit/?id=1838dec31895fd4752fa8631322ab93be0705a66 > > /* Pathname to the Unbound configuration file */ > -#define CONFIGFILE "/var/unbound/unbound.conf" > +#define CONFIGFILE "/usr/local/etc/unbound/unbound.conf" > > > It looks like it was intentional, but then my local-unbound-setup keeps creating configuration in the old destination... And it looks like a POLA violation - I can imagine lot's of users might have configs in /var/unbound I’ve opened a https://reviews.freebsd.org/D38106 <https://reviews.freebsd.org/D38106> to see whether this can be fixed. — Juraj Lutter otis@FreeBSD.org [-- Attachment #2 --] <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 17 Jan 2023, at 18:11, User Ngor <<a href="mailto:ihor@antonovs.family" class="">ihor@antonovs.family</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">I discovered that recent unbound update broke my VPN scripts, after some investigation I think I found the problem - default location of the config file was reset to upstream value. My config file is at /var/unbound/unbound.conf (as created by local-unbound-setup) but when I use local-unbound-control I see this error message:<br class=""><blockquote type="cite" class=""><br class=""><br class=""> # local-unbound-control flush_stats<br class=""> [1673972554] unbound-control[16206:0] error: Could not open /usr/local/etc/unbound/unbound.conf: No such file or directory<br class=""> [1673972554] unbound-control[16206:0] fatal error: could not read config file<br class=""><br class="">I have not yet created bugzilla bug<br class=""><br class=""></blockquote><br class=""><a href="https://cgit.freebsd.org/src/commit/?id=1838dec31895fd4752fa8631322ab93be0705a66" class="">https://cgit.freebsd.org/src/commit/?id=1838dec31895fd4752fa8631322ab93be0705a66</a><br class=""><br class=""> /* Pathname to the Unbound configuration file */<br class=""> -#define CONFIGFILE "/var/unbound/unbound.conf"<br class=""> +#define CONFIGFILE "/usr/local/etc/unbound/unbound.conf"<br class=""><br class=""><br class="">It looks like it was intentional, but then my local-unbound-setup keeps creating configuration in the old destination... And it looks like a POLA violation - I can imagine lot's of users might have configs in /var/unbound<br class=""></div></div></blockquote><div><br class=""></div><div><br class=""></div><div>I’ve opened a <a href="https://reviews.freebsd.org/D38106" class="">https://reviews.freebsd.org/D38106</a> to see whether this can be fixed.</div><div><br class=""></div></div><br class=""><div class=""> <meta charset="UTF-8" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>—</div><div>Juraj Lutter</div><div><a href="mailto:otis@FreeBSD.org" class="">otis@FreeBSD.org</a></div></div> </div> <br class=""></body></html>help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50B9F3E5-236E-47E1-850D-625801E6393B>
