Keep the BIND catalog accessible under a restrictive umask #320

Merged
parkel merged 1 commits from fix/dns-catalog-directory into main 2026-12-05 13:12:14 +01:00
Owner

Closes #319.

Bug fixes

  • Set the managed primary's root-controlled catalog directory to root:bind and mode 2750, independent of the installer's umask.
  • Repair existing directory ownership and access on rerun without rewriting the catalog, managed zones, or transfer key.

Verification

  • All 38 installer tests passed, including fresh catalog creation with umask 077 and repair without replacing the existing catalog.
  • On Ubuntu 26.04, verified that the install command restored BIND read access while preserving the original catalog. Both the primary and a separate secondary returned the same authoritative SOA.
  • Ruff and Git whitespace checks passed.

Upgrade impact

Existing installations already serving their catalog need no action. For an affected primary, rerun the documented catalog setup using the same peer from the fixed release.

Closes #319. ## Bug fixes - Set the managed primary's root-controlled catalog directory to `root:bind` and mode `2750`, independent of the installer's umask. - Repair existing directory ownership and access on rerun without rewriting the catalog, managed zones, or transfer key. ## Verification - All 38 installer tests passed, including fresh catalog creation with `umask 077` and repair without replacing the existing catalog. - On Ubuntu 26.04, verified that the install command restored BIND read access while preserving the original catalog. Both the primary and a separate secondary returned the same authoritative SOA. - Ruff and Git whitespace checks passed. ## Upgrade impact Existing installations already serving their catalog need no action. For an affected primary, rerun the documented catalog setup using the same peer from the fixed release.
parkel added 1 commit 2026-12-05 01:28:29 +01:00
Keep the BIND catalog accessible under a restrictive umask
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Successful in 2m3s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Successful in 2m16s
491c5900cb
parkel merged commit cae0a7890a into main 2026-12-05 13:12:14 +01:00
parkel deleted branch fix/dns-catalog-directory 2026-12-05 13:12:14 +01:00
Sign in to join this conversation.