🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1136584: seatd uses pidof but does not depend on procps

#1026
From: Gioele Barabucci
Date: Fri, 16 Oct 2026 09:10
51 lines
3682 bytes
Control: tags -1 patch

On Thu, 14 May 2026 01:32:25 +0200 Gioele Barabucci <gioele@debian.org> 
wrote:
> it appears that seatd 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 seatd
>   that use `pidof` at runtime;
> * via the `Build-Depends:` field of seatd, 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 seatd, 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 seatd uses `pidof` due to the following
> code snippets:
> 
> ```
> path: seatd_0.9.3-1/debian/tests/seatd-launch
> # Ensure seatd-launch wrapper finds and runs seatd.
> SEATD_LOGLEVEL=debug seatd-launch -- sh -c 'printf "seatd PID: %d\n" $(pidof seatd)'
> ```
The following 1-line patch fixes this issue

```
diff -ur a/debian/tests/control b/debian/tests/control
--- a/debian/tests/control    2026-03-03 12:04:34.000000000 +0100
+++ b/debian/tests/control    2026-10-16 11:00:48.488997248 +0200
@@ -1,5 +1,6 @@
  Tests: seatd-launch
  Restrictions: allow-stderr, needs-root
+Depends: @, procps

  Tests: libseat-dev
  Restrictions: superficial
```

Regards

-- 
Gioele Barabucci
Technical Details
Message-ID: <NOM6S-5T8Z-7@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!news.szaf.org!news.datentrampelpfad.de!news.imp.ch!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <MUrlj-4Wy6-111@gated-at.bofh.it> <MUrlj-4Wy6-111@gated-at.bofh.it> <MUrlj-4Wy6-111@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!news.szaf.org!news.datentrampelpfad.de!news.imp.ch!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Gioele Barabucci <gioele@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1136584: seatd uses pidof but does not depend on procps
Date: Fri, 16 Oct 2026 11:10:02 +0200
Message-ID: <NOM6S-5T8Z-7@gated-at.bofh.it>
References: <MUrlj-4Wy6-111@gated-at.bofh.it> <MUrlj-4Wy6-111@gated-at.bofh.it> <MUrlj-4Wy6-111@gated-at.bofh.it>
X-Original-To: 1136584@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Oct 16 09:05: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>, 1136584@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: leepen@debian.org
X-Debian-Pr-Message: followup 1136584
X-Debian-Pr-Package: src:seatd
X-Debian-Pr-Source: seatd
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/1997031
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 51
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 16 Oct 2026 11:03:21 +0200
X-Original-Message-ID: <e83412be-741b-4220-a776-22df610f4c5f@debian.org>
X-Original-References: <36a7e77951bf81b11abd2013380397a6@debian.org> <36a7e77951bf81b11abd2013380397a6@debian.org> <36a7e77951bf81b11abd2013380397a6@debian.org>