From nobody@FreeBSD.org  Sun Oct 23 08:32:56 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id BA48E106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 23 Oct 2011 08:32:56 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id A98568FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 23 Oct 2011 08:32:56 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p9N8Wuf3012969
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 23 Oct 2011 08:32:56 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p9N8WuZh012968;
	Sun, 23 Oct 2011 08:32:56 GMT
	(envelope-from nobody)
Message-Id: <201110230832.p9N8WuZh012968@red.freebsd.org>
Date: Sun, 23 Oct 2011 08:32:56 GMT
From: Manolis Kiagias <manolis@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: named(8): default configuration on 9.0-RC1 produces an error during startup
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         161921
>Category:       bin
>Synopsis:       named(8): default configuration on 9.0-RC1 produces an error during startup
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dougb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 23 08:40:09 UTC 2011
>Closed-Date:    Fri Feb 17 08:02:40 UTC 2012
>Last-Modified:  Fri Feb 17 08:02:40 UTC 2012
>Originator:     Manolis Kiagias
>Release:        9.0-RC1
>Organization:
>Environment:
>Description:
Setting named_enable="YES" to /etc/rc.conf and starting named produces the following error at the console:

managed-keys-zone ./IN: loading from master file managed-keys.bind failed: file not found

Apparently this is a file used by DNSSEC and is not present in the default configuration. The server still starts and answers queries normally, this is not a fatal error.
>How-To-Repeat:
Set named_enable="YES" to /etc/rc.conf and execute service named start
>Fix:
Creating the above file as an empty file in /etc/namedb/working hushes the error message (i.e. touch /etc/namedb/working/managed-keys.bind). Either the default named configuration should be changed or bsdinstall should create this file during installation.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: dougb 
State-Changed-When: Wed Jan 25 03:27:09 UTC 2012 
State-Changed-Why:  

First, the error is harmless, and can be safely ignored for the short 
term. If you'd like to avoid the error create the file in the working 
directory with permissions 644 bind:wheel. 

Longer term, BIND should not be emitting this error message, and I will 
work with the ISC devs to see if we can get this resolved upstream where 
it should be fixed. If there is not agreement on fixing it there I can 
add something to the rc.d script. 


Responsible-Changed-From-To: freebsd-bugs->dougb 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Wed Jan 25 03:27:09 UTC 2012 
Responsible-Changed-Why:  

My area. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161921 
State-Changed-From-To: analyzed->closed 
State-Changed-By: dougb 
State-Changed-When: Fri Feb 17 08:02:16 UTC 2012 
State-Changed-Why:  

This will be fixed in the next BIND releases. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161921 
>Unformatted:
