X2Go Bug report logs - #1175
ubuntu client kills sshd on server

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

Reported by: Noel Teis <noelt@omnix.com.au>

Date: Wed, 17 May 2017 06:25:02 UTC

Severity: normal

Tags: moreinfo

Full log


Message #21 received at 1175@bugs.x2go.org (full text, mbox, reply):

Received: (at 1175) by bugs.x2go.org; 30 May 2017 03:26:36 +0000
From noelateis@gmail.com  Tue May 30 05:26:32 2017
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,
	RCVD_IN_SORBS_SPAM,URIBL_BLOCKED autolearn=ham autolearn_force=no
	version=3.4.1
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 6406C5DAD3
	for <1175@bugs.x2go.org>; Tue, 30 May 2017 05:26:32 +0200 (CEST)
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 oD22as1CSNoJ for <1175@bugs.x2go.org>;
	Tue, 30 May 2017 05:26:25 +0200 (CEST)
Received: from mail-qk0-f175.google.com (mail-qk0-f175.google.com [209.85.220.175])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 137A95DACE
	for <1175@bugs.x2go.org>; Tue, 30 May 2017 05:26:24 +0200 (CEST)
Received: by mail-qk0-f175.google.com with SMTP id a72so59416319qkj.2
        for <1175@bugs.x2go.org>; Mon, 29 May 2017 20:26:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=mime-version:sender:in-reply-to:references:from:date:message-id
         :subject:to:cc;
        bh=fPfjYmTJ8SrDegAMa/sWxxjWPcXF4H07seX8OZxOX6g=;
        b=fskIGWw5qMqOCTYL3ELSBCdMb1tZhw6o+c5BOSwB6eKIGUR9nfdDveqfE3Gb5rK8OT
         PXgROFKF968WDZ3jfPJABwDjHdi9aR0apRTJB1jqXkrcZlwM80Vvq9YS6RbGCSFHvJj4
         yo1Y8VlUanCC2QZ+/e9LxdEhDG8arP+Knqb2IqwDdKxPlXpDCLyLqUS3Ud3IYMjljC/+
         nRvtyjGFvPHi0aMJCCeNtRp5PluG2TD++1Z0kF8I8JXHhCdSVEvBI6BmCZxehKJi4CW5
         Tp9R2znjmRJyHSeeEHCQDlW7rcuTKN61pYkXfB/ANmv/jM7/wlot175OslHR0JeL2Ncn
         fC0g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
         :date:message-id:subject:to:cc;
        bh=fPfjYmTJ8SrDegAMa/sWxxjWPcXF4H07seX8OZxOX6g=;
        b=Zn2CM4+eNKhv+1wn3OFX+PPfiIW2KmRbLQY+RBS3MEUgHBycr/hkQETPLHqYO3dm20
         IIuRf2WQVEEFKosoC/l3YYD3Iz/nNwdEUS+ZDHRQX+IrfiSZoXRPqXAnp7OzLo3VhyTl
         V/nSjmZSgOGezQWT9t+fmUBZnITEHISlPlLAgBdaocYC955pTw2jeJ1vhDu7NsD3CYsh
         MR0n6XEn2tYC0q/XWG9CT3tufnZFWALdW4x0SgPcG3ttKIFULTsIa5G7Z6QFDECpxNsD
         yGyoKaL5cYCgAhEySdjr6ONnGFAvKcB5iXeC+A7WDNNX59A3IwC9EVN46GTw45aD5Gl6
         3dTw==
X-Gm-Message-State: AODbwcBzKlmtj+2tXXOYrqMfAKvnFY+24/zmC4fGAIAMHp/FQouN02sE
	egXxqqUPJMBCFQMQbwGmPGwE+Nsbug==
X-Received: by 10.55.22.159 with SMTP id 31mr21409787qkw.184.1496114783635;
 Mon, 29 May 2017 20:26:23 -0700 (PDT)
MIME-Version: 1.0
Sender: noelateis@gmail.com
Received: by 10.140.97.38 with HTTP; Mon, 29 May 2017 20:26:22 -0700 (PDT)
In-Reply-To: <20170529085447.Horde.YWIsoPPPsPRlS8tZ7MKTych@mail.das-netzwerkteam.de>
References: <CABEtyTUPUwgN5rK8JpitOcWSie9eLWUAtt1fjhGjW6vyRNvytg@mail.gmail.com>
 <20170529085447.Horde.YWIsoPPPsPRlS8tZ7MKTych@mail.das-netzwerkteam.de>
From: Noel Teis <noelt@omnix.com.au>
Date: Tue, 30 May 2017 13:26:22 +1000
X-Google-Sender-Auth: 2xaVgAvrtyXNbMGv7SZTN5Uc-H4
Message-ID: <CABEtyTX-zabo6+CFj1AjD+xtdZz74vAOqVwMKh4StjxnB1mimQ@mail.gmail.com>
Subject: Re: [X2Go-Dev] Bug#1175: ubuntu client kills sshd on server
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Cc: Noel Teis <noelt@omnix.com.au>, 1175@bugs.x2go.org
Content-Type: multipart/mixed; boundary="001a11495fec3927310550b55e4c"
[Message part 1 (text/plain, inline)]
Hi Mike,
  Yes this certainly happens.
  First thing I do after I connect is:
       service sshd restart
  About 1/3 of the time shutdown shows fail because the sshd process wasn't
running - of course it must have been running immediately before that to
allow x2go to connect.

Nothing in /var/log/secure - process just dies.

Server sshd version:

OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013

I've done a test

# service sshd stop
# strace -o /tmp/strace.txt /usr/sbin/sshd

I disconnected x2go client, connected again twice successfully third time I
couldn't connect.

I have attached the strace output - hope this helps.

The windows client doesn't appear to ever cause this just the Linux one on
Ubuntu.

On 29 May 2017 at 18:54, Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
wrote:

> Control: reassign -1 x2goserver
> Control: tags -1 moreinfo
>
> On  Mi 17 Mai 2017 08:23:54 CEST, Noel Teis wrote:
>
> Package: x2goclient (Ubuntu-Linux)
>> Version: 4.0.1.1
>>
>> On connect sometimes the servers sshd daemon is killed stopping other
>> connections.
>> Client Ubuntu 14.04 Server CentOS 6.6
>>
>
> Hi Noel,
>
> this seems sort of none-possible.
>
> Are you saying that your ssh Server daemon process dies when someone
> connects to your server via X2Go?
>
> If that is so, it would be quite an issue. So please provider more info on
> this issue. Server logs, client output, package versions, etc.
>
> Ideally, you can describe a way for reproducing your setup, so this can be
> tracked down.
>
> Mike
> --
>
> DAS-NETZWERKTEAM
> mike gabriel, herweg 7, 24357 fleckeby
> mobile: +49 (1520) 1976 148
> landline: +49 (4354) 8390 139
>
> GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
> mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
>
>


-- 

Telephone: +61 7 3870 1244 <+61%207%203870%201244>
Mobile:       +61 4 0846 6649

Email: noelt@omnix.com.au

Web:  http://www.omnix.com.au

[image: cid:image001.png@01D29411.871C4F20]
[Message part 2 (text/html, inline)]
[image001.png (image/png, inline)]
[strace.txt (text/plain, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Feb 3 03:20:36 2023; 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.