Package: ntpd-rs
Version: 1.4.0-6+b3
Severity: important
Dear Maintainer,
We're using ntpd-rs in a fleet with 140 Debian Trixie machines, and
every now and then we get the following error in the logs:
WARN ntpd::daemon::spawn::pool: error while resolving source address,
retrying error=Custom { kind: Uncategorized, error: "failed to lookup address
information: Temporary failure in name resolution" }
When that happens, we see timex.maxerror grow (via the
node_timex_maxerror_seconds Prometheus metric) and eventually reach a
max of 16s. Most times restarting the service fixes it but sometimes it
doesn't. The issue is intermitent and we couldn't pinpoint what actually
triggers it.
We're using the default config, except for small tweaks in logging (see
below).
We think that, if it's indeed an issue with name resolution, ntpd-rs
should recover automatically.
This is the issue on our side:
https://gitlab.torproject.org/tpo/tpa/team/-/work_items/42692
Thanks a lot!
-- System Information:
Debian Release: 13.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.96+deb13-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages ntpd-rs depends on:
ii adduser 3.152
ii libc6 2.41-12+deb13u3
ii libgcc-s1 14.2.0-19
ntpd-rs recommends no packages.
ntpd-rs suggests no packages.
-- Configuration Files:
/etc/ntpd-rs/ntp.toml changed:
[observability]
log-level = "warn"
observation-path = "/var/run/ntpd-rs/observe"
ansi-colors = false
[[source]]
mode = "pool"
address = "ntpd-rs.pool.ntp.org"
count = 4
[synchronization]
single-step-panic-threshold = 1800
startup-step-panic-threshold = { forward="inf", backward = 86400 }
minimum-agreeing-sources = 3
-- no debconf information
--
Zen Fu