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 4.1.0.0-preview

Fixed in version 4.0.1.7

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
	ymir.das-netzwerkteam.de
X-Spam-Level: 
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 [66.211.214.132])
	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 [209.85.220.52])
	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;
        h=x-gm-message-state:mime-version:from:date:message-id:subject:to
         :content-type;
        bh=DcA0wMN2mH99CXqa8FU/a8VD8UyQPKMLaZB9x8+PwV0=;
        b=L6v4DcrnB23uGSWiLTDwdVhlNtdu20qN5K4IzOzz9hXpMq3QTJmp9TFMdKEZQ2oaHl
         hGp7juUXcN8B+YiTrq2pr7Li0htBX+VbLY2hjCakY88fZPcdIO0ffBkfvyAukb4ZO6VZ
         nm1xVbGt1gx9fRiNFChP7xJ/p77hRW0BJe35EX5WQZbZwc1UBprBAxApyRADcfMHgwhO
         PoBOWZ1HoUNwAleimGqSI+UH4SmyGB2aazL08zb926pXQBY5kWjlNAVqzXtbHJwriGGO
         btiAobCTyM3Kc8bUlkPcBSbEYm/zF2DnYNCVVKahtYJD33cScKCuyh9SYOhz5SB9XjtR
         xzOg==
X-Gm-Message-State: ALoCoQmOHIR0fKII1h94brHGIKlhGr0G1v3ofXoCo8CD1rdsQ0YdJ/7RF7Cb1KBb1IGgy5jdIueh
X-Received: by 10.66.142.193 with SMTP id ry1mr5025778pab.150.1378920543017;
 Wed, 11 Sep 2013 10:29:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.69.17.228 with HTTP; Wed, 11 Sep 2013 10:28:42 -0700 (PDT)
X-Originating-IP: [88.68.32.33]
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
Version: 4.1.0.0-preview

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:
https://www.archlinux.org/packages/core/x86_64/which/.
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: Thu Nov 21 21:14:09 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.