From dpelleg@mail.pelleg.org  Fri Dec 20 06:02:25 2002
Return-Path: <dpelleg@mail.pelleg.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2499937B401
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Dec 2002 06:02:25 -0800 (PST)
Received: from mail.pelleg.org (mail.pelleg.org [205.201.13.237])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B8F9143EDE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Dec 2002 06:02:24 -0800 (PST)
	(envelope-from dpelleg@mail.pelleg.org)
Received: by mail.pelleg.org (Postfix, from userid 1001)
	id 12365B627D; Fri, 20 Dec 2002 09:02:24 -0500 (EST)
Message-Id: <20021220140224.12365B627D@mail.pelleg.org>
Date: Fri, 20 Dec 2002 09:02:24 -0500 (EST)
From: Dan Pelleg <daniel+bsd@pelleg.org>
Reply-To: Dan Pelleg <daniel+bsd@pelleg.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: named.conf sets pidfile differently than /etc/rc.d/named expects
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         46402
>Category:       conf
>Synopsis:       named.conf sets pidfile differently than /etc/rc.d/named expects
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mtm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 20 06:10:05 PST 2002
>Closed-Date:    Sat Jan 11 20:56:11 PST 2003
>Last-Modified:  Sat Jan 11 20:56:11 PST 2003
>Originator:     Dan Pelleg
>Release:        FreeBSD 5.0-RC i386
>Organization:
>Environment:
System: FreeBSD p 5.0-RC FreeBSD 5.0-RC #1: Sun Dec 8 08:28:28 EST 2002 d@p i386


	
>Description:
In /etc/namedb/named.conf, the pidfile is set to:
pid-file "/var/run/named/pid";

This is sufficiently different than what /etc/rc.d/named assumes it is
(/var/run/named.pid) to stop it from finding the running named's pid.

>How-To-Repeat:

/etc/rc.d/named start
/etc/rc.d/named stop
>Fix:

change to:
pid-file "/var/run/named.pid";


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: mtm 
State-Changed-When: Wed Jan 8 02:37:50 PST 2003 
State-Changed-Why:  
I have a patch for this that makes the path specifiable 
in rc.conf. 


Responsible-Changed-From-To: freebsd-bugs->mtm 
Responsible-Changed-By: mtm 
Responsible-Changed-When: Wed Jan 8 02:37:50 PST 2003 
Responsible-Changed-Why:  
I have a patch for this that makes the path specifiable 
in rc.conf. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=46402 
State-Changed-From-To: analyzed->closed 
State-Changed-By: mtm 
State-Changed-When: Sat Jan 11 20:54:51 PST 2003 
State-Changed-Why:  
Patch applied to -CURRENT, MFC to RELENG_5_0 in 2 weeks. 

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