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.
Not sure how to fix this.
How-To-Repeat: Set ntpd_config in /etc/rc.conf.
I cannot reproduce this problem. Does it still exist for you?
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.