FreeBSD-10.3 No ntpd.pid file created
James B. Byrne
byrnejb at harte-lyne.ca
Tue Feb 7 15:02:15 UTC 2017
On Mon, February 6, 2017 19:04, Matthew Seaman wrote:
> On 06/02/2017 21:42, James B. Byrne via freebsd-questions wrote:
>> Somehow system 1 is starting ntpd without passing the pidfile
>> argument. However, I have diffed the /etc/rc.d/ntpd files from both
>> systems against each other and there are no differences. So, how
>> can
>> this be?
>
> grep ntp /etc/rc.conf /etc/rc.conf.d/* /etc/defaults/rc.conf
>
> Look for the setting of a variable 'ntpd_flags' specifically.
>
> Cheers,
>
> Matthew
That was it exactly. Our /etc/rc.conf was overriding /etc/rc.d/ntpd
by setting ntpd_flags="". I must have done this when trying to
discover why ntpd kept halting on our samba server without
understanding the implications. Well, I do now.
Thank you very much.
--
*** e-Mail is NOT a SECURE channel ***
Do NOT transmit sensitive data via e-Mail
Do NOT open attachments nor follow links sent by e-Mail
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
More information about the freebsd-questions
mailing list