Make the primary DNS catalog readable by BIND under a restrictive umask #319

Open
opened 2026-12-05 01:27:48 +01:00 by parkel · 0 comments
Owner

Problem

Running DNS catalog setup on a managed primary with umask 077 can leave the catalog directory inaccessible to BIND. The setup command can report success, but the catalog does not load and newly published zones cannot be transferred through it.

Expected behavior

Ensure the root-controlled catalog directory is traversable by BIND, independent of the caller's umask. Rerunning primary setup should repair existing permissions while preserving the catalog, managed zones, and transfer key.

Verification

Test a fresh catalog with a restrictive umask, repair an existing directory, and confirm authoritative SOA responses from the primary and a separate secondary.

## Problem Running DNS catalog setup on a managed primary with `umask 077` can leave the catalog directory inaccessible to BIND. The setup command can report success, but the catalog does not load and newly published zones cannot be transferred through it. ## Expected behavior Ensure the root-controlled catalog directory is traversable by BIND, independent of the caller's umask. Rerunning primary setup should repair existing permissions while preserving the catalog, managed zones, and transfer key. ## Verification Test a fresh catalog with a restrictive umask, repair an existing directory, and confirm authoritative SOA responses from the primary and a separate secondary.
parkel added the
kind
bug
area/dnsarea/deployment
labels 2026-12-05 01:27:48 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hippogrief/coulobre#319