Bug#1029184: NTP server address provided during initial Debian installation is not used by the running system

2023-01-20 Thread Al Watts
Hi Cyril,

On 19 Jan 2023, at 23:45, Cyril Brulebois  wrote:

> It looks like we should create some /etc/systemd/timesyncd.conf.d/*.conf
> snippet.


Thanks - sounds like this should do it!

Cheers,

Al



Bug#1029184: NTP server address provided during initial Debian installation is not used by the running system

2023-01-18 Thread Al Watts
Package: clock-setup
Version: 0.155
Severity: important

The user-provided NTP server address (in this case a 10(dot) IP address) 
provided during the initial Debian installation is not used by 
systemd-timesyncd in the running system. This has been noted on systems 
installed from Debian 11 NetInst images.

On systems with outbound network restrictions, this results in the clock never 
becoming synchronised, and log messages being reported in /var/log/syslog that 
requests to debian.pool.ntp.org servers are timing out.

/etc/systemd/timesyncd.conf appears to be unchanged from the default packaged 
config file, with all lines commented out.

A work around is to manually adjust the config after installation, however 
people unfamiliar with the bug (myself included until very recently) will 
likely not think to check, believing this has already been covered off during 
the Debian installation.