Oui, je pense que c’est du soft et qu’il n’y a pas de synchro
La commande timedatectl
retourne
Local time: Mon 2020-07-27 14:27:13 CEST
Universal time: Mon 2020-07-27 12:27:13 UTC
RTC time: n/a
Time zone: Europe/Paris (CEST, +0200)
System clock synchronized: yes
NTP service: inactive
RTC in local TZ: no
Le service NTP n’est pas actif chez moi !
J’ai viré le service NTP et utilisé le service systemd-timesyncd à la place
Maintenant, la commande timedatectl
retourne
Local time: Mon 2020-07-27 15:24:48 CEST
Universal time: Mon 2020-07-27 13:24:48 UTC
RTC time: n/a
Time zone: Europe/Paris (CEST, +0200)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
Pour info, je me suis inspiré de ceci
Mon fichier /etc/systemd/timesyncd.conf
contient
[Time]
#NTP
#NTP=ntp.serveur1.fr ntp.serveur2.fr
#FallbackNTP=0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org
FallbackNTP=0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org
#RootDistanceMaxSec=5
#PollIntervalMinSec=32
#PollIntervalMaxSec=2048
Enfin, la commande sudo service systemd-timesyncd status
montre
● systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled)
Drop-In: /lib/systemd/system/systemd-timesyncd.service.d
└─disable-with-time-daemon.conf
Active: active (running) since Mon 2020-07-27 15:24:15 CEST; 2min 52s ago
Docs: man:systemd-timesyncd.service(8)
Main PID: 11074 (systemd-timesyn)
Status: "Synchronized to time server for the first time 213.136.0.252:123 (0.debian.pool.ntp.org)."
Tasks: 2 (limit: 4915)
CGroup: /system.slice/systemd-timesyncd.service
└─11074 /lib/systemd/systemd-timesyncd
Jul 27 15:24:15 RPi4b-Jeedom systemd[1]: Starting Network Time Synchronization...
Jul 27 15:24:15 RPi4b-Jeedom systemd[1]: Started Network Time Synchronization.
Jul 27 15:24:15 RPi4b-Jeedom systemd-timesyncd[11074]: Synchronized to time server for the first time 213.136.0.252:123 (0.debian.pool.ntp.org).
À voir si ça tient dans le temps cette fois