15.11.2025 05:52, [email protected] пишет:
> Since "_opt" is used in the function, shouldn't it be included in the "local"
> line.
I already did that ;)
> _conf has an "=" to be sure it's value is blank if not set in the while loop.
> (unbound-checkconf does the correct thing if $_conf is blank)
Without is fine and matches what we do elsewhere (prominently install.sub,
where most of my muscle memory is from by now).
This would only matter if rc.subr(8) ran with '-o nounset'.
So what you sent below is what I sent, modulo = and the default -c removal.
On that: If you change the default chroot config, you may as well change
the default daemon flags. If you don't, less is more, i.e. no need repeat:
-c <cfgfile>
Set the config file with settings for unbound to read instead of
reading the file at the default location,
/var/unbound/etc/unbound.conf. The syntax is described in
unbound.conf(5).
Can you test what I sent and report whether it works for you?