Little information about failed load of zone in the logs
Little information about failed load of zone in the logs
I forgot to check permissions on /etc/knot/my.zone so the file was unreadable by the server once it changed it's UID/GID and all I got in syslog was
[knot] [error] Failed to load zone file ...
So I figured I have to recompile knot with debug, which gave me only cryptic
[debug] Could not create file loader.
Only after googling the last message it occured to me it looks like permission issue and then the lightbulb about system.user config lighted up.
It did not occur to me earlier as I'm not very familiar with the zone syntax and since knot is young project I expected some disparity between knotc checkzone, which was telling me OK and actuall load of the zone.
I know this is kind of system administration 101 but I guess the syslog message (I gues it's not desirabl or even possible for knotc checkzone to check this) could be clearer.