[chrony-dev] [Git][chrony/chrony][master] 5 commits: test: replace another C99-style declaration in for loop

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


Title: GitLab

Miroslav Lichvar pushed to branch master at chrony / chrony

Commits:

  • 7fe98a83
    by Miroslav Lichvar at 2024-03-11T12:00:12+01:00
    test: replace another C99-style declaration in for loop
    
  • f49be7f0
    by Miroslav Lichvar at 2024-03-12T14:57:30+01:00
    conf: don't load sourcedir during initstepslew and RTC init
    
    If the reload sources command was received in the chronyd start-up
    sequence with initstepslew and/or RTC init (-s option), the sources
    loaded from sourcedirs caused a crash due to failed assertion after
    adding sources specified in the config.
    
    Ignore the reload sources command until chronyd enters the normal
    operation mode.
    
    Fixes: 519796de3756 ("conf: add sourcedirs directive")
    
  • 6d0143e9
    by Miroslav Lichvar at 2024-03-14T16:39:32+01:00
    ntp: add more debug messages for resolving
    
  • 6e5513c8
    by Miroslav Lichvar at 2024-03-14T16:39:41+01:00
    ntp: don't keep refresh requests in list of unresolved sources
    
    The refresh command adds requests to reresolve addresses of all sources.
    If some sources didn't have an IP address resolved yet, the
    corresponding requests were not removed after failed resolving. Repeated
    refresh commands increased the number of requests and number of calls of
    the system resolver, which might not be caching DNS responses.
    
    Remove all refresh requests from the list after resolving attempt to fix
    that.
    
    Reported-by: t.barnewski@xxxxxx
    Fixes: d7e3ad17ff7a ("ntp: create sources for unresolved addresses")
    
  • 86386635
    by Miroslav Lichvar at 2024-03-14T16:39:41+01:00
    ntp: avoid unnecessary restart of resolving round on refresh
    
    Don't call NSR_ResolveSources() when a resolving round is already
    started. This cuts the number of calls of the system resolver made due
    to the refresh command to half.
    

4 changed files:



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