Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 2021 21:34:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 254076] dns/powerdns-recursor: missing configuration for pid file
Message-ID:  <bug-254076-7788-8wuOV6OZeX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254076-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254076-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254076

--- Comment #2 from Max Christian <accounts@wireme.de> ---
Hi Ralf!

I have rechecked my configuration as well and can now further explain what
happens: The `socket-dir` in the configuration file is also used to tell
pdns-recursor where to store the PID file=C2=B9, while the
`/usr/local/etc/rc.d/pdns-recursor` init script has this path hard-coded to
`/var/run/pdns-recursor/${name}.pid`.

The 'Address already in use' error is a consequence of that, because I used
`service pdns-recursor restart` with a manually configured `socket-dir`.
Because of that the init script was unable to kill the previous instance be=
fore
it tried to start another.

=C2=B9 https://docs.powerdns.com/recursor/settings.html#socket-dir

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254076-7788-8wuOV6OZeX>