On 2018-05-26 22:16, Anand Buddhdev wrote:
On 26/05/2018 19:47, André Rodier via bind-users wrote:
Hi André
I need to precise, I have also added this option
in named.conf.options:
directory "/var/cache/bind";
And bind is creating the journal files inside:
-rw-r--r-- 1 bind bind 1.4K May 26 18:36 managed-keys.bind
-rw-r--r-- 1 bind bind 512 May 26 18:36 managed-keys.bind.jnl
However, when started, bind is apparently trying to write in /etc/bind
anyway:
May 26 18:36:01 homebox named[1298]: managed-keys-zone: journal file
is out of date: removing journal file
May 26 18:36:01 homebox named[1298]: managed-keys-zone: loaded serial
2
May 26 18:36:01 homebox named[1298]: zone 0.in-addr.arpa/IN: loaded
serial 1
May 26 18:36:01 homebox named[1298]: zone auto.in-addr.arpa/IN:
loaded serial 1527352056
May 26 18:36:01 homebox named[1298]: zone 127.in-addr.arpa/IN: loaded
serial 1
May 26 18:36:01 homebox named[1298]: zone 255.in-addr.arpa/IN: loaded
serial 1
May 26 18:36:01 homebox named[1298]: zone localhost/IN: loaded serial
2
May 26 18:36:01 homebox named[1298]: zone homebox.space/IN
(unsigned): loaded serial 1527352055
May 26 18:36:01 homebox named[1298]: all zones loaded
May 26 18:36:01 homebox named[1298]: running
May 26 18:36:01 homebox named[1298]: zone homebox.space/IN (signed):
loaded serial 1527352055
May 26 18:36:01 homebox named[1298]: zone auto.in-addr.arpa/IN:
sending notifies (serial 1527352056)
May 26 18:36:01 homebox named[1298]:
/etc/bind/forward.homebox.space.jbk: create: permission denied
You've told BIND to load zones from /etc/bind, so it will try to create
the journal files in the same directory, despite the "directory"
option.
You'll need to move your zones into /var/cache/bind, or a subdirectory
thereof.
Regards,
Anand
Thank you, Anand,
It is something I am reluctant to do, I have already started to explore
other servers.
Kind regards,
André
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
from this list
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users