🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1136612: x2goserver uses pidof but does not depend on procps

#1533
From: Gioele Barabucci
Date: Tue, 20 Oct 2026 22:40
59 lines
3878 bytes
Control: found -1 = 4.1.0.6-1.1
Control: severity -1 minor

On Thu, 14 May 2026 01:34:00 +0200 Gioele Barabucci <gioele@debian.org> 
wrote:
> it appears that x2goserver 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 x2goserver
>   that use `pidof` at runtime;
> * via the `Build-Depends:` field of x2goserver, 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 x2goserver, 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 x2goserver uses `pidof` due to the following
> code snippets:
> 
> ```
> path: x2goserver_4.1.0.6-1.1/x2goserver-desktopsharing/bin/x2goterminate-desktopsharing
> 	PIDOF='/usr/local/sbin/pidof'
> elif [ -x '/usr/sbin/pidof' ]; then
> 	PIDOF='/usr/sbin/pidof'
> elif [ -x '/sbin/pidof' ]; then
> 	PIDOF='/sbin/pidof'
> 
> 
> path: x2goserver_4.1.0.6-1.1/x2goserver-desktopsharing/bin/x2goterminate-desktopsharing
> 	PIDOF='/sbin/pidof'
> else
> 	# no pidof utility found, get out the big hammer!!!
> 	killall 'x2godesktopsharing'
> 	exit '0'
> ```
Dear maintainer(s) of x2go,

given that pidof is not strictly required for 
`x2goterminate-desktopsharing` to carry out its function, this bug could 
be closed without further action.

Alternatively you could add procps to the `Recommends:` of 
`x2goserver-desktopsharing `.

In the meantime I'll downgrade the severity to minor.

Regards,

-- 
Gioele Barabucci
Technical Details
Message-ID: <NQqEV-6R7M-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.szaf.org!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <MUrlj-4Wy6-143@gated-at.bofh.it> <MUrlj-4Wy6-143@gated-at.bofh.it> <MUrlj-4Wy6-143@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.szaf.org!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Gioele Barabucci <gioele@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1136612: x2goserver uses pidof but does not depend on procps
Date: Wed, 21 Oct 2026 00:40:01 +0200
Message-ID: <NQqEV-6R7M-1@gated-at.bofh.it>
References: <MUrlj-4Wy6-143@gated-at.bofh.it> <MUrlj-4Wy6-143@gated-at.bofh.it> <MUrlj-4Wy6-143@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Oct 20 22:37: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>, 1136612@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-remote@lists.debian.org
X-Debian-Pr-Message: followup 1136612
X-Debian-Pr-Package: src:x2goserver
X-Debian-Pr-Source: x2goserver
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/1997826
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 59
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 21 Oct 2026 00:36:05 +0200
X-Original-Message-ID: <076cf104-4d88-49fa-a586-52da5768cff1@debian.org>
X-Original-References: <030b85b09b0872129f12009d2c380de2@debian.org> <030b85b09b0872129f12009d2c380de2@debian.org> <030b85b09b0872129f12009d2c380de2@debian.org>