Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
Knot DNS
Knot DNS
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 5
    • Merge Requests 5
  • Packages
    • Packages
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • Knot projects
  • Knot DNSKnot DNS
  • Issues
  • #109

Closed
Open
Opened Oct 14, 2013 by yac@yac
  • Report abuse
  • New issue
Report abuse New issue

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.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: knot/knot-dns#109