Re: unbound reload crashes the server

2018-03-23 Thread Craig Skinner
Hi Rupert, On Thu, 22 Mar 2018 15:49:55 -0400 Rupert Gallagher wrote: > Why reaching to /etc/unbound.conf when the binary was compiled > for /var/unbound/etc/unbound.conf? Yep;- it uses the default, so nothing needs setting. Removing the config file from /etc/rc.conf* & /etc/rc.d/unbound works OK

Re: unbound reload crashes the server

2018-03-22 Thread Rupert Gallagher
On Thu, Mar 22, 2018 at 22:02, Edgar Pettijohn wrote: > It is chroot'd to /var/unbound so it looks for /etc/unbound.conf from that false root. At least that is my best guess. What is in /etc/rc.conf.local? > I have the following: unbound_flags=-c /var/unbound/etc/unbound.conf > I'm not sure why

Re: unbound reload crashes the server

2018-03-22 Thread edgar
On Mar 22, 2018 4:19 PM, "Todd C. Miller" wrote: > > On Thu, 22 Mar 2018 16:02:56 -0500, Edgar Pettijohn wrote: > > > It is chroot'd to /var/unbound so it looks for /etc/unbound.conf from > > that false root.  At least that is my best guess. What is in > > /etc/rc.conf.local? > > > > I have the

Re: unbound reload crashes the server

2018-03-22 Thread Todd C. Miller
On Thu, 22 Mar 2018 16:02:56 -0500, Edgar Pettijohn wrote: > It is chroot'd to /var/unbound so it looks for /etc/unbound.conf from > that false root. At least that is my best guess. What is in > /etc/rc.conf.local? > > I have the following: > unbound_flags=-c /var/unbound/etc/unbound.conf > > I

Re: unbound reload crashes the server

2018-03-22 Thread Edgar Pettijohn
On 03/22/18 14:49, Rupert Gallagher wrote: This happens on plain 6.1. ls -l ls -l /var/unbound/etc/unbound.conf -rw-r--r-- 1 root wheel 4309 Mar 21 13:06 /var/unbound/etc/unbound.conf doas rcctl start unbound unbound(ok) (log) Mar 22 20:29:34 unbound[71209:0] info: server stats for t

unbound reload crashes the server

2018-03-22 Thread Rupert Gallagher
This happens on plain 6.1. >ls -l ls -l /var/unbound/etc/unbound.conf -rw-r--r-- 1 root wheel 4309 Mar 21 13:06 /var/unbound/etc/unbound.conf >doas rcctl start unbound unbound(ok) (log) Mar 22 20:29:34 unbound[71209:0] info: server stats for thread 0: 1 queries, 1 answers from cache, 0 recu