On 2025/12/19 15:17, Otto Cooper wrote: > > On Friday, December 19th, 2025 at 3:42 PM, Stuart Henderson > <[email protected]> wrote: > > > On 2025/12/19 11:29, Otto Cooper wrote: > > > > > I am not in the bugs list. Cc me please. > > > > > > This is what i see. > > > > > > > doas rcctl reload unbound > > > > Dec 19 12:15:21 unbound[62986:0] notice: Restart of unbound 1.24.0. > > > > Dec 19 12:15:21 unbound[62986:0] fatal error: Could not read config > > > > file: /etc/unbound.conf. Maybe try unbound -dd, it stays on the > > > > commandline to see more errors, or unbound-checkconf > > > > > > > doas unbound-checkconf > > > > unbound-checkconf: no errors in /var/unbound/etc/unbound.conf > > > > > > this does normally work (unbound strips off the chroot path itself). > > > > what does this say? > > > > rcctl get unbound > > > > can you share your unbound.conf? > > > >doas rcctl get unbound > > unbound_class=unbound > unbound_execdir= > unbound_flags=-c /var/unbound/etc/unbound.conf > unbound_logger= > unbound_rtable=0 > unbound_timeout=30 > unbound_user=root
looks good > >cat /var/unbound/etc/unbound.conf | grep -v -E '^#|^.*#|^$' > > server: > interface: 127.0.0.1 > interface: em0 > do-ip6: no > access-control: 0.0.0.0/0 refuse > access-control: 127.0.0.0/8 allow > hide-identity: yes > hide-version: yes > auto-trust-anchor-file: "/var/unbound/db/root.key" > val-log-level: 2 > aggressive-nsec: yes > include: "/var/unbound/etc/local.unbound" > use-syslog: no > logfile: /var/unbound/log/current > log-time-ascii: yes > verbosity: 1 > log-queries: yes > val-log-level: 2 > extended-statistics: no > statistics-interval: 0 > statistics-cumulative: no > remote-control: > control-enable: yes > control-interface: /var/run/unbound.sock i've tried configuring with any of those parameters which seem likely to be implicated (include, control-interface, log path, etc) and have not run into problems with reloading. your grep may exclude more lines than you intended, as it would strip out "something: foo # comment" lines as well, anything interesting in those? or in /var/unbound/etc/local.unbound? setting verbosity higher and checking logs may give clues too. > >doas unbound-checkconf > > unbound-checkconf: no errors in /var/unbound/etc/unbound.conf >

