[From nobody Thu Oct 15 20:55:06 2026
Received: (at submit) by bugs.debian.org; 13 May 2026 23:28:13 +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, 8; hammy, 129; neutral, 39; 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]:38680)
 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 1wNIzt-00CQ7c-2W
 for submit@bugs.debian.org; Wed, 13 May 2026 23:28:13 +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=zmOx9wUAXfhZk0wq8th2pLvajx87C+e3n6T+sq3XFNQ=; b=rbOI5OjQBBIUx4H5wUuXA/UiOx
 SemNmZEKeGf1hz1ZdV3IACMZWbDum5n5nJUZeofBeAldeYKKciKkxvYPgaoxlHlT5Arc+wJ28Boiv
 jIeHXak8cOJIDO17Tvw+amc+DzGsfQEb/eL2uAloPH99mhj6qXdY0xQkJ4SA7wRdTnqu1EheVP5cM
 AguQswh7AGnO6KOGEgC8nEru7AlwYsEYtKB1FSFc5NTg3LvqILOeiv87zR9V4sdd3oCRgTKyke59N
 rcUEtCLC1XKq6+CRQbtsvz4mVd54jZR45AcOfF3oAv2Vthz5yTYFXsTaJ7tYsK1a/m/tGt6OsDHDW
 n7EMAhWg==;
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 1wNIzs-003W5h-0z
 for submit@bugs.debian.org; Wed, 13 May 2026 23:28:12 +0000
Date: Thu, 14 May 2026 01:28:11 +0200
Message-ID: &lt;d085fc1f24169b86ab3804e4be526d52@debian.org&gt;
From: Gioele Barabucci &lt;gioele@debian.org&gt;
Subject: gnome-shell uses pidof but does not depend on procps
X-Debian-User: gioele
Delivered-To: submit@bugs.debian.org

Source: gnome-shell
Version: 49.5-1
Usertags: pidof-without-procps

Dear maintainer(s) of gnome-shell,

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

```
path: gnome-shell_49.4-1/debian/source_gnome-shell.py
    Determine if process has a registered process id
    '''
    log = command_output(['pidof', proc])
    if not log or log[:5] == &quot;Error&quot; or len(log)&lt;1:
        return False
```

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
]