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 package during the upgrade. > > b/ an alternative, like ntp, is installed. In this case, we want to remove > the now obsolete conffiles > /etc/dhcp/dhclient-exit-hooks.d/timesyncd > /etc/systemd/timesyncd.conf > from the systemd package during the upgrade.
... unless they have been modified by the user, I suppose. You need to consider that the user may have temporarily installed an alternative like ntp, and if he removes it to go back to timesyncd, he should still have his changes around. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)