X2Go Bug report logs - #1133
Inconsistent Perl used by server or its agent on connect

version graph

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

Reported by: Ted Toal <twtoal@ucdavis.edu>

Date: Tue, 10 Jan 2017 21:20:02 UTC

Severity: normal

Tags: not-a-bug

Found in version 4.0.1.20

Done: Stefan Baur <X2Go-ML-1@baur-itcs.de>

Bug is archived. No further changes may be made.

Full log


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

Received: (at 1133) by bugs.x2go.org; 10 Jan 2017 22:48:34 +0000
From twtoal@ucdavis.edu  Tue Jan 10 23:48:33 2017
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 435213CC60
	for <1133@bugs.x2go.org>; Tue, 10 Jan 2017 23:48:33 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id BbGLnggOU0ul for <1133@bugs.x2go.org>;
	Tue, 10 Jan 2017 23:48:26 +0100 (CET)
Received: from mail-pf0-f171.google.com (mail-pf0-f171.google.com [209.85.192.171])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 0076B5DAA7
	for <1133@bugs.x2go.org>; Tue, 10 Jan 2017 23:48:25 +0100 (CET)
Received: by mail-pf0-f171.google.com with SMTP id 127so53884401pfg.1
        for <1133@bugs.x2go.org>; Tue, 10 Jan 2017 14:48:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=ucdavis-edu.20150623.gappssmtp.com; s=20150623;
        h=mime-version:subject:from:in-reply-to:date:cc
         :content-transfer-encoding:message-id:references:to;
        bh=MtzXpoUtXVj2eaOrzSDfvOlUMfv8RawKMMGUbrlkR/k=;
        b=gdKcVCxkpfSokukDhMbedhv7AXQ8entCwS7f+Kgjxre9p/jkrexZOK6gY5PCYkss/x
         J/7gXdOWao3ewGYysM+KU9lIQUjCHkwBAkiZeSL/3RoFevXrFGcMMK+ROLHjqWrwc21+
         wrc0/Lr8vHb7kfimjLAwvYZ95b6E6Q1tgb++SPR4VtSNFZfhPxLDy8IPDhsS5ymijOj6
         7UjfzryygHgma9wEK5Ck8JZ1VeSzoN8Ti/JsE6KyoyJM+dizmp7wMOtHzlbf590zQkAN
         CRtPorPadxe0z6Yli7Ljtbw4B7xvfYCvzJmO9QqM4U4cCOJlVENGQRMxoj+tRbhruyI7
         0Emw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc
         :content-transfer-encoding:message-id:references:to;
        bh=MtzXpoUtXVj2eaOrzSDfvOlUMfv8RawKMMGUbrlkR/k=;
        b=PHHjUkLCX5XKpC+zFRR5sjk/IUKiOALsOYAOCBXobE0qYCk6TcZ7V/ycsnCtGDtac/
         VHuqwcg6QzFphVue8rEhUylBthYD6PqqKTQmCdrRwst0QNPAhpdcvNrcdrJH6K+zQ8MW
         o8orEvq2hM9ZF3aSBEVMc7JOBhRsBhK7j/A8X+D8A2sE9IVByDzIpmk03qX2o84tJIzP
         6ERifKWhIUoDnAWgU06iaqWhY5EOQjlH82hOaUBT63Y1U+5ma3+zgqChMn9h6vRDz7+3
         cxK21lUbRmVE3YaBlacaYcBcrW8iSNNGzP00c1PfjXzDkDAyiz65NF236H3MTH3XwCwO
         M3pw==
X-Gm-Message-State: AIkVDXIsTVej90msNOmhnJ6FKJsgqb1yQ5puExGmyke1vOQ+IuhzN4RPgcJtF1gX3nUzjw==
X-Received: by 10.84.224.133 with SMTP id s5mr8463851plj.130.1484088504538;
        Tue, 10 Jan 2017 14:48:24 -0800 (PST)
Received: from dhcp22-gc1.genomecenter.ucdavis.edu (dhcp22-gc1.genomecenter.ucdavis.edu. [128.120.136.85])
        by smtp.gmail.com with ESMTPSA id x16sm7761656pfk.79.2017.01.10.14.48.22
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Tue, 10 Jan 2017 14:48:23 -0800 (PST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\))
Subject: Re: [X2Go-Dev] Bug#1133: Inconsistent Perl used by server or its
 agent on connect
From: Ted Toal <twtoal@ucdavis.edu>
In-Reply-To: <7a1f025f-6a4f-9c6a-ffe6-4d18a712da86@baur-itcs.de>
Date: Tue, 10 Jan 2017 14:48:22 -0800
Cc: 1133@bugs.x2go.org,
 control@bugs.x2go.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <E4861E92-0216-40D2-91E6-A6A693F5E30B@ucdavis.edu>
References: <BF57B030-7BF4-4307-9333-49782AB84D74@ucdavis.edu>
 <7a1f025f-6a4f-9c6a-ffe6-4d18a712da86@baur-itcs.de>
To: Stefan Baur <X2Go-ML-1@baur-itcs.de>
X-Mailer: Apple Mail (2.3259)
I disagree.  Perl behavior is to look at env. var. PERL5LIB to find its library.  This should be set to match the Perl that is being invoked, which is normally done by placing that Perl’s bin directory on the path.  Since I did place it on the path, there are only two possibilities for why x2go ran /usr/bin/perl: either it hard-coded the path to Perl, in which case it should first set PERL5LIB (or maybe there is a Perl command line arg to specify the library folder), OR x2go ignored my changes to PATH when it ran perl (in which case it should also ignore PERL5LIB).

- Ted




> On Jan 10, 2017, at 2:35 PM, Stefan Baur <X2Go-ML-1@baur-itcs.de> wrote:
> 
> Control: close -1
> Control: tag -1 not-a-bug
> 
> Am 10.01.2017 um 22:15 schrieb Ted Toal:
>> Package: NXAGENT
>> Version: 3.5.0
>> 
>> My .bash_profile defines Perl environment variables for Active Perl, and adds the Active Perl bin directory to the start of the path. This causes an x2go session to fail with the message:
>> Connection failed. /usr/bin/perl: symbol lookup error: /share/carvajal-archive/PACKAGES/local/ActivePerl-5.24/lib/auto/Sys/Hostname/Hostname.so: undefined symbol: Perl_xs_handshake
>> NXAGENT is user /usr/bin/perl and ignoring the Perl bin directory at the start of the path, but it is nevertheless using the Perl environment variables and so is looking in the wrong place for the Perl library.
> 
> I'd say this isn't a bug, but actually expected behavior.
> If you need different values for variables depending on which software
> you run, you either need to prefix them manually each time you call that
> software, or write a wrapper script, or use if/then clauses in your
> .bash_profile.  The latter is what you seem to have decided to do, and
> ran into problems with, judging from your bug report #1134, thus closing
> this one.
> 
> -Stefan
> 
> 
> -- 
> BAUR-ITCS UG (haftungsbeschränkt)
> Geschäftsführer: Stefan Baur
> Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
> Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
> 


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 15:02:17 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.