From jdc@koitsu.dyndns.org  Tue Dec 19 18:17:46 2006
Return-Path: <jdc@koitsu.dyndns.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 1A7B216A415
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 19 Dec 2006 18:17:46 +0000 (UTC)
	(envelope-from jdc@koitsu.dyndns.org)
Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.152])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D0CEC43CA3
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 19 Dec 2006 18:17:41 +0000 (GMT)
	(envelope-from jdc@koitsu.dyndns.org)
Received: from icarus.home.lan (c-67-174-220-97.hsd1.ca.comcast.net[67.174.220.97])
          by comcast.net (rwcrmhc12) with ESMTP
          id <20061219181735m1200sr00ge>; Tue, 19 Dec 2006 18:17:35 +0000
Received: by icarus.home.lan (Postfix, from userid 1000)
	id 16CA61FA037; Tue, 19 Dec 2006 10:17:35 -0800 (PST)
Message-Id: <20061219181735.16CA61FA037@icarus.home.lan>
Date: Tue, 19 Dec 2006 10:17:35 -0800 (PST)
From: Jeremy Chadwick <koitsu@FreeBSD.org>
Reply-To: Jeremy Chadwick <koitsu@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: rc.d/ntpd flags wrong when setting ntpd_config variable
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         106927
>Category:       conf
>Synopsis:       rc.d/ntpd flags wrong when setting ntpd_config variable
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 19 18:20:28 GMT 2006
>Closed-Date:    Tue Feb 13 15:09:22 GMT 2007
>Last-Modified:  Tue Feb 13 15:09:22 GMT 2007
>Originator:     Jeremy Chadwick
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD icarus.home.lan 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Wed Dec 13 14:55:49 PST 2006 root@icarus.home.lan:/usr/obj/usr/src/sys/ICARUS i386
>Description:
	When using the ntpd_config variable, as referenced in /etc/rc.d/ntpd,
	the remaining command line flags passed to ntpd are incorrect.

	For example, without ntpd_config set:

root    41801  0.0  0.1  2916  1744  ??  Ss   10:13AM   0:00.01 /usr/sbin/ntpd -g -c /etc/ntp.conf -p /var/run/ntpd.pid -f /var/db/ntpd.drift

	With ntpd_config set to /conf/ME/ntpd.conf:

root    41733  0.0  0.1  2916  1736  ??  Ss   10:11AM   0:00.01 /usr/sbin/ntpd -g -c /conf/ME/ntp.conf

	The end result is that when using ntpd_config and attempting to
	stop the daemon via /etc/rc.d/ntpd stop, the user is told there's
	no pidfile (which is true).  The driftfile is also not getting
	created/used in that case.
>How-To-Repeat:
	Set ntpd_config in /etc/rc.conf.
>Fix:
	Not sure how to fix this.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: matteo 
State-Changed-When: Tue Feb 13 11:33:44 UTC 2007 
State-Changed-Why:  
I cannot reproduce this problem. Does it still exist for you? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106927 
State-Changed-From-To: feedback->closed 
State-Changed-By: koitsu 
State-Changed-When: Tue Feb 13 15:09:18 UTC 2007 
State-Changed-Why:  
Hmm, interesting.  No, I can't reproduce this.  Maybe something in the 
rc.subr framework changed which somehow tickled a fix for this.  I'll go 
ahead and close this.  :)  Thanks for looking into it. 

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