On Sat, May 02, 2020 at 05:20:27PM +0200, Per olof Ljungmark wrote:
> On 2020-05-02 17:16, The Doctor via freebsd-ports wrote:
> > On Sat, May 02, 2020 at 04:32:10PM +0200, Christoph Moench-Tegeder wrote:
> >> ## The Doctor via freebsd-ports (freebsd-ports@freebsd.org):
> >>
> >>> Subject: Bind 9.16 port error still lingers
> >>
> >> "Still"?
> >>
> >>> May  1 21:29:02 gallifrey named[90441]: Required root permissions to open 
> >>> '/var/run/named.pid'.
> >>> May  1 21:29:02 gallifrey named[90441]: Please check file and directory 
> >>> permissions or reconfigure the filename.
> >>
> >> Did you?
> >> BTW the default location for named's pidfile on FreeBSD is
> >> /var/run/named/pid.

I'm running bind916-9.16.2:
albert(12.1-S)[3] pkg info -o dns/bind\*
bind-tools-9.16.2              dns/bind-tools
bind916-9.16.2                 dns/bind916

Here's what I have in /etc/rc.conf about it:
albert(12.1-S)[5] egrep 'bind|named' /etc/rc.conf
rpcbind_enable="YES"
named_enable="YES"
named_program="/usr/local/sbin/named"

and the pidfile is in /var/run/named/:

albert(12.1-S)[4] ls -lT /var/run/named/
total 8
-rw-r--r--  1 bind  bind    6 May  1 05:03:40 2020 pid
-rw-------  1 bind  bind  102 May  1 05:03:40 2020 session.key

No issues.

> ....

Peace,
david
-- 
David H. Wolfskill                              da...@catwhisker.org
"I believe the people of this country are smart. And I don't think that
they will put a man in who's incompetent."
        -- Donald J. Trump, who apparently missed the irony, 29 Apr 2020.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Attachment: signature.asc
Description: PGP signature

Reply via email to