Article View: linux.debian.bugs.dist
Article #1992Bug#1136489: crowdsec uses pidof but does not depend on procps
From: Gioele Barabucci
Date: Sat, 24 Oct 2026 22:20
Date: Sat, 24 Oct 2026 22:20
52 lines
3702 bytes
3702 bytes
Control: severity -1 minor
On Thu, 14 May 2026 01:26:59 +0200 Gioele Barabucci <gioele@debian.org>
wrote:
> it appears that crowdsec 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 crowdsec
> that use `pidof` at runtime;
> * via the `Build-Depends:` field of crowdsec, 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 crowdsec, 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 crowdsec uses `pidof` due to the following
> code snippets:
>
> ```
> path: crowdsec_1.4.6-10.1/tests/ansible/roles/run_func_tests/tasks/main.yml
> environment:
> # daemonize -> /usr/bin or /usr/local/sbin
> # pidof -> /usr/sbin
> # bash -> /opt/bash/bin
> PATH: "/opt/bash/bin:{{ ansible_env.PATH }}:/usr/sbin:/usr/local/sbin"
> [...]
Dear maintainer(s) of crowdsec,
all these tests where `pidof` is used are not run at build-time (`bats`
is not part of the build dependencies) and there are no autopkgtests. So
it seems that `pidof` is not actually used by the Debian package nor to
build it.
If this analysis is correct, you can close this issue without further
action.
In the meantime I'll downgrade the severity to minor.
Regards,
--
Gioele Barabucci
Technical Details
Message-ID:
<NRSfL-7FSm-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomodReferences:
<MUrbA-4WqP-13@gated-at.bofh.it> <MUrbA-4WqP-13@gated-at.bofh.it> <MUrbA-4WqP-13@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod From: Gioele Barabucci <gioele@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1136489: crowdsec uses pidof but does not depend on procps Date: Sun, 25 Oct 2026 00:20:01 +0200 Message-ID: <NRSfL-7FSm-1@gated-at.bofh.it> References: <MUrbA-4WqP-13@gated-at.bofh.it> <MUrbA-4WqP-13@gated-at.bofh.it> <MUrbA-4WqP-13@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sat Oct 24 22:13:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Gioele Barabucci <gioele@debian.org>, 1136489@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: cyril@debamax.com X-Debian-Pr-Message: followup 1136489 X-Debian-Pr-Package: src:crowdsec X-Debian-Pr-Source: crowdsec MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Debian-User: gioele X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1998628 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 52 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 25 Oct 2026 00:10:25 +0200 X-Original-Message-ID: <8a8d535f-7848-482d-88d5-88b3a2375e33@debian.org> X-Original-References: <b09c3fd8dbe9387f4f690b9ccef7e89a@debian.org> <b09c3fd8dbe9387f4f690b9ccef7e89a@debian.org> <b09c3fd8dbe9387f4f690b9ccef7e89a@debian.org>