[From nobody Mon May 25 23:17:08 2026
Received: (at submit) by bugs.debian.org; 13 May 2026 23:30:55 +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, 22; hammy, 148; neutral, 47; spammy,
 2. spammytokens:0.996-+--Health, 0.988-+--health
 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]:47858)
 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 1wNJ2V-00CQq2-1d
 for submit@bugs.debian.org; Wed, 13 May 2026 23:30:55 +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=hvEA6nDEpkUirNXFRV+KNFHa4YKj+cFnelkG84m48d0=; b=r5W5bxBFoQpjQJkiHKfCKmOldr
 IhbjJvY9PsuIJ2dLHhfh384onUtidZVG7an8JbqqrIvTzkt8fSaSOTfn2e++nfsi1UZu0+iAH/7sg
 8XRjrUaMhA46zCdquNh+kXi095FDmOJp7WEXddEKMXtqNJziZayVMEu6eNfs/O8cBe0BZU3ZE7b+T
 OqRc1oCHyMoRDSzt+iKcPe0ceb1RqKIi5QOuBS+yCr0BLUQYAxhAdJqw2lmYGhC+5q7uIo6nRDuMp
 KMFtKnIIwxALRHGIBr5RmDnlMAcIaxmRM/fcG4M1+3qmpsOXs+8oueNV1STHD88etslT90fVUqe5D
 mqN/WAgw==;
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 1wNJ2U-003WHj-05
 for submit@bugs.debian.org; Wed, 13 May 2026 23:30:54 +0000
Date: Thu, 14 May 2026 01:30:53 +0200
Message-ID: &lt;1bd4685363bf0b70bcf97515313d7a3d@debian.org&gt;
From: Gioele Barabucci &lt;gioele@debian.org&gt;
Subject: podman uses pidof but does not depend on procps
X-Debian-User: gioele
Delivered-To: submit@bugs.debian.org

Source: podman
Version: 5.8.2+ds1-1
Usertags: pidof-without-procps

Dear maintainer(s) of podman,

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

```
path: podman_5.7.0+ds2-3/test/apiv2/python/rest_api/test_v2_0_0_container.py
        out = r.json()
        self.assertIsNotNone(out[&quot;State&quot;].get(&quot;Health&quot;))
        self.assertListEqual([&quot;CMD&quot;, &quot;pidof&quot;, &quot;top&quot;], out[&quot;Config&quot;][&quot;Healthcheck&quot;][&quot;Test&quot;])
        self.assertEqual(5000000000, out[&quot;Config&quot;][&quot;Healthcheck&quot;][&quot;Interval&quot;])
        self.assertEqual(2000000000, out[&quot;Config&quot;][&quot;Healthcheck&quot;][&quot;Timeout&quot;])


path: podman_5.7.0+ds2-3/test/apiv2/python/rest_api/test_v2_0_0_container.py
        out = r.json()
        hc = out[&quot;Config&quot;][&quot;Healthcheck&quot;][&quot;Test&quot;]
        self.assertListEqual([&quot;CMD&quot;, &quot;pidof&quot;, &quot;top&quot;], hc)
        r = requests.post(self.podman_url + f&quot;/v1.40/containers/{container_id}/start&quot;)


path: podman_5.7.0+ds2-3/test/apiv2/python/rest_api/test_v2_0_0_container.py
                &quot;Image&quot;: &quot;alpine:latest&quot;,
                &quot;Healthcheck&quot;: {
                    &quot;Test&quot;: [&quot;CMD&quot;, &quot;pidof&quot;, &quot;top&quot;],
                    &quot;Interval&quot;: 5000000000,
                    &quot;Timeout&quot;: 2000000000,
```

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
]