Re: git: 58f13a881f17 - main - ntpdate: Add a deprecation notice to syslog

From: Alexander Ziaee <ziaee_at_FreeBSD.org>
Date: Sat, 29 Aug 2026 15:56:27 UTC
On 2026-08-29 11:22 -04:00 EDT, "Dag-Erling Smørgrav" <des@FreeBSD.org> wrote:
> Alexander Ziaee <ziaee@FreeBSD.org> writes:
>> +	msyslog(LOG_NOTICE,"ntpdate is deprecated and "
>> +	    "scheduled for removal in ntp 4.4, use ntpd -q instead");
> 
> Are you also going to fix libexec/rc/rc.d/ntpdate to run ntpd -q instead
> of ntpdate?  If not, please revert.

Why? IIUC that is the legacy script, and bsdinstall is offering
ntpd_sync_on_start for a few years now [0] instead in line with this
advice. Also, ntpdate is scheduled for removal upstream.

Seems to me we should add a warning to rc.d/ntpdate instead
suggesting that operators switch to ntpd_sync_on_start?

[0]: c153a35bfd716fd74e4b3955cc60541b78ab3d8e ("bsdinstall: replace ntpdate by ntpd_sync_on_start")

Best,
Alex