From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 19 18:20:29 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 812DB16A407 for ; Tue, 19 Dec 2006 18:20:29 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id A48CD43CA2 for ; Tue, 19 Dec 2006 18:20:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kBJIKSpe085061 for ; Tue, 19 Dec 2006 18:20:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kBJIKSS5085060; Tue, 19 Dec 2006 18:20:28 GMT (envelope-from gnats) Resent-Date: Tue, 19 Dec 2006 18:20:28 GMT Resent-Message-Id: <200612191820.kBJIKSS5085060@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jeremy Chadwick Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1A7B216A415 for ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: conf/106927: rc.d/ntpd flags wrong when setting ntpd_config variable X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jeremy Chadwick List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2006 18:20:29 -0000 >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: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 19 18:20:28 GMT 2006 >Closed-Date: >Last-Modified: >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: >Unformatted: