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

Michael Biebl biebl at debian.org
Thu Sep 23 11:15:30 BST 2021


Control: tags -1 + moreinfo

Am 23.09.2021 um 08:51 schrieb Martin-Éric Racine:
 > Package: systemd
 > Version: 247.9-2
 > Severity: important
 >
> 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 systemd-timesyncd (247.9-2) ...
> 
> Yet changelog mentions nothing about this.

It does. Read

systemd (245.4-2) unstable; urgency=medium

   [ Balint Reczey ]
   * Ship systemd-timesyncd in a separate package.
     The new systemd-timesyncd package conflicting with other NTP-related
     packages resolves the problems arising when running systemd-timesyncd
     and other NTP servers on the same system.
     (LP: #1849156, Closes: #805927, #947936)

  -- Michael Biebl <biebl at debian.org>  Sat, 04 Apr 2020 08:59:50 +0200

> 
> Where has the [time] configuration gone to? What will restart NTP sync? Again, the changelog says nothing.
> 
> $ dpkg -L systemd-timesyncd
> /.
> /etc
> /etc/dhcp
> /etc/dhcp/dhclient-exit-hooks.d
> /etc/dhcp/dhclient-exit-hooks.d/timesyncd
> /etc/systemd
> /etc/systemd/timesyncd.conf
> [...]
> 
> So it seems to be misusage of maintainer scripts.

Huh? What kind of misuse of maintainer scripts do you mean?
The files are still there.
Can you elaborate please what the perceived problem is.
Keep in mind that the ownership of the above two conffiles needed to be 
transferred from systemd to systemd-timesyncd while at the same time 
making sure that the files are properly removed if during the upgrade an 
alternate ntp-daemon was chosen.

https://salsa.debian.org/systemd-team/systemd/-/commit/d6483013d5779d4d465a1e174e44a754b941d0e6



More information about the Pkg-systemd-maintainers mailing list