Article View: linux.debian.bugs.dist
Article #1203Bug#1136464: acpi-support uses pidof but does not depend on procps
From: Gioele Barabucci
Date: Sat, 17 Oct 2026 20:20
Date: Sat, 17 Oct 2026 20:20
52 lines
3838 bytes
3838 bytes
Control: tags -1 patch On Thu, 14 May 2026 01:24:41 +0200 Gioele Barabucci <gioele@debian.org> wrote: > it appears that acpi-support 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 acpi-support > that use `pidof` at runtime; > * via the `Build-Depends:` field of acpi-support, 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 acpi-support, 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 acpi-support uses `pidof` due to the following > code snippets: > > ``` > path: acpi-support_0.143-5.2/debian/addons/lib/screenblank > fi > if [ x$LOCK_SCREEN = xtrue ]; then > if pidof xscreensaver >/dev/null; then > su "$XUSER" -s /bin/sh -c "xscreensaver-command -lock" > elif pidof gnome-screensaver > /dev/null; then > [...] Dear acpi-support maintainer, `acpi-support-base` ships `/usr/share/acpi-support/policy-funcs` that calls `pidof` in `CheckUPowerPolicy()`, so that it must have a hard dependency on `procps`. Transitively, making `acpi-support-base` depend on `procps` will make also the full package `acpi-support` depend on it, covering all usages of `pidof` found in various addon scripts. A MR with a fix for this issue can be found at: <https://salsa.debian.org/debian/acpi-support/-/merge_requests/3>. Regards, -- Gioele Barabucci
Technical Details
Message-ID:
<NPj2N-6cnZ-13@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<MUrbA-4WqP-29@gated-at.bofh.it> <MUrbA-4WqP-29@gated-at.bofh.it> <MUrbA-4WqP-29@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!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Gioele Barabucci <gioele@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1136464: acpi-support uses pidof but does not depend on procps Date: Sat, 17 Oct 2026 22:20:01 +0200 Message-ID: <NPj2N-6cnZ-13@gated-at.bofh.it> References: <MUrbA-4WqP-29@gated-at.bofh.it> <MUrbA-4WqP-29@gated-at.bofh.it> <MUrbA-4WqP-29@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sat Oct 17 20: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>, 1136464@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: josue@debian.org X-Debian-Pr-Message: followup 1136464 X-Debian-Pr-Package: src:acpi-support X-Debian-Pr-Source: acpi-support 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/1997301 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: Sat, 17 Oct 2026 22:12:06 +0200 X-Original-Message-ID: <3d5ce827-cf6a-430f-a2f7-8a67d787c393@debian.org> X-Original-References: <80eb25987c6fe5e8af5f74b25cdf6aac@debian.org> <80eb25987c6fe5e8af5f74b25cdf6aac@debian.org> <80eb25987c6fe5e8af5f74b25cdf6aac@debian.org>