remark related about package removal on bookworm providing a systemd service
Hi,
I do not know if this is something already addressed (elsewhere or in
Trixie), a package issue or something more general.
On a bookworm system, removing systemd-timesyncd is leaving a broken
symlink (/etc/systemd/system/dbus-org.freedesktop.timesync1.service).
On this system, systemd-timesyncd.postrm is showing the following:
# Automatically added by dh_installsystemd/13.11.4
if [ "$1" = "purge" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper purge 'systemd-timesyncd.service' >/dev/null || true
fi
fi
# End automatically added section
But should this treatment be done only in the 'purge' case?
Ie.is there a purpose to keep the systemd service link in addition to
the configuration files?
Regards,
Patrice
Reply to: