X2Go Bug report logs - #305
x2goruncommand depends on external 'which' command

version graph

Package: x2goserver; Maintainer for x2goserver is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goserver is src:x2goserver.

Reported by: Jürgen Hötzel <juergen@archlinux.org>

Date: Wed, 11 Sep 2013 17:48:02 UTC

Severity: normal

Tags: pending

Found in version

Fixed in version

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log

Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

Received: (at submit) by bugs.x2go.org; 11 Sep 2013 17:36:04 +0000
From juergen@archlinux.org  Wed Sep 11 19:36:04 2013
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,HTML_MESSAGE,
	RCVD_IN_DNSWL_MED,URIBL_BLOCKED autolearn=ham version=3.3.2
X-Greylist: delayed 419 seconds by postgrey-1.34 at ymir; Wed, 11 Sep 2013 19:36:03 CEST
Received: from gerolde.archlinux.org (gerolde.archlinux.org [])
	by ymir (Postfix) with ESMTP id D54105DB20
	for <submit@bugs.x2go.org>; Wed, 11 Sep 2013 19:36:03 +0200 (CEST)
Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [])
	by gerolde.archlinux.org (Postfix) with ESMTPSA id F22B5900BF
	for <submit@bugs.x2go.org>; Wed, 11 Sep 2013 13:29:03 -0400 (EDT)
Received: by mail-pa0-f52.google.com with SMTP id kq13so9559823pab.11
        for <submit@bugs.x2go.org>; Wed, 11 Sep 2013 10:29:03 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
X-Gm-Message-State: ALoCoQmOHIR0fKII1h94brHGIKlhGr0G1v3ofXoCo8CD1rdsQ0YdJ/7RF7Cb1KBb1IGgy5jdIueh
X-Received: by with SMTP id ry1mr5025778pab.150.1378920543017;
 Wed, 11 Sep 2013 10:29:03 -0700 (PDT)
MIME-Version: 1.0
Received: by with HTTP; Wed, 11 Sep 2013 10:28:42 -0700 (PDT)
X-Originating-IP: []
From: Jürgen Hötzel <juergen@archlinux.org>
Date: Wed, 11 Sep 2013 19:28:42 +0200
Message-ID: <CANmXxHN7=Yev9fyoLQQvMT2MNf0r4EEV+Ybummb-5q-uHPB+HA@mail.gmail.com>
Subject: x2goruncommand depends on external 'which' command
To: submit@bugs.x2go.org
Content-Type: multipart/mixed; boundary=001a113450c223f10c04e61ef507
[Message part 1 (text/plain, inline)]
Package: x2goserver

I had a hard time to track down this issue.

On a minimal ArchLinux installation, every session exited with this error:

Sep 10 17:51:43 bitzer.hoetzel.info systemd-logind[176]: New session 33 of
user juergen.
Sep 10 17:51:43 bitzer.hoetzel.info /usr/bin/x2goruncommand[24784]: ERROR:
command  failed to execute

The root cause was the missing 'which' package:
This packages is not part of a minimal installation.

Patch enclosed (use bash-internal type command)
[Message part 2 (text/html, inline)]
[0001-Don-t-depend-on-external-which-command.patch (application/octet-stream, attachment)]

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Sun Feb 25 08:35:35 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.