Article View: linux.debian.bugs.dist
Article #2559Bug#1136599: tiup uses pidof but does not depend on procps
From: Gioele Barabucci
Date: Thu, 29 Oct 2026 08:50
Date: Thu, 29 Oct 2026 08:50
48 lines
3592 bytes
3592 bytes
Control: severity -1 minor
On Thu, 14 May 2026 01:33:16 +0200 Gioele Barabucci <gioele@debian.org>
wrote:
> it appears that tiup 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 tiup
> that use `pidof` at runtime;
> * via the `Build-Depends:` field of tiup, 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 tiup, 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 tiup uses `pidof` due to the following
> code snippets:
>
> ```
> path: tiup_1.16.4-1/embed/templates/systemd/system.service.tpl
> ExecStart=/bin/bash -c '{{.DeployDir}}/scripts/run_{{.ServiceName}}.sh'
> {{- if eq .ServiceName "prometheus"}}
> ExecReload=/bin/bash -c 'kill -HUP $MAINPID $(pidof {{.DeployDir}}/bin/ng-monitoring-server)'
> {{end}}
> ```
Dear tiup maintainer(s),
neither the systemd service template that uses `pidof`, nor an
instatiation of it seems to be shipped in the `tiup` package.
Therefore you can probably close this bug without further action.
In the meantime I'll downgrade it severity to minor.
Regards,
--
Gioele Barabucci
Technical Details
Message-ID:
<NTtZD-8Av7-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<MUrlk-4Wy6-165@gated-at.bofh.it> <MUrlk-4Wy6-165@gated-at.bofh.it> <MUrlk-4Wy6-165@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.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Gioele Barabucci <gioele@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1136599: tiup uses pidof but does not depend on procps Date: Thu, 29 Oct 2026 09:50:01 +0100 Message-ID: <NTtZD-8Av7-1@gated-at.bofh.it> References: <MUrlk-4Wy6-165@gated-at.bofh.it> <MUrlk-4Wy6-165@gated-at.bofh.it> <MUrlk-4Wy6-165@gated-at.bofh.it> X-Original-To: 1136599@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Thu Oct 29 08:41: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>, 1136599@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+pkg-go@tracker.debian.org X-Debian-Pr-Message: followup 1136599 X-Debian-Pr-Package: src:tiup X-Debian-Pr-Source: tiup 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/1999494 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 48 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 29 Oct 2026 09:38:32 +0100 X-Original-Message-ID: <45dd6218-3bf0-4f2c-8516-9d3d42c42c1b@debian.org> X-Original-References: <0d0cd35ee92b744afa767832fac773b7@debian.org> <0d0cd35ee92b744afa767832fac773b7@debian.org> <0d0cd35ee92b744afa767832fac773b7@debian.org>