Time drift on Arch Linux

last modified: | 1 min read #fix #linux

I’ve recently had some issues with Bitwarden generating faulty TOTP-tokens. This was caused by time drift. I realized Arch Linux doesn’t come with an NTP-service out of the box.

I’ve solved the issue be enabling the NTP-service that is built into SystemD.

sudo systemctl enable systemd-timesyncd.service
sudo systemctl start systemd-timesyncd.service

To check everything was working properly I ran the following command:

timedatectl status

Now clearly showing an NTP-service is active.