Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bind9
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 4
    • Merge requests 4
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • Debian DNS Team
  • bind9
  • Merge requests
  • !10

run named-checkconf before systemd reloads named

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Stephen Gildea requested to merge gildea/bind9:debian/master into debian/master Apr 04, 2020
  • Overview 0
  • Commits 1
  • Changes 1

Adds preconditions to systemd unit file to run named-checkconf before a restart or reload.

Without this check, it is easy to miss small typos when editing zone files, and when you do that, there is no obvious error in response your "systemctl restart" or "systemctl reload" command. (The failure is recorded in the log.)

With this check, systemctl outputs an error message if the check fails (predicting that the restart or reload command would fail), making mistakes easier to notice.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: debian/master