Hello,

Ce matin en démarrant ma machine je me suis rendu compte qu'elle ne s'est pas mis à l'heure d'été. Visiblement NTP n'était pas activé. J'ai remédié au problème, la machine est bien à l'heure d'été.

Une chose reste brumeuse :
[root@localhost ~]# timedatectl 
               Local time: dim. 2021-03-28 12:17:17 CEST
           Universal time: dim. 2021-03-28 10:17:17 UTC 
                 RTC time: dim. 2021-03-28 12:17:17     
                Time zone: Europe/Paris (CEST, +0200)   
System clock synchronized: no                           
              NTP service: active                       
          RTC in local TZ: yes                          

Warning: The system is configured to read the RTC time in the local time zone.
         This mode cannot be fully supported. It will create various problems
         with time zone changes and daylight saving time adjustments. The RTC
         time is never updated, it relies on external facilities to maintain it.
         If at all possible, use RTC in UTC by calling
         'timedatectl set-local-rtc 0'.
Est-ce normal d'avoir un System clock synchronized: no ? Si non, comment y remédier ? Sur la doc je lis qu'il faut ajouter un à /etc/sysconfig/ntpdate ; or je n'ai pas ce fichier. Et pour cause, ntpdate n'est pas installé et je comprends qu'il est obsolète. lancer un hwclock --systohc ne change rien.
je n'ai pas le même résultat :
# timedatectl
               Local time: dim. 2021-03-28 15:03:11 EEST
           Universal time: dim. 2021-03-28 12:03:11 UTC 
                 RTC time: dim. 2021-03-28 12:03:11     
                Time zone: Europe/Vilnius (EEST, +0300) 
System clock synchronized: yes                          
              NTP service: active                       
          RTC in local TZ: no
c'est apparemment le RTC in local TZ: yes qui change le comportement
ok dans /etc/adjtime j'ai remplacé le LOCAL par UTC, ce qui a viré le RTC in local TZ.

J'ai bien un RTC in local TZ: no

Je bloque encore sur le system clock sync. j'ai envoyé un timedatectl set-ntp true puis redémarré le service :
[root@localhost ~]# systemctl restart ntpd.service 
[root@localhost ~]# systemctl status ntpd.service 
● ntpd.service - Network Time Service
     Loaded: loaded (/usr/lib/systemd/system/ntpd.service; disabled; vendor preset: disabled)
     Active: active (running) since Sun 2021-03-28 22:20:50 CEST; 5s ago
    Process: 8861 ExecStart=/usr/sbin/ntpd -u ntp:ntp $OPTIONS (code=exited, status=0/SUCCESS)
   Main PID: 8863 (ntpd)
      Tasks: 2 (limit: 9355)
     Memory: 984.0K
        CPU: 95ms
     CGroup: /system.slice/ntpd.service
             └─8863 /usr/sbin/ntpd -u ntp:ntp -g

mars 28 22:20:50 localhost.localdomain ntpd[8863]: Listen and drop on 0 v6wildcard [::]:123
mars 28 22:20:50 localhost.localdomain ntpd[8863]: Listen and drop on 1 v4wildcard 0.0.0.0:123
mars 28 22:20:50 localhost.localdomain ntpd[8863]: Listen normally on 2 lo 127.0.0.1:123
mars 28 22:20:50 localhost.localdomain ntpd[8863]: Listen normally on 3 wlp2s0 192.168.1.39:123
mars 28 22:20:50 localhost.localdomain ntpd[8863]: Listen normally on 4 lo [::1]:123
mars 28 22:20:50 localhost.localdomain ntpd[8863]: Listen normally on 5 wlp2s0 [fe80::ffdf:ab3a:c263:28d3%2]:123
mars 28 22:20:50 localhost.localdomain ntpd[8863]: Listening on routing socket on fd #22 for interface updates
mars 28 22:20:50 localhost.localdomain ntpd[8863]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
mars 28 22:20:50 localhost.localdomain ntpd[8863]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
mars 28 22:20:50 localhost.localdomain systemd[1]: Started Network Time Service.
NTP semble bien fonctionner :
[root@localhost ~]# ntpstat 
synchronised to NTP server (172.86.181.76) at stratum 3
   time correct to within 296 ms
   polling server every 64 s
je vais creuser. edit à venir
pourquoi tu n'utilises pas chronyd ?
j'avais compris qu'il fallait désactiver chronyd ; mais à la (re)lecture de la doc je me suis rendu compte que j'ai fabulé. merci de m'avoir fait réaliser ça, je corrige ça demain et je rends compte.
okayyyyyy donc voilà l'affaire : il y a longtemps j'ai voulu implémenter NTS (article). ça avait foiré, et je n'avais pas retiré les "nts" de mon fichier de conf chrony... ça marche tout de suite beaucoup mieux sans.

je clos