Article View: linux.debian.bugs.dist
Article #6979Bug#1155428: race between services installed by clamav-freshclam causes failure to start some of them
From: Edmund Lodewijks
Date: Tue, 01 Dec 2026 09:50
Date: Tue, 01 Dec 2026 09:50
35 lines
3487 bytes
3487 bytes
Hi Giacomo!
On Thu, 26 Nov 2026 10:56:52 +0100 (CET) Giacomo Mulas
<giacomo.mulas@inaf.it> 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 <edmund@proteamail.com>
TZ: UTC+2 / GMT+2
Technical Details
Message-ID:
<O5sEO-fiV5-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomodReferences:
<O3EqJ-ef20-3@gated-at.bofh.it> <O3EqJ-ef20-3@gated-at.bofh.it> <O3EqJ-ef20-3@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod From: Edmund Lodewijks <edmund@proteamail.com> Newsgroups: linux.debian.bugs.dist Subject: Bug#1155428: race between services installed by clamav-freshclam causes failure to start some of them Date: Tue, 01 Dec 2026 10:50:02 +0100 Message-ID: <O5sEO-fiV5-7@gated-at.bofh.it> References: <O3EqJ-ef20-3@gated-at.bofh.it> <O3EqJ-ef20-3@gated-at.bofh.it> <O3EqJ-ef20-3@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Tue Dec 1 09:43:09 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.451 Reply-To: Edmund Lodewijks <edmund@proteamail.com>, 1155428@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: pkg-clamav-devel@lists.alioth.debian.org X-Debian-Pr-Message: followup 1155428 X-Debian-Pr-Package: clamav-freshclam X-Debian-Pr-Keywords: trixie X-Debian-Pr-Source: clamav X-Dkim-Filter: PhoenixDKIM Filter v1.0.0 mail.proteamail.com via nbg-mx-proteamail-1 4jdwrw1Jchz2xj3 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-GB X-Dkim-Key-Compromise: NOTE REGARDING DKIM KEY COMPROMISE https://proteamail.com/dkim-rotate/README.txt https://proteamail.com/dkim-rotate/2c/2c980a0d78a91b83839f9f80a207ac9d.pem Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006251 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 35 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 1 Dec 2026 11:41:49 +0200 X-Original-Message-ID: <3ff4001d-374a-47e3-bb94-57d6709989e3@proteamail.com> X-Original-References: <c5028df6-1c28-c715-be3d-a5f5559222c6@inaf.it> <c5028df6-1c28-c715-be3d-a5f5559222c6@inaf.it> <c5028df6-1c28-c715-be3d-a5f5559222c6@inaf.it>