X2Go Bug report logs - #126
Provide info in /etc/default config files about broker debug mode

version graph

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

Reported by: Anders Bruun Olsen <abo@dsl.dk>

Date: Thu, 28 Feb 2013 12:18:01 UTC

Severity: normal

Tags: pending

Found in version 0.0.0.5

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; 28 Feb 2013 12:06:07 +0000
From abo@dsl.dk  Thu Feb 28 13:06:07 2013
Received: from eu1sys200aog103.obsmtp.com (eu1sys200aog103.obsmtp.com [207.126.144.115])
	by ymir (Postfix) with SMTP id 84B743BC43
	for <submit@bugs.x2go.org>; Thu, 28 Feb 2013 13:06:07 +0100 (CET)
Received: from mail-ie0-f200.google.com ([209.85.223.200]) (using TLSv1) by eu1sys200aob103.postini.com ([207.126.147.11]) with SMTP
	ID DSNKUS9IL6MuSZG2gwgts/ifSwWzwCxe3kjd@postini.com; Thu, 28 Feb 2013 12:06:07 UTC
Received: by mail-ie0-f200.google.com with SMTP id c11so11041266ieb.3
        for <submit@bugs.x2go.org>; Thu, 28 Feb 2013 04:06:06 -0800 (PST)
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=w1lI44u8vF+3LaFOhHCn1KiW6GMR05mkQVIf+PZ/+J8=;
        b=JScNprA+GkQ60RC1K5TdrzZA53eDZyL8PUYCOByjB8113Z93YiMiY2TfDtqrsit8JJ
         tfsOJrWwmCZf1HFRw8pDzs6XDfj7oqMT3QxUg4v5qrwIuxcGitbYqNc5ci/QwQdkpBeB
         VdX+Lk11CLbz4pf3Jd5bAbqD8SNQlzeCxXDbs=
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=w1lI44u8vF+3LaFOhHCn1KiW6GMR05mkQVIf+PZ/+J8=;
        b=AthmRz4fatsB0HL0GYUCskBmVCF0GAUVD/rzuy19Gi+K1uG9wGwaUuibIwQ/GozbuM
         wxVCjPX1jeW3tDtPfWGNGvneS3nqXsw3iaKxsdJM9UeHvAFhtzxwgLO//jvijvkgIaD+
         O6Jg3HGOy8IePDRNw4mPloRQnNvwyMLVQfaibHx49LrAVeCKuYf+il95o7Lci/O4CkFr
         xTepHcI14Ing67ABAusIDStiE7PYgV7bs17XGONlKNeq7U+78HaEKdXx8WHCtlG9euBM
         1EYAoPegCwQed0Nmp42TILS4sKIpDFDBZA+xtPXe/H0hCmklEI09tlV12iUJNVprmnIa
         f7rA==
X-Received: by 10.60.22.137 with SMTP id d9mr5358612oef.91.1362053166345;
        Thu, 28 Feb 2013 04:06:06 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.60.22.137 with SMTP id d9mr5358597oef.91.1362053166135; Thu,
 28 Feb 2013 04:06:06 -0800 (PST)
Received: by 10.182.227.99 with HTTP; Thu, 28 Feb 2013 04:06:05 -0800 (PST)
Date: Thu, 28 Feb 2013 13:06:05 +0100
Message-ID: <CAFJm-UNk24C8OzHKA+f_Y+bTaovr8vjRaRzb4MFi8npeg6M_mw@mail.gmail.com>
Subject: x2gobroker only works in debug-mode
From: Anders Bruun Olsen <abo@dsl.dk>
To: submit@bugs.x2go.org
Content-Type: multipart/alternative; boundary=e89a8f838cff2210c804d6c7b779
X-Gm-Message-State: ALoCoQms9cugosTFe7pt2jJ7fbczEJFs3qr+YzvmHXS0akdV+kiq6EoLreSQs281a0+ct/hPRkQstkl+Byim4IXR4yMeD1AyeMu7iIwRvMefJTOSJhZjGEpbRi4SI3+UtKD4ArZ3+KDZPJDlemCiznIStro43Sf2sg==
[Message part 1 (text/plain, inline)]
Package: x2gobroker
Version: 0.0.0.5

When I have X2GOBROKER_DEBUG=1 in /etc/default/x2gobroker-daemon, it
returns the correct information:

$ curl "
http://x2go-broker.dsl.lan:8080/plain/inifile/?task=selectsession&sid=term-internal
"
Access granted
SERVER:testterm1.dsl.lan:22

However, when I set X2GOBROKER_DEBUG=0 or completely remove that line, this
is what I get:
$ curl "
http://x2go-broker.dsl.lan:8080/plain/inifile/?task=selectsession&sid=term-internal
"
404 Not Found

-- 
Anders Bruun Olsen
It-ansvarlig
Det Danske Sprog- og Litteraturselskab
(Society for Danish Language and Literature)
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Apr 25 06:52:01 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.