Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2006 10:17:35 -0800 (PST)
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   conf/106927: rc.d/ntpd flags wrong when setting ntpd_config variable
Message-ID:  <20061219181735.16CA61FA037@icarus.home.lan>
Resent-Message-ID: <200612191820.kBJIKSS5085060@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061219181735.16CA61FA037>