Bug#1003931: systemd-timesyncd: please set default NTP servers in stock configuration

Martin-Éric Racine martin-eric.racine at iki.fi
Tue Jan 18 10:12:39 GMT 2022


On Tue, Jan 18, 2022 at 11:52 AM Ansgar <ansgar at 43-1.org> wrote:
>
> tag 1003931 + moreinfo
> thanks
>
> On Tue, 2022-01-18 at 11:40 +0200, Martin-Éric Racine wrote:
> > The stock configuration file that ships with systemd-timesyncd has
> > all options commented out.
>
> That should be fine.
>
> > Additionally, it doesn't set any default NTP server. This essentially
> > means that Debian ships a package that will not sync to anything by
> > default.
>
> Have you verified this is the case?
>
> timesyncd should use either NTP servers obtained from DHCP or such or
> use the built-in FallbackNTP if no other FallbackNTP is specified in
> timesyncd.conf:

/etc/systemd/timesyncd.conf makes no mention of this. There is no
default content on the NTP line or mention that the fallback servers
are compiled-in.

> +---
> | FallbackNTP=
> | [...] If this option is not given, a compiled-in list of NTP servers
> | is used.
> +---[ man:timesyncd.conf(5) ]

Fair enough.  I'd still suggest mentioning this in the configuration
file's comments.

Martin-Éric



More information about the Pkg-systemd-maintainers mailing list