John Seager, vice president of engineering at Canonical and technical lead of the Ubuntu project, announced plans to integrate the NTP server ntpd-rs, written in Rust, into the upcoming release of Ubuntu 26.10, which is already used in the infrastructure of the Let's Encrypt certificate authority. The ntpd-rs project will become the third component, following Rust Coreutils and sudo-rs, integrated into Ubuntu as part of the initiative to improve the quality of the system environment through the delivery of software initially developed with a focus on security, reliability, and correctness.
The discussion also includes replacing the zlib library with zlib-rs and using the Sequoia package instead of GnuPG in the APT package manager. The ntpd-rs package is intended to be used by default as serveru a precise time synchronization client, which over time will replace the currently used packages chrony, linuxptp, and possibly gpsd. The proposed implementation plan includes delivering the latest version of the ntpd-rs package in the Ubuntu 26.10 repositories as an option for testing. In Ubuntu 27.04, they plan to use ntpd-rs by default as a unified server and client supporting the NTP, NTS, and PTP protocols.
The ntpd-rs project is being developed by the Trifecta Tech Foundation, which is also responsible for developing the already integrated sudo-rs utility in Ubuntu. Canonical will fund the development of new features and enhancements in ntpd-rs. Among other things, they plan to integrate the work of the Statime project, which develops the implementation of the PTP (Precision Time Protocol) protocol in Rust, to unify the support of current time synchronization protocols in one package and use ntpd-rs not only as a replacement for chrony but also for linuxptp.
Additional features to be implemented in ntpd-rs before deployment include the realization of gPTP and CSPTP protocols, support for the gpsd IP socket, multi-threaded mode of NTP servers, the ability to use in multi-homed mode, creation of isolation profiles based on AppArmor and seccomp, providing tools for testing and performance evaluation, making improvements related to logging and tuning, and enhancing the ntp-cli utility.
Vedle společných projektů s organizací Trifecta Tech Foundation se společnost Canonical také stala jedním z "zlatých" účastníků organizace Rust Foundation, která se zabývá rozvojem a podporou jazyka Rust a související ekosystémy. Kromě společnosti Canonical, která se stala jediným zlatým účastníkem, klíčové financování vývoje Rust poskytuje 6 platinových účastníků — Google, Microsoft, Amazon, ARM, Meta a Huawei. Výše příspěvku zlatého účastníka činí 150 tisíc dolarů ročně, platinového — 325 tisíc dolarů.
Dále můžeme zmínit oznámení Juliána Andresa Klodeho ze společnosti Canonical, který doprovází projekt APT, o záměru snížit počet parserů v zaváděči GRUB s cílem snížit plochu pro útok. V Ubuntu 26.10 je navrženo odstranit z digitálně podepsaných sestavení GRUB podporu obrazových formátů jpeg a png, tabulek oddílů part_apple a možnosti využití FS btrfs, hfsplus, xfs a zfs pro oddíl /boot. Kromě toho se plánuje odstranit podporu používání oddílů LVM, md-raid (kromě raid1) a šifrovaných oddílů LUKS v /boot.
Je uvedeno, že v instalátoru Ubuntu se pro /boot vždy používá pouze FS ext4, zatímco jiné systémy nejsou testovány a představují hrozbu pro obcházení režimu ověřeného spuštění na pozadí periodického zjišťování zranitelností v GRUB (1, 2, 3, 4, 5, 6, 7). Co se týče odstranění podpory šifrování oddílu /boot, tato operace se považuje za zbytečnou (security by obscurity) — v tomto kontextu je důležité zajistit kontrolu integrity v oddílu /boot, což se realizuje pomocí TPM FDE, a ne skrýváním dat. V oddílech mimo /boot bude možné i nadále používat LUKS, LVM a MD-RAID. Omezení se také nebudou uplatňovat při spuštění mimo režim UEFI Secure Boot.
Zdroj: opennet.ru
