From unknown Fri Apr 17 13:29:13 2026
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#210 closed by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
 (X2Go issue (in src:x2gobroker) has been marked as closed)
Message-ID: <handler.210.c.136896025731073.notifdone@bugs.x2go.org>
References: <20130519104345.8EFF35DB27@ymir>
X-X2go-PR-Keywords: pending
X-X2go-PR-Message: they-closed 210
X-X2go-PR-Package: x2gobroker
X-X2go-PR-Source: x2gobroker
Date: Sun, 19 May 2013 10:48:04 +0000
Content-Type: multipart/mixed; boundary="----------=_1368960484-695-0"

This is a multi-part message in MIME format...

------------=_1368960484-695-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

This is an automatic notification regarding your Bug report
which was filed against the x2gobroker package:

#210: X2gobroker-wsgi variables ignored

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.gab=
riel@das-netzwerkteam.de> by
replying to this email.


--=20
X2Go Bug Tracking System
Contact owner@bugs.x2go.org with problems

------------=_1368960484-695-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at control) by bugs.x2go.org; 19 May 2013 10:44:17 +0000
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.0 required=5.0 tests=NO_RELAYS,URIBL_BLOCKED
	autolearn=unavailable version=3.3.2
Received: by ymir (Postfix, from userid 1005)
	id 8EFF35DB27; Sun, 19 May 2013 12:43:45 +0200 (CEST)
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: 210-submitter@bugs.x2go.org
Cc: control@bugs.x2go.org, 210@bugs.x2go.org
Subject: X2Go issue (in src:x2gobroker) has been marked as closed
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Message-Id: <20130519104345.8EFF35DB27@ymir>
Date: Sun, 19 May 2013 12:43:45 +0200 (CEST)

close #210
thanks

Hello,

we are very hopeful that X2Go issue #210 reported by you
has been resolved in the new release (0.0.2.1) of the
X2Go source project »src:x2gobroker«.

You can view the complete changelog entry of src:x2gobroker (0.0.2.1)
below, and you can use the following link to view all the code changes
between this and the last release of src:x2gobroker.

    http://code.x2go.org/gitweb?p=x2gobroker.git;a=commitdiff;h=e7ba5f8e1a81d814f4d3e9f82ad6e9bc2855e7cd;hp=363a8fb21e215d403ef81c9bfc0d079d431bacce

If you feel that the issue has not been resolved satisfyingly, feel
free to reopen this bug report or submit a follow-up report with
further observations described based on the new released version
of src:x2gobroker.

Thanks a lot for contributing to X2Go!!!

light+love
X2Go Git Admin (on behalf of the sender of this mail)

