[From nobody Sun Jun 28 16:54:10 2026
Received: (at submit) by bugs.debian.org; 13 May 2026 23:25:50 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-104.6 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
 MISSING_HEADERS,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,
 USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 6; hammy, 138; neutral, 40; spammy, 0.
 spammytokens: hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin, 
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;gioele@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:40260)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;gioele@debian.org&gt;) id 1wNIxa-00CPmH-1I
 for submit@bugs.debian.org; Wed, 13 May 2026 23:25:50 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Subject:From:Message-ID:Date:Reply-To:
 To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=++vZ19UTBZcly2PI+J6Eiz/vKYQSZup91E3OGXJgmEs=; b=kuIjMwrA32g+xPje67ffWkTKjd
 LyRmX+LUOGERUh5asDEERNGz2PS2BNccbAF36aD37ZLaUwxPK2Fj4XE50l2+LmsOXg+17Co4pg57f
 xB+5EwTpmTmS2BVeejuR16J0d+aCTAdHGZqL7m+k9HYNehCPrKbSMwXXAme/PQS+hIHLxmVO/nCR6
 zG41VtgrH5SUEhsvmDsCllAAKkoSfcMC0op9j43I2f4pV1Rbm3Burq3/oFnFNPZ+uofMr1DM49H3H
 6K6r2TVde2cbLLoCdiu9z1Q39kRXCf9MQbt8VyI1KjDYptTQvaQc/KmgLi2lBsqxMQGWfLeQSGLoW
 quh/LGGA==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;gioele@debian.org&gt;) id 1wNIxY-003W1J-33
 for submit@bugs.debian.org; Wed, 13 May 2026 23:25:49 +0000
Date: Thu, 14 May 2026 01:25:48 +0200
Message-ID: &lt;d0c2ae6c4b9c5d1e06579a8ff5391b16@debian.org&gt;
From: Gioele Barabucci &lt;gioele@debian.org&gt;
Subject: clamav uses pidof but does not depend on procps
X-Debian-User: gioele
Delivered-To: submit@bugs.debian.org

Source: clamav
Version: 1.4.4+dfsg-1
Usertags: pidof-without-procps

Dear maintainer(s) of clamav,

it appears that clamav uses `pidof` in its testsuite, or that
at least one of its binary packages uses `pidof` at runtime.
Historically, `pidof` was provided by the Essential package
`sysvinit-tools`, making an explicit dependency unnecessary. However
`pidof` will soon be moved to `procps` and will no longer be part of
the Essential set.

Please add an explicit dependency on `procps`:

* via the `Depends:` field of all binary packages of clamav
  that use `pidof` at runtime;
* via the `Build-Depends:` field of clamav, if `pidof` is
  used in tests run at build-time;
* via the `Depends:` field of `debian/control/tests`, if `pidof` is
  used in autopkgtests.

To prevent any disruption for users of clamav, please add
this dependency now, before `pidof` is moved from `sysvinit-utils` to
`procps`. Alternatively, you could remove all uses of `pidof`.

It is believed that clamav uses `pidof` due to the following
code snippets:

```
path: clamav_1.4.3+dfsg-2/debian/tests/milter
DAEMON=clamav-milter
if pidof -x $DAEMON &gt; /dev/null; then
    echo &quot;OK&quot;
else


path: clamav_1.4.3+dfsg-2/debian/tests/clamd
invoke-rc.d clamav-daemon start &gt; /dev/null 2&gt;&amp;1
if pidof -x $DAEMON &gt; /dev/null; then
    echo &quot;OK&quot;
else
```

Feel free to close this issue if this is a false positive (for example
if this code is in an unreachable code path).

Regards,

-- 
Gioele Barabucci
]