alt.hn

3/26/2026 at 12:35:43 PM

Ntpd-rs: it's about time

https://discourse.ubuntu.com/t/ntpd-rs-its-about-time/79154

by ImJamal

3/26/2026 at 2:41:13 PM

Ubuntu's rollout of a Rust-based coreutils replacement had a bug [0] that, among other things, broke automatic updates.

and the bug was...not subtle, either. it just silently ignored the documented behavior of `date -r` (printing the modtime of a file) [1, 2]

as a time synchronization nerd, I've been following ntpd-rs's development, and tested it out as a possible replacement for Chrony. my overall impression is that like rust-coreutils, it's a well-intentioned project but not ready for prime-time, certainly not at the level of "installed by default on Ubuntu" (even in a non-LTS release)

for example, there's an issue that's been open for ~9 months about logging being unnecessarily verbose, and flooding the system journal [3].

and an issue titled "implement new algorithm" opened by one of the core contributors, with zero description or details [4].

these are not the hallmarks of a stable, mature open-source project.

0: https://lwn.net/Articles/1043103/

1: https://news.ycombinator.com/item?id=45687743

2: https://news.ycombinator.com/item?id=45688185

3: https://github.com/pendulum-project/ntpd-rs/issues/1912

4: https://github.com/pendulum-project/ntpd-rs/issues/2124

by evil-olive

3/26/2026 at 3:44:23 PM

I count 132 packages in cargo.lock.

chrony has some dependencies too but for important optional features like seccomp or capability dropping that I don't think ntpd-rs even implements...

by cozzyd

3/26/2026 at 1:21:20 PM

In upcoming releases, Ubuntu will be adopting ntpd-rs as the default time synchronization client and server, eventually replacing chrony, linuxptp and with any luck, gpsd for time syncing use-cases.

Can they not rewrite all the other daemons in Rust as well? I would rather keep using Chrony on all the Linux distributions that I use.

by Bender

3/26/2026 at 4:10:26 PM

Just because something's written in rust doesn't make it memory safe. Rust programmers are no smarter than c programmers and cannot be trusted to write unsafe code, and rust doesn't stop you from writing unsafe code. Tell me what part of that is untrue

by bcjdjsndon

3/26/2026 at 2:15:47 PM

Not GPL, not interested in replacing chrony

by cozzyd

3/26/2026 at 4:07:14 PM

[dead]

by smeefers

3/26/2026 at 2:37:28 PM

[dead]

by speefers