[chrony-users] Problem when removing all sources |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: [chrony-users] Problem when removing all sources
- From: Thomas Lange <thomas@xxxxxxxxxxxx>
- Date: Mon, 20 Nov 2023 11:14:00 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corelatus.se; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to; s=fm3; t=1700475244; x=1700561644; bh=wM pEtySrfVZy/fLUSaDsxUzQwDrZIPMnPV+7mOS4p+s=; b=BDdwzspOdMxuDzjybg aK9tHrXCzYCYJ6O3rqM6mSfblXCO3phnAJ+FKx0aZwRjN6btOr7M5yQtI6SB55pP z3anpt0KJnctPMTQ1xrNB9G+sgrD4R4kgPYeWK/WOfelF8UshVoG1Gu+yi81E6rm QA9I+ibQRivehwMwFuuE7rInrtKZtcmP2kaPOLVTso645nM8QFCoq6FpZPjlK4jk z2S48uErjps/9x8vtecTqlkqlahXjiMLoFhTpd6Atnvn7P1TIfDtgkzGwDrOoNKp UkrozQRUK27sQdedG9AT+OoRN9TTvcK+cPrMJxrBIZA644NQ/0/rzj8yNNxf5Pd0 tsfA==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1700475244; x=1700561644; bh=wMpEtySrfVZy/ fLUSaDsxUzQwDrZIPMnPV+7mOS4p+s=; b=cueiskoYWdkQbDsYxUKj3lEatiRXu H7uNH2pMDd1O3zErcut7almKwxwEGAguNMtQCa4cw1PpzCPrUrt6x8jIP8582XzK b6hQin11QShqSKUp25hNq7HAJc4JMFFgDQTwoeGCWnW8VZtR5CkL01izeP0XrgZ7 H4PT5riypeA9oyXAYx0B+3x8/c4x80qXQDXLxc+K3qBaYgp50FlqpMaP0EK4iSLc tBzZziL8UzJWHsHwGx+NaoIHm8Wgo1AwtXXHwvf2l+k/ACRtHT+OT6V76JIpPzpz hBWdbl0oxAIQkaU8ovCfpifUiQ3ti5VCSUwsN1GLgefl4qwqxJRfXAeoA==
- Feedback-id: ia69946ac:Fastmail
Hi,
there could be a problem when removing all sources.
When all sources are removed, I expect a
"Can't synchronise: no selectable sources" message every time.
But occasionally I don't get one. It could be harmless or an indication
of a bug. Or perhaps I've misunderstood how it is supposed to work...
Tested with 4.4 and chrony git commit b6eec0068a, both seems to behave the same.
Logs from a failing example with comments below using b6eec0068a and six
random internet NTP servers.
/Thomas
---------
Configured with:
../configure --sysconfdir=/tmp --disable-ipv6 --disable-readline --without-editline --without-nettle --without-nss --without-tomcrypt --disable-nts --without-gnutls --disable-phc --disable-rtc --disable-asyncdns --disable-forcednsretry --enable-debug
--------------
# pwd
/tmp
# cat chrony.conf
driftfile /var/lib/chrony/drift
makestep 0.1 3
acquisitionport 123
log statistics tracking measurements
logdir /var/log/chrony
sourcedir /tmp/sources/ hwtimestamp * minpoll 4
# cat sources/chrony.sources
server 217.75.106.216 burst iburst xleave
server 103.242.68.69 burst iburst xleave
server 194.58.202.148 burst iburst xleave
server 91.209.0.17 burst iburst xleave
server 194.58.206.20 burst iburst xleave
server 162.159.200.123 burst iburst xleave
# ./chronyd -d
2023-11-19T17:42:53Z chronyd version DEVELOPMENT starting (+CMDMON +NTP +REFCLOCK -RTC +PRIVDROP -SCFILTER -SIGND -ASYNCDNS -NTS -SECHASH -IPV6 +DEBUG)
2023-11-19T17:42:53Z Running with root privileges
2023-11-19T17:42:53Z Frequency 0.001 +/- 103.566 ppm read from /var/lib/chrony/drift
2023-11-19T17:42:53Z Added source 103.242.68.69
2023-11-19T17:42:53Z Added source 162.159.200.123
2023-11-19T17:42:53Z Added source 194.58.202.148
2023-11-19T17:42:53Z Added source 194.58.206.20
2023-11-19T17:42:53Z Added source 217.75.106.216
2023-11-19T17:42:53Z Added source 91.209.0.17
2023-11-19T17:42:58Z Selected source 162.159.200.123
2023-11-19T17:43:00Z Selected source 194.58.202.148
<Remove sources/chrony.sources>
<chronyc reload sources>
2023-11-19T17:43:20Z Removed source 103.242.68.69
2023-11-19T17:43:20Z Removed source 162.159.200.123
2023-11-19T17:43:20Z Removed source 194.58.202.148
2023-11-19T17:43:20Z Selected source 194.58.206.20
2023-11-19T17:43:20Z Removed source 194.58.206.20
2023-11-19T17:43:20Z Removed source 217.75.106.216
2023-11-19T17:43:20Z Removed source 91.209.0.17
<Missing "Can't synchronise: no selectable sources" >
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.