From turutani@scphys.kyoto-u.ac.jp  Thu Sep 10 00:27:30 2009
Return-Path: <turutani@scphys.kyoto-u.ac.jp>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B2DCF1065676
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 10 Sep 2009 00:27:30 +0000 (UTC)
	(envelope-from turutani@scphys.kyoto-u.ac.jp)
Received: from smtp-auth.kuins.kyoto-u.ac.jp (smtp-auth.kuins.kyoto-u.ac.jp [130.54.120.65])
	by mx1.freebsd.org (Postfix) with ESMTP id 342038FC1E
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 10 Sep 2009 00:27:29 +0000 (UTC)
Received: from h120.65.226.10.32118.vlan.kuins.net (w4d164.Bas4.vectant.ne.jp [222.230.84.164])
	by smtp-auth.kuins.kyoto-u.ac.jp (Postfix) with ESMTP id F32ACA9006B;
	Thu, 10 Sep 2009 09:27:27 +0900 (JST)
Received: from h120.65.226.10.32118.vlan.kuins.net (localhost [127.0.0.1])
	by h120.65.226.10.32118.vlan.kuins.net (8.14.3/8.14.3/20071004-1) with ESMTP id n8A0RNhi094612;
	Thu, 10 Sep 2009 09:27:24 +0900 (JST)
	(envelope-from turutani@h120.65.226.10.32118.vlan.kuins.net)
Received: (from turutani@localhost)
	by h120.65.226.10.32118.vlan.kuins.net (8.14.3/8.14.3/Submit) id n8A0RN5k094611;
	Thu, 10 Sep 2009 09:27:23 +0900 (JST)
	(envelope-from turutani)
Message-Id: <200909100027.n8A0RN5k094611@h120.65.226.10.32118.vlan.kuins.net>
Date: Thu, 10 Sep 2009 09:27:23 +0900 (JST)
From: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Reply-To: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc: turutani@scphys.kyoto-u.ac.jp
Subject: $named_conf in rc.conf is not used
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         138686
>Category:       conf
>Synopsis:       [rc.conf] $named_conf in rc.conf is not used
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dougb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 10 00:30:02 UTC 2009
>Closed-Date:    Tue Dec 29 07:20:49 UTC 2009
>Last-Modified:  Tue Dec 29 07:20:49 UTC 2009
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 7.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD h120.65.226.10.32118.vlan.kuins.net 7.2-STABLE FreeBSD 7.2-STABLE #19: Sun Jun 21 20:36:09 JST 2009 turutani@h120.65.226.10.32118.vlan.kuins.net:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386


	
>Description:
	$named_conf variable introduced via SVN rev.196053 to /etc/default/rc.conf
	is not used.
	the file pointed by this variable is used only for configuration check,
	and not used to run named; as a result, configuration check can be passed,
	but named is not running if they are not in the estimated directory...
	
>How-To-Repeat:
	
>Fix:
	if use $named_conf variable, use it as a configuration file.
	fix named. i do not know how to do that.
	i will not set the path of configuration file to both $named_flags and $named_conf.

	by the way, why this change in etc/rc.d/named is not shown in CVSweb ?
	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-rc 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Sep 12 02:10:12 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138686 
State-Changed-From-To: open->analyzed 
State-Changed-By: dougb 
State-Changed-When: Tue Sep 15 11:22:03 UTC 2009 
State-Changed-Why:  

named does use /etc/namedb/named.conf for its configuration file 
by default, so this isn't really an error. I will look again at 
the possibility of tying the $named_conf variable into the script 
more tightly after 8.0 release. 


Responsible-Changed-From-To: freebsd-rc->dougb 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Tue Sep 15 11:22:03 UTC 2009 
Responsible-Changed-Why:  

This is my area. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138686 
State-Changed-From-To: analyzed->patched 
State-Changed-By: dougb 
State-Changed-When: Sat Dec 12 21:52:46 UTC 2009 
State-Changed-Why:  

This is updated in -current. You can grab the latest version 
of etc/rc.d/named from cvs or svn and give it a try. Please 
let me know how it works for you if you do.  


Doug 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138686 

From: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To: bug-followup@FreeBSD.org, dougb@FreeBSD.org
Cc:  
Subject: Re: conf/138686: [rc.conf] $named_conf in rc.conf is not used
Date: Fri, 18 Dec 2009 11:06:31 +0900

 Works fine after addition of 'command="/usr/sbin/named"' to rc.d/named,
 on my 7-STABLE system.
 Thank you.
 BTW, if the name of named daemon is not "named", this framework does not
 works... is it not possible ?
State-Changed-From-To: patched->closed 
State-Changed-By: dougb 
State-Changed-When: Tue Dec 29 07:20:30 UTC 2009 
State-Changed-Why:  

The update has been merged through RELENG_6 

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