systemd-timesyncd unexpectedly not enabled by default
Description:
My understanding of the output of the 'preset: enabled' section of the Loaded: line of the output of systemctl status systemd-timesyncd.service
indicates this service should be enabled by default. The Arch Wiki Installation Guide didn't appear to instruct the user to enable this service; though it does mention keeping the time synchronized with systemd-timesyncd, so I guess reading that article does say to start/enable the service. My argument is this start/enable step shouldn't be necessary with 'preset: enabled'.
I was shocked to see the following output:
% systemctl status systemd-timesyncd.service
○ systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded (/usr/lib/systemd/system/systemd-timesyncd.service; disabled; preset: enabled)
Active: inactive (dead)
Docs: man:systemd-timesyncd.service(8)
With 'preset: enabled', I expected this to be running already and my time synchronized. The systemd.preset(5) manual even states:
DESCRIPTION Preset files may be used to encode policy which units shall be enabled by default and which ones shall be disabled.
Additional info:
- package version(s):
- config and/or log files:
- link to upstream bug report, if any:
systemd 255.3-1
Steps to reproduce:
- Install Arch following the Installation Guide. If you start/enable systemd-timesyncd manually, you will work around this problem.
- Issue the
sudo systemctl preset systemd-timesyncd.service
command, which should return it to default (which should be enabled). Maybe that's where the bug actually lies.