Miroslav Lichvar pushed to branch master at chrony / chrony
Commits: 3ee7b3e7 by Miroslav Lichvar at 2023-11-28T12:21:23+01:00 sources: rework logging of selection loss The commit 5dd288dc0cbd ("sources: reselect earlier when removing selected source") didn't cover all paths that can lead to a missing log message when all sources are removed. Add a flag to track the loss of selection and postpone the log message in transient states where no message is logged to avoid spamming in normal operation. Call SRC_SelectSource() after removing the source to get a log message if there are no (selectable) sources left. Reported-by: Thomas Lange <tho...@corelatus.se> - - - - - 1 changed file: - sources.c View it on GitLab: https://gitlab.com/chrony/chrony/-/commit/3ee7b3e786f4758e9799866b5a5a184b9a4e6bd3 -- View it on GitLab: https://gitlab.com/chrony/chrony/-/commit/3ee7b3e786f4758e9799866b5a5a184b9a4e6bd3 You're receiving this email because of your account on gitlab.com.