---
X2Go Component: src:x2gobroker
Version: 0.0.2.1
Status: RELEASE
Date: Sun, 19 May 2013 12:41:06 +0200
Fixes: 201 210 211
Changes: 
 x2gobroker (0.0.2.1) RELEASED; urgency=low
 .
   [ Mike Gabriel ]
   * New upstream version (0.0.2.1):
     - Remove trailing slashes from ManagementServer URLs.
     - In Apache2 vhost configuration example, move WSGI environment
       variable settings into VirtualHost setup.
     - Remove unused, not-yet-developed broker backends and frontends.
     - Remove old cruft from x2gobroker.conf.
     - Security fix for setuid wrapper x2gobroker-agent.c. Hard-code path to
       x2gobroker-agent.pl during build via defining a macro in the Makefile.
       Thanks to Richard Weinberger for spotting this!!!
     - Handle URLs in plain WebUI that have slashes (and subpaths) in the
       backend name.
     - In WSGI mode: only populate os.environ with variables matching
       »X2GOBROKER_*«.
     - Make X2GOBROKER_SESSIONPROFILES configurable via a SetEnv WSGI parameter
       in the httpd configuration possible. (Fixes: #210).
   * Provide init scripts and *.default files outside of /debian folder (as
     they are also relevant for non-Debian packaging).
 .
   [ Jan Engelhardt ]
   * New upstream version (0.0.2.1):
     - Populate install target of Makefile. (Fixes: #201).
     - Install man pages and default files through Makefile, as well. (Fixes:
       #211).


------------=_1368960484-695-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.x2go.org; 15 May 2013 12:20:34 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-2.3 required=5.0 tests=HTML_MESSAGE,
	RCVD_IN_DNSWL_MED,T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from eu1sys200aog123.obsmtp.com (eu1sys200aog123.obsmtp.com [207.126.144.155])
	by ymir (Postfix) with SMTP id 59C4A5DB1E
	for <submit@bugs.x2go.org>; Wed, 15 May 2013 14:20:33 +0200 (CEST)
Received: from mail-oa0-f49.google.com ([209.85.219.49]) (using TLSv1) by eu1sys200aob123.postini.com ([207.126.147.11]) with SMTP
	ID DSNKUZN9kVSCr7ZepIbe+CQsTg94PhyJ4LiB@postini.com; Wed, 15 May 2013 12:20:33 UTC
Received: by mail-oa0-f49.google.com with SMTP id k14so2017625oag.8
        for <submit@bugs.x2go.org>; Wed, 15 May 2013 05:20:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=dsl.dk; s=google;
        h=x-received:mime-version:x-received:date:message-id:subject:from:to
         :content-type;
        bh=X3tPhBomPtExMDLAAUcIoB7uplo6+qAXfjspQLkLWeU=;
        b=PUHpFv4SbERScyT4pNjNSgyfb8U1vWBS5I/Aq8N4UTny8hC1W+y+baFnNTVENr+gkO
         SaGZO7F3Waj7+H3S/GA3/8YyZQrUCBaf3KW45tp2q8ziNwvb7hqGDHF+wcl7ytMQyu1z
         Wed2N9NJYj5NmycoYd+nIj2diBgazyHcmB4k4=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=google.com; s=20120113;
        h=x-received:mime-version:x-received:date:message-id:subject:from:to
         :content-type:x-gm-message-state;
        bh=X3tPhBomPtExMDLAAUcIoB7uplo6+qAXfjspQLkLWeU=;
        b=aw+DcdrlrTGhvq6FvIpmIBkPLVUO+aXuOM730G+cskwRfOFYaRY1nik1DfgAMEU6tA
         r2DDiQ8nGwl+kTK0rMILM43scsO+aaKq0jU0CDUVmymRxkbLaEwysGqPkhDTT1+2hlVH
         6kf0Y2ey1MT0wvPSc/B5Mp1T9feaJ3pXzTvNuDqlpLTL+TyZ2zRVSL/sFdurR70znZY/
         qVlZrAiTIIu7X9U8DcfDsYSDjdmYQcngYcuiVpMRg8PFIVNuxKRv+r+jge+5n/Y6RGwP
         y/hhVRhjmpZ2U6M3KBYkVxgNUzHB+3ASuXBNNL/Pq4ImUFdaZ55Kpc8Gq8XRfA423Omo
         ddfQ==
X-Received: by 10.182.130.138 with SMTP id oe10mr16805711obb.90.1368620432075;
        Wed, 15 May 2013 05:20:32 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.182.130.138 with SMTP id oe10mr16805701obb.90.1368620431857;
 Wed, 15 May 2013 05:20:31 -0700 (PDT)
Received: by 10.182.190.17 with HTTP; Wed, 15 May 2013 05:20:31 -0700 (PDT)
Date: Wed, 15 May 2013 14:20:31 +0200
Message-ID: <CAFJm-UMQRT6iaBWntxaAZb7xm7Npe_paeCM5j98CK+-vMG1Xsg@mail.gmail.com>
Subject: X2gobroker-wsgi variables ignored
From: Anders Bruun Olsen <abo@dsl.dk>
To: submit@bugs.x2go.org
Content-Type: multipart/alternative; boundary=089e0122fa1cac6e1404dcc0c668
X-Gm-Message-State: ALoCoQmuETqAmpVnODSMmvQ21RGQ7DR7dblMo3x5vMo4Mx9mZpT6dAXxv6kqyKbZDZz1wA0fM7CZ10W9XzQ+KNYl78p0T+VpidqGu8iV7bYbhqfiTN8PNEosozDfUXB5ECBZaJhMyAQIK+03/+5pcjdqiJXwkiso3w==

--089e0122fa1cac6e1404dcc0c668
Content-Type: text/plain; charset=UTF-8

Package: x2gobroker
Version: 0.0.2.0 and 0.0.2.1 (git master)

I am trying to setup x2gobroker served via WSGI with the new
x2gobroker-wsgi package. I have opted to setup a vhost that will serve only
clients from my LAN and a different one for outside access. For this, I
want to point them to different config-files (session profiles) and have
discovered that none of the SetEnv statements in the Apache config files
are being honored. According to
http://stackoverflow.com/questions/9016504/apache-setenv-not-working-as-expected-with-mod-wsgiSetEnv
does not result in variables being available in os.environ, but
instead in the WSGI request's variable called environ. I can see that the
code currently looks in os.environ, and as such, when running through WSGI,
only default values are used. You could either look in both os.environ and
the WSGI requests environ, or only look in the WSGI request and have code
before that, which adds os.environs variables to the WSGI request.

-- 
Anders Bruun Olsen
It-ansvarlig
Det Danske Sprog- og Litteraturselskab
(Society for Danish Language and Literature)

--089e0122fa1cac6e1404dcc0c668
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Package: x2gobroker<div>Version: 0.0.2.0 and 0.0.2.1 (git =
master)</div><div><br></div><div style>I am trying to setup x2gobroker serv=
ed via WSGI with the new x2gobroker-wsgi package. I have opted to setup a v=
host that will serve only clients from my LAN and a different one for outsi=
de access. For this, I want to point them to different config-files (sessio=
n profiles) and have discovered that none of the SetEnv statements in the A=
pache config files are being honored. According to=C2=A0<a href=3D"http://s=
tackoverflow.com/questions/9016504/apache-setenv-not-working-as-expected-wi=
th-mod-wsgi">http://stackoverflow.com/questions/9016504/apache-setenv-not-w=
orking-as-expected-with-mod-wsgi</a> SetEnv does not result in variables be=
ing available in os.environ, but instead in the WSGI request&#39;s variable=
 called environ. I can see that the code currently looks in os.environ, and=
 as such, when running through WSGI, only default values are used. You coul=
d either look in both os.environ and the WSGI requests environ, or only loo=
k in the WSGI request and have code before that, which adds os.environs var=
iables to the WSGI request.</div>
<div><div><br></div>-- <br>Anders Bruun Olsen<br>It-ansvarlig<br>Det Danske=
 Sprog- og Litteraturselskab<br>(Society for Danish Language and Literature=
)<br>
</div></div>

--089e0122fa1cac6e1404dcc0c668--

------------=_1368960484-695-0--
