[chrony-dev] [Git][chrony/chrony][master] 5 commits: sources: delay maxjitter/maxdistance warning messages

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


Title: GitLab

Miroslav Lichvar pushed to branch master at chrony / chrony

Commits:

  • 072ec20e
    by Miroslav Lichvar at 2025-03-13T16:16:28+01:00
    sources: delay maxjitter/maxdistance warning messages
    
    Avoid logging the new warning messages about exceeded maxjitter or
    maxdistance when only a small number of samples is collected after the
    source becomes reachable and the values are unstable. Log the messages
    only when a replacement attempt is made.
    
  • c27a298d
    by Miroslav Lichvar at 2025-03-13T16:25:42+01:00
    sources: switch unselect_selected_source() to variable arguments
    
    Switch the function to the full printf style, which will be needed to
    log an integer.
    
  • 274c1767
    by Miroslav Lichvar at 2025-03-13T16:25:54+01:00
    sources: improve no-selectable-sources log message
    
    Include the number of unreachable sources in the "Can't synchronise: no
    selectable sources" log message to provide a hint whether it might be a
    networking issue.
    
  • c66c774e
    by Miroslav Lichvar at 2025-03-13T16:25:54+01:00
    sources: increase severity of can't-synchronise log messages
    
    Switch the info-level "Can't synchronise" selection messages to
    warnings.
    
  • bf964673
    by Miroslav Lichvar at 2025-03-13T16:30:27+01:00
    reference: add wait options for local reference activation
    
    Add "waitunsynced" option to specify how long chronyd needs to wait
    before it can activate the local reference when the clock is not
    synchronized to give the configured sources a chance to synchronize the
    local clock after start. The default is 300 seconds when the orphan
    option is enabled (same as the ntpd's default orphanwait), 0 otherwise.
    
    Add "waitsynced" option to specify how long it should wait when the
    clock is synchronized. It is an additional requirement to the distance
    and activate options.
    

14 changed files:



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/