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

From: Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp>
Date: Wed, 12 Mar 2025 13:16:36 UTC
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".

> 
> Peace,
> david
> -- 
> David H. Wolfskill                              david@catwhisker.org
> Thank you, Claude Malhuret.
> https://wickedemerald.wordpress.com/2025/03/08/speech-from-claude-malhuret/
> 
> See https://www.catwhisker.org/~david/publickey.gpg for my public key.


-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>