X2Go Bug report logs - #949
Shell variable name conflict

version graph

Packages: ubuntu, server, x2goserver_4.0.1.19-0~1064~ubuntu14.04.1; Maintainer for ubuntu is (unknown); Maintainer for server is (unknown); Maintainer for x2goserver_4.0.1.19-0~1064~ubuntu14.04.1 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


🔗 View this message in rfc822 format

MIME-Version: 1.0
X-Mailer: MIME-tools 5.502 (Entity 5.502)
X-Loop: owner@bugs.x2go.org
From: owner@bugs.x2go.org (X2Go Bug Tracking System)
Subject: Bug#949 closed by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
 (Re: [X2Go-Dev] Bug#949: Shell variable name conflict)
Message-ID: <handler.949.b949.14434215777978.notifdone@bugs.x2go.org>
References: <20150928062613.Horde.HtUkQaPEtERl-dHIu15rsA2@mail.das-netzwerkteam.de>
X-X2go-PR-Message: they-closed 949
X-X2go-PR-Package: (ubuntu server) x2goserver_4.0.1.19-0~1064~ubuntu14.04.1
Date: Mon, 28 Sep 2015 06:30:03 +0000
Content-Type: multipart/mixed; boundary="----------=_1443421803-8136-0"
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your Bug report
which was filed against the (ubuntu server) x2goserver_4.0.1.19-0~1064~ubuntu14.04.1 package:

#949: Shell variable name conflict

It has been closed by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mike Gabriel <mike.gabriel@das-netzwerkteam.de> by
replying to this email.


-- 
949: http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=949
X2Go Bug Tracking System
Contact owner@bugs.x2go.org with problems
[Message part 2 (message/rfc822, inline)]
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Michael <ayuanx@gmail.com>, 949@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#949: Shell variable name conflict
Date: Mon, 28 Sep 2015 06:26:13 +0000
[Message part 3 (text/plain, inline)]
Control: close -1
Control: tags -1 not-a-bug

Dear Michael,

On  Fr 25 Sep 2015 05:38:07 CEST, Michael wrote:

> 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!

The $STARTUP env variable will be set for every Xsession based X11  
session on a Ubuntu or Debian (and alike).

Please do a grep on /etc/X11 and see its output (grep -r STARTUP /etc/X11).

In case you want to use $STARTUP in your own scripts, please know that  
it is not a good idea to use that var name on Debian nor Ubuntu systems.

Using X2GO_STARTUP or any other variable name will not work with  
existing scripts in /etc/X11/Xsessions.d. Thus, closing this issue and  
tagging as "not-a-bug".

Greets,
Mike
-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 4 (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Michael <ayuanx@gmail.com>
To: submit@bugs.x2go.org
Subject: Shell variable name conflict
Date: Fri, 25 Sep 2015 13:38:07 +1000
[Message part 6 (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 7 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Apr 18 16:44:05 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.