Hi!

On Sat, 2023-09-02 at 16:43:57 +0200, Sven Joachim wrote:
> Package: dpkg
> Version: 1.22.0
> Severity: normal

> Upgrading dpkg stops the dpkg-db-backup.timer, which seems rather
> undesirable, as it the timer remains inactive until the next reboot or
> until it is started manually:
[…]

Ah! Nice catch.

> It seems to me that commit 64a648e7db91 ("debian: Do not start the
> dpkg-db-backup timer during installation") was wrong.  Surely, it
> avoids the "dpkg-db-backup.service is a disabled or a static unit
> not running, not starting it." notice during upgrades, but the timer
> (not the service!) should still be (re-)started.

I considered adding also --no-stop-on-upgrade, but due to #932360 that
seemed bad, and afterwards for some reason thought the stop case was
needed for purge, but rechecking now that's handled by the
«deb-systemd-helper purge» action.

So I've locally added the option, and manual daemon-reload, and will
also add a temporary fixup for the start of the timer for that
specific version.

Thanks,
Guillem

Reply via email to