Bug#994919: systemd: silently removed configuration files for systemd-timesyncd

2021-09-23 Thread Michael Biebl
Am 23.09.21 um 14:14 schrieb Michael Biebl: Now, with the above change in debhelper, this code no longer works as intended. One issue I immediately see is that /var/lib/dpkg/info/systemd.conffiles doesn't contain any version constraints but only remove-on-upgrade /etc/dhcp/dhclient-exit-hooks.

Bug#994919: systemd: silently removed configuration files for systemd-timesyncd

2021-09-23 Thread Michael Biebl
Am 23.09.21 um 14:14 schrieb Michael Biebl: Or maybe there is another way to fix the immediate breakage? Fwiw, Ansgar suggested to remove those conffiles from systemd.maintscript and call dpkg-maintscript-helper manually. E.g. could "remove-on-upgrade" have a version constraint to it's only

Bug#994919: systemd: silently removed configuration files for systemd-timesyncd

2021-09-23 Thread Vincent Lefevre
On 2021-09-23 14:14:06 +0200, Michael Biebl wrote: > We have two use cases: > a/ prior to the upgrade, no package providing time-daemon was installed -> > we install systemd-timesyncd and transfer ownership of > /etc/dhcp/dhclient-exit-hooks.d/timesyncd > /etc/systemd/timesyncd.conf > to the new pa

Bug#994919: systemd: silently removed configuration files for systemd-timesyncd

2021-09-23 Thread Michael Biebl
Hi everyone Am 23.09.21 um 12:22 schrieb Ansgar: Hi, On Thu, 2021-09-23 at 09:51 +0300, Martin-Éric Racine wrote: Setting up systemd (247.9-2) ... Removing obsolete conffile /etc/dhcp/dhclient-exit-hooks.d/timesyncd ... Removing obsolete conffile /etc/systemd/timesyncd.conf ... Setting up syst