The DNS role installs ddi-suite-keys.conf (a keys file without keys for revisions from before M5, so that named.conf can always include it), includes it before ddi-suite.conf in the validation named.conf, accepts secondary zone files in <zone_dir>/secondary/ and creates that directory with the mode and owner of zone_dir without ever touching its content. The health check queries secondary zones too; a zone still waiting for its first transfer is reported but does not fail the deployment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
477 B
Go
20 lines
477 B
Go
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
//go:build !unix
|
|
|
|
package fsutil
|
|
|
|
import "os"
|
|
|
|
// The agents run on Linux; on other systems (development builds) ownership
|
|
// is not handled and directories are not synced.
|
|
|
|
func ownerOf(string) (Owner, bool) { return Owner{}, false }
|
|
|
|
func chown(*os.File, Owner) error { return nil }
|
|
|
|
func chownPath(string, Owner) error { return nil }
|
|
|
|
// SyncDir is a no-op on systems without directory sync.
|
|
func SyncDir(string) error { return nil }
|