X2Go Bug report logs - #949
Shell variable name conflict

version graph

Packages: ubuntu, x2goserver_4.0.1.19-0~1064~ubuntu14.04.1, server; Maintainer for ubuntu is (unknown); Maintainer for x2goserver_4.0.1.19-0~1064~ubuntu14.04.1 is (unknown); Maintainer for server is (unknown);

Reported by: Michael <ayuanx@gmail.com>

Date: Fri, 25 Sep 2015 03:40:01 UTC

Severity: normal

Tags: not-a-bug

Found in version 4.0.1.19-0~1064

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; 25 Sep 2015 03:38:10 +0000
From ayuanx@gmail.com  Fri Sep 25 05:38:09 2015
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
	HTML_MESSAGE,T_DKIM_INVALID autolearn=ham version=3.3.2
Received: from mail-io0-f175.google.com (mail-io0-f175.google.com [209.85.223.175])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id A2A775DA2B
	for <submit@bugs.x2go.org>; Fri, 25 Sep 2015 05:38:08 +0200 (CEST)
Received: by iofb144 with SMTP id b144so98810583iof.1
        for <submit@bugs.x2go.org>; Thu, 24 Sep 2015 20:38:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:date:message-id:subject:from:to:content-type;
        bh=/rxthYhG1AXtu2EhYxVIFTGK+46iZ9dqcHc2UvoRh3k=;
        b=mhxRaSH+Ni9aATwqB7/fQoOQYiQRzpfUV8bCf/IRDf6ZnK7wJzpK1f0GL7XnWA8SY+
         A6KOq1JBVDhi/kRJj3XZWM+OodfSuB1Bqmwag8z5lsQJUStg439UHJbLMAkPLD3CLV96
         bDfm4+0sga2JxbtmMWWPEyVWxR3infS+KkQUsWK8fMnWnmzrmhKVTcc4QMmSljaBs92X
         K+gKi7ejEyOelnuz+4d1LaHYNW3/S/wiA4JtjAk5oDFkPo1cVPKZLTNVNah9ZEl/hwJb
         ikwAGiA0UaseTwJi1PJiMDCJmQZy4REydo5DqcMmnO+p54BdY243ao6GhDSnWIjHAIet
         EY+A==
MIME-Version: 1.0
X-Received: by 10.107.47.221 with SMTP id v90mr3970470iov.185.1443152287155;
 Thu, 24 Sep 2015 20:38:07 -0700 (PDT)
Received: by 10.36.31.147 with HTTP; Thu, 24 Sep 2015 20:38:07 -0700 (PDT)
Date: Fri, 25 Sep 2015 13:38:07 +1000
Message-ID: <CAPuhghWxw_fbjpx3QK_gaz9DDMxY4Lg+UHkbiPPbW9sgAjaC4w@mail.gmail.com>
Subject: Shell variable name conflict
From: Michael <ayuanx@gmail.com>
To: submit@bugs.x2go.org
Content-Type: multipart/alternative; boundary=001a11c150806ecc8a05208a13c3
[Message part 1 (text/plain, inline)]
Package: (Ubuntu server) x2goserver_4.0.1.19-0~1064~ubuntu14.04.1
Version: 4.0.1.19-0~1064

The name of shell variable ${STARTUP} defined by x2goserver is too common.
> $ echo $STARTUP
> /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch /usr/bin/env LD_LIBRARY_PATH=/usr/lib/nx/X11/Xinerama:/usr/lib/nx/X11 xfce4-session

It would easily cause conflicts with other things. (Took me a week to debug :()

Could you please consider changing it to some more specific name like
"X2GO_STARTUP"?

Thanks!
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Tue Apr 23 20:47:39 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.