2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

3195. [cleanup] Silence "file not found" warnings when loading

managed-keys zone. [RT #26340]
This commit is contained in:
Evan Hunt 2011-11-03 03:26:19 +00:00
parent c3d046d8b5
commit 77b8f02d19
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,6 @@
3195. [cleanup] Silence "file not found" warnings when loading
managed-keys zone. [RT #26340]
3194. [doc] Updated RFC references in the 'empty-zones-enable'
documentation. [RT #25203]

View File

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: zone.c,v 1.645 2011/11/03 02:54:47 each Exp $ */
/* $Id: zone.c,v 1.646 2011/11/03 03:26:19 each Exp $ */
/*! \file */
@ -3514,7 +3514,11 @@ zone_postload(dns_zone_t *zone, dns_db_t *db, isc_time_t loadtime,
"no master file, requesting db");
maybe_send_securedb(zone);
} else {
dns_zone_log(zone, ISC_LOG_ERROR,
int level = ISC_LOG_ERROR;
if (zone->type == dns_zone_key &&
result == ISC_R_FILENOTFOUND)
level = ISC_LOG_DEBUG(1);
dns_zone_log(zone, level,
"loading from master file %s failed: %s",
zone->masterfile,
dns_result_totext(result));