Package: ntp Version: 1:4.2.8p4+dfsg-3+b1 Severity: normal -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
ntp seems to write bogous dates to the hardware clock on shutdown when used in combination with systemd-timesyncd. Here's what happens on a system with a broken RTC, in terms that it does not keep time through power cycles: 1. System is powered on, RTC has 2010-01-10 (probably zero from BIOS). 2. systemd-timesyncd comes up, reading last known time from disk (2016-02-11 in that case). 3. ntp comes up and synchronises to the network (2016-02-25). 4. System is shut down and rebooted without power cycle. The RTC now has 2022-02-17. Remarkably, the offeset between 1. and 2. is not the same, but very close to the one between 3. and 4. This does not happen when ntp is disabled. In that case, the RTC has 2010-02-10 again after reboot. - -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages ntp depends on: ii adduser 3.113+nmu3 ii dpkg 1.18.4 ii libc6 2.21-9 ii libcap2 1:2.24-12 ii libedit2 3.1-20150325-1+b1 ii libopts25 1:5.18.7-3 ii libssl1.0.2 1.0.2f-2 ii lsb-base 9.20160110 ii netbase 5.3 Versions of packages ntp recommends: ii perl 5.22.1-7 Versions of packages ntp suggests: pn ntp-doc <none> - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQJOBAEBCAA4BQJWzxGcMRpodHRwczovL3d3dy5kb21pbmlrLWdlb3JnZS5kZS9n cGctcG9saWN5LnR4dC5hc2MACgkQt5o8FqDE8pZhKw/6AkQuRJSQEZVqhDeZI13H jQ91jXEX/kC8aBrveUxFHvlEVoiA8J+eWTtT+003S6IT/RITcvKpbpO0BCys0rDx nBTRIw5ngp7IOei2TjhRgE36swLR5BoQrx0DUZf551p+p6l91lc/D9UUjyI8ptCJ mB9ROC4wuaas6c+91z/wjfxaQUK04nw7dL5eXSZ3VFW6StjqNAycHyv1obYyBdhE w+P6ERy0hyxXfjXT/hq/CzsYR+EzMmsY6FjKIIyOvu+gz59bhB3LApiZARgAZIUK Vwpw/LN39BiozLYb7tHbWCP6WEHvF3e0QTgE4bRWXPO5yO8NLEIgDJ7TGxdIXgtJ DCgOr8UIWxShNhGGUGc9aF1Upk5jGpyIQCzNxifzbE/pl/MWoAmSZoHhZecf4UMm t0mwxhfRf4ZdhKifh+2vG/sV6ffGzc05Gm2HcpF5k3PvlvYp3B/wfiwHI0ujm6dN SF2NFGHqGYg/xUUSdcWLH0o1fRsofysgYlG+3tc30UYlthwpSxeIIT9s3/aC7w/7 RIXKubph0r3SXDV2jJ9iXnXu8akdoWOCZBqWTLwaVzIyOKIT7LD7FOPqlSczc3px EdL52F4UmLFtXV0IN/c+gpgY5PXsKCTAH88e6rjLMX10va8AfnAQVF5Mkgz6bf8Q NccKSb55HGntp2zK+KcnpWg= =4+4D -----END PGP SIGNATURE-----