Chrony – Zeitsynchronisation

Als Alternative zu NTP wird immer häufiger “chrony” verwendet. Nachfolgend eine Beispielkonfiguration als Empfehlung.

    ### Rev. https://opensource.com/article/18/12/manage-ntp-chrony
    ### Rev. https://chrony.tuxfamily.org/
    ### Examples https://chrony.tuxfamily.org/doc/4./chrony.conf.html#examples

    ### as a NTP Client
    # /etc/chrony.conf

    server     time.ethz.ch  iburst prefer
    server     time1.ethz.ch iburst
    server     time2.ethz.ch iburst
    pool       2.fedora.pool.ntp.org iburst
    driftfile  /var/lib/chrony/drift
    makestep   1.0 3
    rtcsync
    keyfile    /etc/chrony.keys
    leapsectz  right/UTC
    logdir     /var/log/chrony

    #NTPD, tinker panic 0 (Allow large time jumps, This configuration
           directive must be at the top of the configuration file)

Nachfolgende einige Shell-Comands zur Steuerung:

   bash# systemctl enable --now chronyd
   bash# systemctl is-active chronyd.service

   bash# chronyc tracking
   bash# chronyc sources
   bash# chronyc sources -v