Your message dated Tue, 18 Jan 2022 11:23:50 +0100
with message-id <[email protected]>
and subject line Re: Bug#1003931: systemd-timesyncd: please set default NTP 
servers in stock configuration
has caused the Debian Bug report #1003931,
regarding systemd-timesyncd: please set default NTP servers in stock 
configuration
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1003931: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003931
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: systemd-timesyncd
Version: 250.2-3
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

The stock configuration file that ships with systemd-timesyncd has all options 
commented out. 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.

What currently ships:

[Time]
#NTP=
#FallbackNTP=0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 
3.debian.pool.ntp.org
#RootDistanceMaxSec=5
#PollIntervalMinSec=32
#PollIntervalMaxSec=2048
#SaveIntervalSec=60

What's expected:

[Time]
NTP=0.debian.pool.ntp.org 1.debian.pool.ntp.org
#FallbackNTP=2.debian.pool.ntp.org 3.debian.pool.ntp.org
#RootDistanceMaxSec=5
#PollIntervalMinSec=32
#PollIntervalMaxSec=2048
#SaveIntervalSec=60

... or something similar that would have a default list of NTP servers enabled 
in the stock configuration.

- -- System Information:
Debian Release: bookworm/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: i386 (i586)

Kernel: Linux 5.15.0-2-686 (SMP w/1 CPU thread)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages systemd-timesyncd depends on:
ii  adduser  3.118
ii  libc6    2.33-2
ii  systemd  250.2-3

systemd-timesyncd recommends no packages.

systemd-timesyncd suggests no packages.


- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAmHmixcACgkQrh+Cd8S0
17Z5Qg/+KeK+XOm0hGfjaKUiEDGefnJ0WIIeNJDs5o2omyWimWZEAtSmvwDhDZ4a
Dou05s4vGfs9NUdvHWHyQL4uXrYhWKdis+aqi71eEhXnM/2sc8pfStEaqBL1TzG/
9TwE3/Vnq5cWXBmNcs/fWJ4tneYknmtyCNB4X5z2GE5oeKbwdWzr86yPN5HL1z/1
qopeacOffu7v449qLnvEPof+1TzNMNCVQVYRPPckwROFBnIjb+WnePIGHGxh/6SI
GOmZet9L3/5DiPTVYYbKvKG61zrOZAwpOkvahqRvG5TLtENDJXaOCwQrNxb7Q3ll
kWTZ3yCulyW74mX5bwoLSiGusVFOS9H+SGx1X423eYUn+8FqUOHQDJLzUzaK5fBI
dku6sxG7EKNlnNWkNdfdTEhMIbmRIu2WwwHfAymoHf99BUW9sETxXq0lQtIEzDZc
vloBWGIvbZrj4n4d3cMjXjaPO7n9Y5kJd80KrhYA4B9UYS/2VC8xvvy3PuHyunfq
nmpFLSoFYRDhnjEbXbw3vpQpYrz/ua2d1qD/JTjNjFQFYYIQHI7sYEhYCP62eTqz
iMinaqgsi7bQyqV+tl3SIadlTEbM/OyVVTGG+8q6Qc5k703fQKEP+EFop++Ta1p5
EbifbIn8/hDe3EPhvMeSRAX6iO5K/pZ1MlgUGtxDi6DZr7sBPxY=
=Zi66
-----END PGP SIGNATURE-----

--- End Message ---
--- Begin Message ---
Am 18.01.22 um 11:12 schrieb Martin-Éric Racine:
On Tue, Jan 18, 2022 at 11:52 AM Ansgar <[email protected]> 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.

That's how all systemd config files work.
The commented out values denote the (compiled-in) defaults.

As we do set the default NTP servers (and they are correctly used unless configured/provided otherwise) and we already have documentation in man timesyncd.conf which is referenced in the config file, I'm going to close this bug report.

Regards,
Michael

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---

Reply via email to