<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Gentoo’s typical NTP package (<b style="color: rgb(52, 189, 38); font-family: Menlo; font-size: 11px;" class="">ntp-4.2.8_p7</b>) has 2 x init scripts (OpenRC based - <a href="https://wiki.gentoo.org/wiki/Project:OpenRC" class="">https://wiki.gentoo.org/wiki/Project:OpenRC</a>):<div class="">ntp-client</div><div class="">ntpd</div><div class=""><br class=""></div><div class="">ntp-client sets the systems date at startup and exits.  It uses ntpdate to do this.  Without ntp-client in the default run level, ntpd will not start on a system who’s clock is too far out of sync (especially SoC boards like the Raspberry Pi’s that don’t have a RTC).</div><div class=""><br class=""></div><div class="">I started with a fresh git clone from NTPSec.  I compiled & installed.  I was surprised to see no init scripts - is that to be expected?  Are init scripts typically managed only by the Linux distro (not my experience with some other projects), or has NTPSec just not gone there yet?</div><div class=""><br class=""></div><div class="">I copied the init scripts from a Gentoo system that is running the typical NTP package, <b style="color: rgb(52, 189, 38); font-family: Menlo; font-size: 11px;" class="">ntp-4.2.8_p7</b>.  I updated the ntpd init script to use "/usr/local/sbin/ntpd” - this was successful in starting NTPSec's ntpd.</div><div class=""><br class=""></div><div class="">I made no changes to the ntp-client startup script (it doesn’t specify an executable path in the init script - only an executable name in the config file, in case you want to change it to use ntpd).  I saw from the NTPSec site (<a href="https://www.ntpsec.org/removal-plan.html" class="">https://www.ntpsec.org/removal-plan.html</a>) that ntpdate was deprecated and a wrapper was supplied. I discovered that “./waf install” does not install ntpdate.  Is this by design, or an over sight (I saw ntpdate in the util directory)?</div><div class=""><br class=""></div><div class="">For testing, I copied util/ntpdate to /usr/local/sbin.  The Gentoo init script for ntp-client worked perfectly, with no modifications.  I then modified the “/etc/conf.d/ntp-client” config file to point NTPCLIENT_CMD to ntpd.  The init script worked ok in this manner, also.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Frank</div></body></html>