Canonical plans to replace Chrony, LinuxPTP, and GPSD with ntpd-rs for Ubuntu's time synchronization needs, aiming for better security and user experience.
Ubuntu is taking another significant step in its Rust adoption journey by planning to replace its current time synchronization stack with ntpd-rs, a Rust implementation of the Network Time Protocol (NTP) and Network Time Security (NTS) protocols.

The move comes as part of Canonical's broader initiative to modernize Ubuntu's core system components using Rust, following previous successes with Rust-based Coreutils and sudo-rs. According to engineers at Canonical, the goal is to consolidate Ubuntu's time synchronization capabilities, which currently rely on multiple components including Chrony, LinuxPTP, and GPSD, into a single, more secure solution.
Timeline and Implementation
While the transition won't make it into the upcoming Ubuntu 26.04 LTS release, Canonical plans to have ntpd-rs available in Ubuntu 26.10. The default switch is expected to occur with Ubuntu 27.04 next year, giving the community ample time to test and provide feedback on the new system.
This measured approach reflects Canonical's commitment to stability, particularly for Long Term Support releases where breaking changes are carefully considered. The phased rollout allows system administrators and users to prepare for the transition without disruption to critical infrastructure.
Why ntpd-rs?
The decision to adopt ntpd-rs stems from several key advantages that Rust brings to system-level programming:
Security Benefits: Rust's memory safety guarantees eliminate entire classes of vulnerabilities that plague C-based implementations. For a component that runs with elevated privileges and handles network communications, this represents a significant security improvement.
Performance Improvements: The Rust implementation promises better performance characteristics, particularly in handling concurrent time synchronization tasks and network operations.
Simplified Maintenance: By consolidating multiple time synchronization tools into a single component, Canonical aims to reduce the maintenance burden and potential for configuration conflicts.
Modern Protocol Support: ntpd-rs includes built-in support for NTS, the newer Network Time Security protocol that provides encryption and authentication for time synchronization, which is increasingly important in today's security landscape.
Impact on Existing Setups
For current Ubuntu users, the transition will be largely transparent. The goal is to provide a drop-in replacement that maintains compatibility with existing configurations while offering improved reliability and security under the hood.
System administrators running time-sensitive applications or services that depend on precise time synchronization should monitor the transition, particularly if they have specialized configurations involving GPSD or LinuxPTP for hardware-based time sources.
The Broader Rust Initiative
This move represents another milestone in Ubuntu's Rust adoption strategy. The operating system has been systematically replacing critical system components with Rust implementations, recognizing the language's benefits for systems programming:
- Coreutils: Basic command-line utilities rewritten in Rust
- sudo-rs: A Rust implementation of the sudo command
- ntpd-rs: The upcoming time synchronization component
Each replacement brings Ubuntu closer to a more secure, maintainable, and performant core system. The cumulative effect of these changes is expected to significantly reduce the attack surface and improve overall system reliability.
Community and Development
Canonical engineers have been actively engaging with the community through Ubuntu Discourse to discuss the transition plans and gather feedback. This transparent approach allows users and developers to understand the reasoning behind the changes and prepare accordingly.
The ntpd-rs project itself is developed by Trifecta Tech, an organization focused on creating high-quality, secure systems software. Their work on ntpd-rs has been ongoing, with the project already demonstrating maturity and stability suitable for production use.
What This Means for Users
For the average Ubuntu user, the switch to ntpd-rs will likely go unnoticed. Time synchronization will continue to work as expected, with the primary differences being improved security and potentially better performance in challenging network conditions.
Enterprise users and system administrators may notice benefits in terms of reduced attack surface, easier configuration management, and better support for modern time synchronization protocols. The consolidation of multiple time-related services into a single component should also simplify troubleshooting and maintenance.
Looking Ahead
The adoption of ntpd-rs is part of a larger trend in the Linux ecosystem toward modernizing core system components. As more projects recognize the benefits of Rust for systems programming, we can expect to see similar transitions across various distributions and applications.
Ubuntu's methodical approach—testing in intermediate releases before making default changes in LTS versions—provides a model for how large-scale system transitions can be managed without disrupting users. This careful planning ensures that the benefits of modernization can be realized without the risks associated with hasty changes to critical system components.
For those interested in learning more about ntpd-rs and its capabilities, the Trifecta Tech project site provides comprehensive documentation and technical details about the implementation.

The transition to ntpd-rs represents another step in Ubuntu's evolution toward a more secure, modern, and maintainable operating system. As the Rust ecosystem continues to mature, we can expect to see more such transitions that bring the benefits of modern programming practices to the foundational components that power our systems.

Comments
Please log in or register to join the discussion