Hi Giacomo!
On Thu, 26 Nov 2026 10:56:52 +0100 (CET) Giacomo Mulas
<[email protected]> wrote:
...
Cause: in 1.4.3+dfsg-1 debian/rules ran "dh_installsystemd --name
clamav-daemon", so no enable snippet was generated for the freshclam units.
In 1.4.6+dfsg-1~deb13u1 the override became
dh_installsystemd -pclamav-daemon clamav-clamonacc.service --no-enable
--no-start
dh_installsystemd --remaining-packages
so the generated postinst now enables (and starts) all three units of
clamav-freshclam; since deb-systemd-helper had never seen the -once units,
"was-enabled" is true and they get enabled on upgrade.
unstable already has the right override (1.4.6+dfsg-1 and 1.4.7+dfsg-1):
dh_installsystemd -pclamav-freshclam clamav-freshclam-once.service
clamav-freshclam-once.timer --no-enable --no-start
but that line is missing from the trixie update, and neither changelog
mentions it. Please consider adding it to the next trixie update (the
already enabled units would still need disabling; perhaps a one-time
maintscript step when the daemon unit is enabled).
Thank you for the very precise bug report! This will be addressed with a
next update.
Kind regards,
Edmund
--
Edmund Lodewijks <[email protected]>
TZ: UTC+2 / GMT+2