In message <[email protected]>, 
Tomoaki
AOKI writes:
> On Wed, 12 Mar 2025 05:28:13 -0700
> David Wolfskill <[email protected]> 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 <[email protected]>
FreeBSD UNIX:  <[email protected]>   Web:  https://FreeBSD.org
NTP:           <[email protected]>    Web:  https://nwtime.org

                        e^(i*pi)+1=0




Reply via email to