conf/106927: rc.d/ntpd flags wrong when setting ntpd_config variable
Jeremy Chadwick
koitsu at FreeBSD.org
Tue Dec 19 10:20:29 PST 2006
>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 at 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:
More information about the freebsd-bugs
mailing list