Bug#993947: Time lost, /etc/systemd/timesyncd.conf gets replaced with a default one

2021-09-09 Thread Felipe Sateler
On Thu, Sep 9, 2021 at 5:01 PM Michael Biebl wrote: > Am 09.09.21 um 16:15 schrieb Michael Biebl: > > Am 09.09.21 um 15:15 schrieb Felipe Sateler: > >> It should give us the guarantees[1]: > >> > >> > The postinst script may be called in the following ways: > >> > postinst configure

Bug#993947: Time lost, /etc/systemd/timesyncd.conf gets replaced with a default one

2021-09-09 Thread Michael Biebl
Am 09.09.21 um 16:15 schrieb Michael Biebl: Am 09.09.21 um 15:15 schrieb Felipe Sateler: It should give us the guarantees[1]:  > The postinst script may be called in the following ways:  > postinst configure most-recently-configured-version  >   The files contained in the package will be

Bug#993947: Time lost, /etc/systemd/timesyncd.conf gets replaced with a default one

2021-09-09 Thread Michael Biebl
Am 09.09.21 um 16:15 schrieb Michael Biebl: That said, keep in mind that we don't have a versioned systemd dep (yet), only an unversioned one [1]. Actually, what I said is not true. We do get a strict, versioned Depends via shlibs.local as systemd-timesyncd links against libsystemd-shared

Bug#993947: Time lost, /etc/systemd/timesyncd.conf gets replaced with a default one

2021-09-09 Thread Michael Biebl
Am 09.09.21 um 15:15 schrieb Felipe Sateler: It should give us the guarantees[1]: > The postinst script may be called in the following ways: > postinst configure most-recently-configured-version >   The files contained in the package will be unpacked. >   All package dependencies will at

Bug#993947: Time lost, /etc/systemd/timesyncd.conf gets replaced with a default one

2021-09-09 Thread Felipe Sateler
Hi, On Thu, Sep 9, 2021 at 5:12 AM Michael Biebl wrote: > Hi Felipe > > Am 08.09.21 um 19:25 schrieb Michael Biebl: > > systemd-timesyncd was split into a separate binary package in bullseye. > > Transferring the ownership of the conffile from systemd to > > systemd-timesyncd is a tricky

Bug#993947: Time lost, /etc/systemd/timesyncd.conf gets replaced with a default one

2021-09-09 Thread Santiago Garcia Mantinan
Hi again! I have just migrated another machine and I found out that it worked out well. The thing is exactly what you have descrived, here the order was (luckily) the right one, so when systemd-timesyncd is configured, systemd had already created the dpkg-bak file like we can see here:

Bug#993947: Time lost, /etc/systemd/timesyncd.conf gets replaced with a default one

2021-09-09 Thread Michael Biebl
Hi Felipe Am 08.09.21 um 19:25 schrieb Michael Biebl: systemd-timesyncd was split into a separate binary package in bullseye. Transferring the ownership of the conffile from systemd to systemd-timesyncd is a tricky business as dpkg does not have native support for that and so we need to go

Bug#993947: Time lost, /etc/systemd/timesyncd.conf gets replaced with a default one

2021-09-08 Thread Michael Biebl
Am 08.09.21 um 19:25 schrieb Michael Biebl: We do have some custom maintainer scripts code where we try to preserve local modifications: https://salsa.debian.org/systemd-team/systemd/-/blob/debian/master/debian/systemd-timesyncd.postinst Apparently this does not work properly. Needless to

Bug#993947: Time lost, /etc/systemd/timesyncd.conf gets replaced with a default one

2021-09-08 Thread Michael Biebl
Am 08.09.21 um 14:04 schrieb Santiago Garcia Mantinan: Package: systemd-timesyncd Version: 247.3-6 Severity: important Hi! On upgrade from Buster to Bullseye I have seen my machines, without Internet ntp access, loose their time sync because of the upgrade. On the upgrade to the new packages,

Bug#993947: Time lost, /etc/systemd/timesyncd.conf gets replaced with a default one

2021-09-08 Thread Santiago Garcia Mantinan
Package: systemd-timesyncd Version: 247.3-6 Severity: important Hi! On upgrade from Buster to Bullseye I have seen my machines, without Internet ntp access, loose their time sync because of the upgrade. On the upgrade to the new packages, the old /etc/systemd/timesyncd.conf file which specifies