[From nobody Sun May 17 16:03:04 2026
Received: (at submit) by bugs.debian.org; 13 May 2026 23:33:32 +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=-103.5 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
 FROMDEVELOPER,MISSING_HEADERS,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,
 USER_IN_DKIM_WELCOMELIST,WORD_WITHOUT_VOWELS autolearn=no
 autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 28; hammy, 130; neutral, 37; 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]:52476)
 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 1wNJ52-00CRLx-1u
 for submit@bugs.debian.org; Wed, 13 May 2026 23:33:32 +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=kbQlh99n+P7CY13ViOE95xbtDoPWnZEl22YYGZtxV44=; b=l1y+Xx/eKK+fufPdMpyu8yL505
 py0/Rb/2I4g5dv910mzgtArmfL1r29gCBeFRm6vtRIe3iuTb0cdt24Jp5mltv6D27puQqhI0iQOEu
 alCjy6sjtwHbr6CCXWAyO71SwKVuzbX7lIds0ePGlkTmBX5G7MG1nK4kZMzezBQYvBdFbb4XElz4s
 Ggn+xcLNed/RLmq6mrA42ocfWJM+R4LdB7dkjsGFFlQ/WIALE0cjwUJ5JfqvngOh5LOsvRmsr7DS2
 Cq+CUnMQJL0XbywN184Gb8+e/8/yfbdAObHcqdq4HEt2bwh0nuMzhlgXb/EBS8yx5aXPsfdUJDhCq
 NxRUhgZw==;
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 1wNJ51-003WMw-0b
 for submit@bugs.debian.org; Wed, 13 May 2026 23:33:31 +0000
Date: Thu, 14 May 2026 01:33:30 +0200
Message-ID: &lt;72f276bb87d00169ce967a0c32a64a38@debian.org&gt;
From: Gioele Barabucci &lt;gioele@debian.org&gt;
Subject: uwsgi uses pidof but does not depend on procps
X-Debian-User: gioele
Delivered-To: submit@bugs.debian.org

Source: uwsgi
Version: 2.0.31-4
Usertags: pidof-without-procps

Dear maintainer(s) of uwsgi,

it appears that uwsgi 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 uwsgi
  that use `pidof` at runtime;
* via the `Build-Depends:` field of uwsgi, 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 uwsgi, 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 uwsgi uses `pidof` due to the following
code snippets:

```
path: uwsgi_2.0.31-3/tests/gh-shared.sh
    date &gt; reload.txt
    sleep 3
    pidof uwsgi &amp;&amp; killall uwsgi
    sleep 1
    pidof uwsgi &amp;&amp; killall -9 uwsgi


path: uwsgi_2.0.31-3/tests/gh-shared.sh
http_test() {
    URL=$1
    UPID=`pidof uwsgi`
    if [ &quot;$UPID&quot; != &quot;&quot; ]; then
        echo -e &quot;${bldgre}&gt;&gt;&gt; Spawned PID $UPID, running tests${txtrst}&quot;


path: uwsgi_2.0.31-3/tests/gh-shared.sh
    pidof uwsgi &amp;&amp; killall uwsgi
    sleep 1
    pidof uwsgi &amp;&amp; killall -9 uwsgi
    echo -e &quot;$@&quot;
    if [ -e uwsgi.log ]; then


path: uwsgi_2.0.31-3/tests/travis.sh
    date &gt; reload.txt
    sleep 3
    pidof uwsgi &amp;&amp; killall uwsgi
    sleep 1
    pidof uwsgi &amp;&amp; killall -9 uwsgi


path: uwsgi_2.0.31-3/tests/travis.sh
http_test() {
    URL=$1
    UPID=`pidof uwsgi`
    if [ &quot;$UPID&quot; != &quot;&quot; ]; then
        echo -e &quot;${bldgre}&gt;&gt;&gt; Spawned PID $UPID, running tests${txtrst}&quot;
```

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
]