debug: read zonefile /srv/unbound/zone files/root for .
debug: no zonefile /srv/unbound/zone files/root for .
That is with verbosity level 7 and no further insight of why unbound
reads the file location but does not write to it.
Also with an empty file provided it just reads that but does not write
to it. If there would be some issue with ACL permissions I would expect
such to show up in the debug log.
debug: read zonefile /srv/unbound/zone files/root for .
debug: no zonefile /srv/unbound/zone files/root for .
That is with verbosity level 7 and no further insight of why unbound
reads the file location but does not write to it.
I added debug log that prints when the 'write zonefile' happens. If
there are errors, then it prints the errors at log level error (which in
some syslog setups ends up somewhere else from log level debug), and
this code is already there.
Turned out that there is no underlying OS issue for unbound to write the
file(s) but caused by > do-ip6: yes < when the node does not have
actual ipv6 upstream connectivity.
With > do-ip6: no < the zone files are being written.