Werk #16897 · Sep 25, 24
chrony: wrong handling of 'n/a' values for 'Ref time (UTC)' and 'Stratum'
A chrony status without a valid server also contains invalid values for 'Stratum' and 'Ref time', resulting in a 'Time since last sync' of 54 years 256 days being reported (which is the difference to epoc := 1.1.1970).
This change just skips reporting 'Stratum' and 'Time since last sync' if we don't have a valid server (address).
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 2.4.0b1All Editions
- 2.3.0p19CommunityProUltimateUltimate + MT
- 2.2.0p36CommunityProUltimateUltimate + MT