I need proper "soft-pulling" of the system time and not this periodic update of the systemd-timesyncd (which may be fine for desktop applications).
Also I would need to be able to use ntpq or the API to check programmatically if the time is in sync with the master ntp server and what the offsets are.
Will there be issues with the realtime-kernel and possibly the communication with the modules? Anyone running a stretch image with "real" ntpd? Any issues with the RTC?
For now I just installed NTP with
and it is running, but the timedatectl tool is still there and telling me the time is not synced"apt-get install ntp ntp-doc"
i assume it tries to get this information from the not-running systemd-timesyncd and silently fails. Does anybody know if that is intended behaviour?pi@sulfurpi:~ $ timedatectl
Local time: Tue 2020-04-07 09:32:04 UTC
Universal time: Tue 2020-04-07 09:32:04 UTC
RTC time: Tue 2020-04-07 09:32:06
Time zone: Etc/UTC (UTC, +0000)
Network time on: yes
NTP synchronized: no
RTC in local TZ: no
pi@sulfurpi:~ $
ntp seems running ok:
Am I overlooking something or is this how it is supposed to be? I'm a bit worried about the HW clock beeing off by 2 seconds. Should the Hw clock not be set to current system time on every shutdown?pi@sulfurpi:~ $ ntpstat
synchronised to NTP server (134.34.3.19) at stratum 2
time correct to within 19 ms
polling server every 64 s
Markus