[From nobody Tue Oct 27 00:07:06 2026
Received: (at submit) by bugs.debian.org; 13 May 2026 23:27:49 +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, 47; hammy, 131; 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]:34860)
 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 1wNIzU-00CQ3g-38
 for submit@bugs.debian.org; Wed, 13 May 2026 23:27:48 +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=Bn2nrbiQMulv1VFmSTmXSjY5IvADM7VCzDabNQ69d0U=; b=ZmPuMmcIBNpq9/V5/Smod6L1vf
 ntZ6k7Rw/ZNW+wtHtkc9XFV7XcHr3LQjrV82zKXQo5gA2tG2PPud9Okj6B0+n9SKIYOy1BTuvxuZZ
 gpjbPt3/MIvMYE3FrjXTZ0x2my8Kp9Vo9+Y+s4GlH5lAdCIVIwnRjRD6ZgKfre5eFtE04awE80ctw
 M7RnFHMx0xO0y7UUp2wiTGwg/4E918wqXEiIj8zVG3o1gay3VGhKZcd420DhrMbX051QlFHLOC0Ir
 jm/tBmE5UE5Hy2hxE0hHpmrI2r+4mCvvenFXPKNu4U9DTFb4B2viOEplSK7N8Zh5RoAfbpZOOf93I
 BAED3CTg==;
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 1wNIzT-003W51-1g
 for submit@bugs.debian.org; Wed, 13 May 2026 23:27:47 +0000
Date: Thu, 14 May 2026 01:27:46 +0200
Message-ID: &lt;cf91406bb8964e3b3f71861b15e27b2f@debian.org&gt;
From: Gioele Barabucci &lt;gioele@debian.org&gt;
Subject: freeipa uses pidof but does not depend on procps
X-Debian-User: gioele
Delivered-To: submit@bugs.debian.org

Source: freeipa
Version: 4.13.1-1
Usertags: pidof-without-procps

Dear maintainer(s) of freeipa,

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

```
path: freeipa_4.13.1-1/ipatests/test_integration/test_trust.py
        client = self.clients[0]
        tasks.backup_file(self.master, paths.SSSD_CONF)
        res = self.master.run_command(['pidof', 'sssd_be'])
        pid = res.stdout_text.strip()
        test_id = 'id testuser@%s' % self.ad_domain


path: freeipa_4.13.1-1/ipatests/test_integration/test_commands.py
        def count_pipes():
            res = self.master.run_command(['pidof', 'sssd_ssh'])
            pid = res.stdout_text.strip()
            proc_path = '/proc/{}/fd'.format(pid)
```

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
]