🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1136534: nfs-ganesha uses pidof but does not depend on procps

#1893
From: Gioele Barabucci
Date: Fri, 23 Oct 2026 22:50
48 lines
3581 bytes
Control: tags -1 patch

On Thu, 14 May 2026 01:29:33 +0200 Gioele Barabucci <gioele@debian.org> 
wrote:
> it appears that nfs-ganesha 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 nfs-ganesha
>   that use `pidof` at runtime;
> * via the `Build-Depends:` field of nfs-ganesha, 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 nfs-ganesha, 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 nfs-ganesha uses `pidof` due to the following
> code snippets:
> 
> ```
> path: nfs-ganesha_7.0-2/src/scripts/ganesha-top/ganesha-top.py
> def get_ganesha_pid():
>     try:
>         return int(subprocess.run(["pidof", "-s", GaneshaProcess],
>                                   stdout=subprocess.PIPE).stdout)
>     except subprocess.CalledProcessError as e:
> ```

Dear maintainer of nfs-ganesha,

ganesha-top requires pidof to detect the presence of the Ganesha
server. Thus the python3-nfs-ganesha package must depend on procps.

You can find a MR with a fix for this issue at 
<https://salsa.debian.org/debian/nfs-ganesha/-/merge_requests/9>.

Regards,

-- 
Gioele Barabucci
Technical Details
Message-ID: <NRwff-7tQ9-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <MUrlj-4Wy6-135@gated-at.bofh.it> <MUrlj-4Wy6-135@gated-at.bofh.it> <MUrlj-4Wy6-135@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!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Gioele Barabucci <gioele@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1136534: nfs-ganesha uses pidof but does not depend on procps
Date: Sat, 24 Oct 2026 00:50:01 +0200
Message-ID: <NRwff-7tQ9-1@gated-at.bofh.it>
References: <MUrlj-4Wy6-135@gated-at.bofh.it> <MUrlj-4Wy6-135@gated-at.bofh.it> <MUrlj-4Wy6-135@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Oct 23 22:45:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Gioele Barabucci <gioele@debian.org>, 1136534@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: chrism@debian.org
X-Debian-Pr-Message: followup 1136534
X-Debian-Pr-Package: src:nfs-ganesha
X-Debian-Pr-Source: nfs-ganesha
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/1998476
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: Sat, 24 Oct 2026 00:42:24 +0200
X-Original-Message-ID: <b12a41b2-9d0d-470d-b739-0f1a05d97004@debian.org>
X-Original-References: <1f0c9681e7f854c2429ed4ee92c27d08@debian.org> <1f0c9681e7f854c2429ed4ee92c27d08@debian.org> <1f0c9681e7f854c2429ed4ee92c27d08@debian.org>