Put the nta files in a subdirectory instead of requiring the namedb root

directory to be writable by named... Others have expressed the same concern,
but upstream refused: https://bugzilla.redhat.com/show_bug.cgi?id=1487823
https://bugs.isc.org/Public/Bug/Display.html?id=46242
This commit is contained in:
christos 2018-09-12 15:28:42 +00:00
parent b961019252
commit aa88342584
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: view.c,v 1.2 2018/08/12 13:02:35 christos Exp $ */
/* $NetBSD: view.c,v 1.3 2018/09/12 15:28:42 christos Exp $ */
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@ -106,7 +106,7 @@ dns_view_create(isc_mem_t *mctx, dns_rdataclass_t rdclass,
goto cleanup_view;
}
result = isc_file_sanitize(NULL, view->name, "nta",
result = isc_file_sanitize("nta", view->name, "nta",
buffer, sizeof(buffer));
if (result != ISC_R_SUCCESS)
goto cleanup_name;