Re: heads up: mac_ntpd has to be explicitly loaded in recent stable/14

From: Cy Schubert <Cy.Schubert_at_cschubert.com>
Date: Thu, 13 Mar 2025 20:16:13 UTC
In message <20250312221636.6dba50c5cb8a86efc3baabc7@dec.sakura.ne.jp>, 
Tomoaki
AOKI writes:
> On Wed, 12 Mar 2025 05:28:13 -0700
> David Wolfskill <david@catwhisker.org> wrote:
>
> > On Wed, Mar 12, 2025 at 09:18:06PM +0900, Tomoaki AOKI wrote:
> > > ...
> > > Tried (still before reverting, patched /etc/rc.d/ntpd) switching
> > > command line option to corresponding statements in ntp.conf, and
> > > encountered strange behavior.
> > > ... 
> > > Note that ports ntpd is no longer installed now (remnant when I tried
> > > ports version before).
> > > ... 
> > > ntpd 4.2.8p18-a (150): Starting
> > > Command line: /usr/sbin/ntpd -4 -g -x -p /var/db/ntp/ntpd.pid
> > > -c /etc/ntp/ntp.conf -f /var/db/ntp/ntpd.drift -u ntpd:ntpd -g
> > > 
> > >   (snip)
> > > 
> > > switching logging to file /var/log/ntpd.log
> > > daemon child exited with code 255
> > > /etc/rc: WARNING: failed to start ntpd
> > > 
> > >   (snip)
> > > 
> > > ntpd 4.2.8p18-a (150): Starting
> > > Command line: /usr/sbin/ntpd -4 -g -x -p /var/db/ntp/ntpd.pid
> > > -c /etc/ntp/ntp.conf -f /var/db/ntp/ntpd.drift -g
> > > switching logging to file /var/log/ntpd.log
> > > 
> > >   ===== End quote =====
> > > 
> > > Strangely, ntpd is invoked twice, and command line shown
> > > in /var/log/messages still contains deleted options.
> > > The second run successfully invoked ntpd, even though mac_ntpd.ko is
> > > not auto-loaded.
> > > ....
> > 
> > Have you verified that the machine no longer has a /usr/local/etc/rc.d/ntpd
> > (from ports)?
>
> Yes. I don't have /usr/local/etc/rc.d/ntpd.
> The remnant of ports ntpd is from my previous computer (already dead)
> that I carried over its configurations in /etc. Never installed ports
> ntpd in this computer.
>
> % ls -l /usr/local/etc/rc.d/ntpd
> ls: /usr/local/etc/rc.d/ntpd: そのようなファイルまたはディレ
> トリはあり
> ません
>
> The Japanese message means "no such file or directory".

The port does not install /usr/local/etc/rc.d/ntpd.


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy@nwtime.org>    Web:  https://nwtime.org

			e^(i*pi)+1=0