Hi !
Very new to this FreeBSD universe. Installed my very first FreeBSD VM server yesterday even though I have been using pfSense and FreeNAS variants for over 10 years. Trying to find a reliable solution to switch from CentOS & Ubuntu servers for basic but important applications. I started my experiments with Bind 9. So far, so good except one thing : after a reboot, Bind won't start due to wrong permissions on logs (at least that's what I assume based on the syslog report).
Here's the logs reporting the issue
Surprisingly if I start manually (via command or webmin), it starts and logs just fine...
I tried several ownerships (bind:bind, root:wheel, root:bind, etc...) and permissions on the directory and the logs files but still not OK and I'm not familiar with this wheel group or unix stuff.
Any clue on this logging permission error? Here's my current setup for /var/log/named/
While we're talking about ownership and permissions, I'm also wondering if my /usr/local/etc/namedb/ content is ok. I don't get it why the master folder is different and I had to change perms on my keys (it works as is but I'm not sure I chose the best solution)
Any help appreciated on this. Trial and error has limitations and Google couldn't find relevant info on this issue.
Thanks in advance. I can't wait to know more about FreeBSD !
Guillaume
PS : I forgot ! FreeBSD 13 - Bind 9.16.20
Very new to this FreeBSD universe. Installed my very first FreeBSD VM server yesterday even though I have been using pfSense and FreeNAS variants for over 10 years. Trying to find a reliable solution to switch from CentOS & Ubuntu servers for basic but important applications. I started my experiments with Bind 9. So far, so good except one thing : after a reboot, Bind won't start due to wrong permissions on logs (at least that's what I assume based on the syslog report).
Here's the logs reporting the issue
Code:
Sep 23 16:57:12 bsd01 named[798]: command channel listening on 127.0.0.1#953
Sep 23 16:57:12 bsd01 named[798]: isc_file_isplainfile '/var/log/named/default' failed: permission denied
Sep 23 16:57:12 bsd01 named[798]: configuring logging: permission denied
Sep 23 16:57:12 bsd01 named[798]: loading configuration: permission denied
Sep 23 16:57:12 bsd01 named[798]: exiting (due to fatal error)
Sep 23 16:57:12 bsd01 root[802]: /etc/rc: WARNING: failed to start named
I tried several ownerships (bind:bind, root:wheel, root:bind, etc...) and permissions on the directory and the logs files but still not OK and I'm not familiar with this wheel group or unix stuff.
Any clue on this logging permission error? Here's my current setup for /var/log/named/
While we're talking about ownership and permissions, I'm also wondering if my /usr/local/etc/namedb/ content is ok. I don't get it why the master folder is different and I had to change perms on my keys (it works as is but I'm not sure I chose the best solution)
Any help appreciated on this. Trial and error has limitations and Google couldn't find relevant info on this issue.
Thanks in advance. I can't wait to know more about FreeBSD !
Guillaume
PS : I forgot ! FreeBSD 13 - Bind 9.16.20