archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

Switch default NTP client from systemd-timesyncd to ntpd-rs

Open arch-hash opened this issue 8 months ago • 5 comments

describe the request

Currently, the default NTP client in archinstall when automatic NTP is enabled is systemd-timesyncd, which provides only basic time synchronization capabilities but lacks support for NTS, which enables authenticated and encrypted time synchronization operations. Fedora has switched to chrony years ago as it supports NTS, and newer Linux distros like AerynOS are using ntpd-rs. For better security and reliability of time synchronization in Arch Linux, I propose switching the default NTP client to ntpd-rs, as it supports NTS and is available in the Arch Linux repo.

arch-hash avatar May 03 '25 14:05 arch-hash

Arch Linux does not have a default NTP client. archinstall enables systemd-timesyncd.service if the Automatic time sync (NTP) option is enabled; the default for this option is enable.

codefiles avatar May 03 '25 16:05 codefiles

Arch Linux does not have a default NTP client. archinstall enables systemd-timesyncd.service if the Automatic time sync (NTP) option is enabled; the default for this option is enable.

Arch Linux does not have a default NTP client. archinstall enables systemd-timesyncd.service if the Automatic time sync (NTP) option is enabled; the default for this option is enable.

Edited

arch-hash avatar May 03 '25 18:05 arch-hash

The default Arch time servers do not support NTS.

Link acquired from: https://wiki.archlinux.org/title/Systemd-timesyncd#Configuration

codefiles avatar May 03 '25 19:05 codefiles

The default Arch time servers do not support NTS.

An NTP server supporting NTS is one part of the equation, having an NTP client that can actually use NTS is another. I think switching is still worth, just don't enable NTS option until upstream supports it.

arch-hash avatar May 03 '25 20:05 arch-hash

What if systemd-timesyncd supports NTS before the default Arch time servers?

  • https://github.com/systemd/systemd/issues/9481
  • https://community.ntppool.org/t/nts-support-in-the-pools/2939

codefiles avatar May 03 '25 20:05 codefiles