Problem with dnstap socket (Re: Unbound 1.12.0 released)
Hugo Salgado
hsalgado at vulcano.cl
Thu Oct 8 16:14:47 UTC 2020
Hi Wouter.
I had a problem with dnstap in this version, in a CentOS 7
machine. It was working with no problem with 1.11, but after
upgrading I got:
Oct 08 12:49:09 unbound[20697:0] notice: attempting to connect to dnstap socket /usr/local/etc/unbound/var/dnstap.sock
Oct 08 12:49:09 unbound[20697:0] warning: could not open dnstap-socket-path: /usr/local/etc/unbound/var/dnstap.sock, No such file or directory
Oct 08 12:49:09 unbound[20697:0] notice: dnstap identity field set to "XXXX"
Oct 08 12:49:09 unbound[20697:0] notice: dnstap version field set to "unbound 1.12.0"
Oct 08 12:49:09 unbound[20697:0] notice: dnstap Message/RESOLVER_RESPONSE enabled
Oct 08 12:49:09 unbound[20697:0] notice: dnstap Message/CLIENT_QUERY enabled
Oct 08 12:49:09 unbound[20697:0] info: start of service (unbound 1.12.0).
Oct 08 12:49:09 unbound[20697:2] error: dnstap io: failed to connect to "/usr/local/etc/unbound/var/dnstap.sock": No such file or directory
Oct 08 12:49:09 unbound[20697:2] error: dnstap io: failed to connect to "/usr/local/etc/unbound/var/dnstap.sock": No such file or directory
Tried several things. The socket was there with the same permissions
as before.
Found this change:
On 09:04 08/10, Wouter Wijngaards via Unbound-users wrote:
> - Fix to apply chroot to dnstap-socket-path, if chroot is enabled.
And revert the code to use "strdup", and now works ok.
I use the default chroot configuration. Didn't tried disabling
it.
Best,
Hugo
More information about the Unbound-users
mailing list