X2Go Bug report logs - #1013
x2gobroker-daemon doesn't return error when it can't spawn/bind to port

version graph

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

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

Date: Tue, 22 Mar 2016 09:55:02 UTC

Severity: minor

Tags: pending

Found in version 0.0.3.0

Fixed in version 0.0.4.0

Done: X2Go Release Manager X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1013: [X2Go-Dev] Bug#1013: x2gobroker-daemon doesn't return error when it can't spawn/bind to port
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 1013@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Tue, 22 Mar 2016 11:05:01 +0000
Resent-Message-ID: <handler.1013.B1013.145864451818301@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 1013
X-X2Go-PR-Package: x2gobroker-daemon
X-X2Go-PR-Keywords: 
Received: via spool by 1013-submit@bugs.x2go.org id=B1013.145864451818301
          (code B ref 1013); Tue, 22 Mar 2016 11:05:01 +0000
Received: (at 1013) by bugs.x2go.org; 22 Mar 2016 11:01:58 +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=-1.9 required=3.0 tests=BAYES_00,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 42C665DAC3
	for <1013@bugs.x2go.org>; Tue, 22 Mar 2016 12:01:57 +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 Jx4Q2olcTZDT for <1013@bugs.x2go.org>;
	Tue, 22 Mar 2016 12:01:50 +0100 (CET)
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 785405DA92
	for <1013@bugs.x2go.org>; Tue, 22 Mar 2016 12:01:50 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 514492A3;
	Tue, 22 Mar 2016 12:01:50 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id F38073BA36;
	Tue, 22 Mar 2016 12:01:49 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id UBZfvRpt-rSO; Tue, 22 Mar 2016 12:01:43 +0100 (CET)
Received: from das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 5613A3C167;
	Tue, 22 Mar 2016 12:01:34 +0100 (CET)
Received: from 213.158.96.150 ([213.158.96.150]) by mail.das-netzwerkteam.de
 (Horde Framework) with HTTP; Tue, 22 Mar 2016 11:01:34 +0000
Date: Tue, 22 Mar 2016 11:01:34 +0000
Message-ID: <20160322110134.Horde.sDehV0sfKjEVIRRj82C9dAI@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Stefan Baur <X2Go-ML-1@baur-itcs.de>, 1013@bugs.x2go.org
In-Reply-To: <56F11663.5060902@baur-itcs.de>
User-Agent: Horde Application Framework 5
Accept-Language: de,en
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 213.158.96.150
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Firefox/38.0 Iceweasel/38.6.1
Content-Type: multipart/signed; boundary="=_GgZiAOTrjuX00it4_fF8dLk";
 protocol="application/pgp-signature"; micalg=pgp-sha256
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Control: severity -1 minor

HI Stefan,

On  Di 22 Mär 2016 10:54:43 CET, Stefan Baur wrote:

> The reason, as I found out later, was, that it tries to bind to
> 127.0.0.1:8080 by default, and that port is already in use by another
> process on that machine.
>
> IMO, this is a bug: when it can't bind to the port, and thus dies, this
> should be returned to the start script, so it can report back "FAILED".

Yeah, this is a valid issue. Is you system launching x2gobroker-daemon  
via systemd or via System V init scripts?

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/mailxchange/kronolith/fb.php?u=m.gabriel%40das-netzwerkteam.de
[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sat Apr 20 05:24:24 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.