diff -Nru chrony-3.5/debian/changelog chrony-3.5/debian/changelog --- chrony-3.5/debian/changelog 2020-04-01 07:25:45.000000000 +0000 +++ chrony-3.5/debian/changelog 2020-04-15 07:01:30.000000000 +0000 @@ -1,3 +1,12 @@ +chrony (3.5-6ubuntu4~ppa1) focal; urgency=medium + + * debian/postrm: + - Stop starting systemd-timesyncd in postrm. This is no longer relevant + since systemd-timesyncd is a standalone package declaring + Conflicts/Replaces/Provides: time-daemon. (Closes 955773, LP: #1872183) + + -- Christian Ehrhardt Wed, 15 Apr 2020 09:01:30 +0200 + chrony (3.5-6ubuntu3) focal; urgency=medium * avoid multiple time services running concurrently (LP: #1870144). diff -Nru chrony-3.5/debian/postrm chrony-3.5/debian/postrm --- chrony-3.5/debian/postrm 2020-04-01 07:25:45.000000000 +0000 +++ chrony-3.5/debian/postrm 2020-04-15 07:01:16.000000000 +0000 @@ -7,15 +7,6 @@ # targets: purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear -restore_timesyncd() { - # on next reboot it would start, but that would leave time - # unsynchronized until then. So as the Conflicts in the service file kill - # systemd-timesyncd re-establish it if it is enabled - if [ -d /run/systemd/system ]; then - deb-systemd-invoke start systemd-timesyncd || true - fi -} - case "$1" in purge) rm -f /var/lib/chrony/* @@ -39,16 +30,9 @@ then deluser --quiet --system _chrony > /dev/null 2>&1 || true fi - - restore_timesyncd - ;; - - remove) - restore_timesyncd ;; upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - ;; *)