🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #2446

Bug#1136548: pacemaker uses pidof but does not depend on procps

#2446
From: Gioele Barabucci
Date: Wed, 28 Oct 2026 09:20
54 lines
3724 bytes
Control: severity -1 minor

On Thu, 14 May 2026 01:30:21 +0200 Gioele Barabucci <gioele@debian.org> 
wrote:
> it appears that pacemaker 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 pacemaker
>   that use `pidof` at runtime;
> * via the `Build-Depends:` field of pacemaker, 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 pacemaker, 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 pacemaker uses `pidof` due to the following
> code snippets:
> 
> ```
> path: pacemaker_3.0.1-1.1/etc/init.d/pacemaker.in
> 		if status $prog > /dev/null 2>&1; then
> 			touch "$LOCK_FILE"
> 			pidof $prog > "@localstatedir@/run/$prog.pid"
> 			success
> 		else
> 
> [...]


Dear pacemaker maintainers,

all occurrences of `pidof` in pacemaker seem to be in initscripts. 
Iniscripts in Debian are supposed to use `pidofproc` instead of relying 
on `pidof`.

Please patch the initscripts to use `pidofproc` or add a dependency to 
`procps` (maybe as Recommends?).

In the meantime I'll reduce the severity of this bug report to minor, as 
it only affects non-standard installations of Debian.

Regards,

-- 
Gioele Barabucci
Technical Details
Message-ID: <NT7Z8-8oRw-9@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <MUrlh-4Wy6-37@gated-at.bofh.it> <MUrlh-4Wy6-37@gated-at.bofh.it> <MUrlh-4Wy6-37@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!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Gioele Barabucci <gioele@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1136548: pacemaker uses pidof but does not depend on procps
Date: Wed, 28 Oct 2026 10:20:02 +0100
Message-ID: <NT7Z8-8oRw-9@gated-at.bofh.it>
References: <MUrlh-4Wy6-37@gated-at.bofh.it> <MUrlh-4Wy6-37@gated-at.bofh.it> <MUrlh-4Wy6-37@gated-at.bofh.it>
X-Original-To: 1136548@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Oct 28 09:15: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>, 1136548@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-ha-maintainers@alioth-lists.debian.net
X-Debian-Pr-Message: followup 1136548
X-Debian-Pr-Package: src:pacemaker
X-Debian-Pr-Source: pacemaker
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/1999325
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 54
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 28 Oct 2026 10:13:41 +0100
X-Original-Message-ID: <00270ac8-0c6c-4037-8ca0-bf5d71c83a0c@debian.org>
X-Original-References: <406911e561f5bae42b6e6905a91ce533@debian.org> <406911e561f5bae42b6e6905a91ce533@debian.org> <406911e561f5bae42b6e6905a91ce533@debian.org>