X2Go Bug report logs - #471
ATTENTION @Mike#1 - serious bug in x2goserver upgrade script (debian wheezy+squeeze)

version graph

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

Reported by: Stefan Baur <newsgroups.mail2@stefanbaur.de>

Date: Thu, 3 Apr 2014 06:55:02 UTC

Severity: grave

Tags: pending

Found in version

Fixed in version

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

X-Loop: owner@bugs.x2go.org
Subject: Bug#471: [X2Go-Dev] Bug#471: ATTENTION @Mike#1 - serious bug in x2goserver upgrade script (debian wheezy+squeeze)
Reply-To: Stefan Baur <newsgroups.mail2@stefanbaur.de>, 471@bugs.x2go.org
Resent-From: Stefan Baur <newsgroups.mail2@stefanbaur.de>
Resent-To: x2go-dev@lists.berlios.de
Resent-CC: X2Go Developers <x2go-dev@lists.berlios.de>
X-Loop: owner@bugs.x2go.org
Resent-Date: Thu, 03 Apr 2014 08:55:02 +0000
Resent-Message-ID: <handler.471.B471.13965151336665@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 471
X-X2Go-PR-Package: x2goserver
X-X2Go-PR-Keywords: pending
Received: via spool by 471-submit@bugs.x2go.org id=B471.13965151336665
          (code B ref 471); Thu, 03 Apr 2014 08:55:02 +0000
Received: (at 471) by bugs.x2go.org; 3 Apr 2014 08:52:13 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS
	autolearn=ham version=3.3.2
X-Greylist: delayed 301 seconds by postgrey-1.34 at ymir; Thu, 03 Apr 2014 10:52:12 CEST
Received: from moutng.kundenserver.de (moutng.kundenserver.de [])
	by ymir (Postfix) with ESMTP id 592455DB16
	for <471@bugs.x2go.org>; Thu,  3 Apr 2014 10:52:12 +0200 (CEST)
Received: from [] (HSI-KBW-109-193-025-144.hsi7.kabel-badenwuerttemberg.de [])
	by mrelayeu.kundenserver.de (node=mreue101) with ESMTP (Nemesis)
	id 0MfqGy-1Whp4F15DY-00N8E6; Thu, 03 Apr 2014 10:47:11 +0200
Message-ID: <533D2026.9070004@stefanbaur.de>
Date: Thu, 03 Apr 2014 10:47:34 +0200
From: Stefan Baur <newsgroups.mail2@stefanbaur.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
CC: 471@bugs.x2go.org
References: <533D12B1.50501@stefanbaur.de> <533D135A.9090902@stefanbaur.de> <20140403081908.Horde.DmKOkiNADP2QTFd6e5l4HQ5@mail.das-netzwerkteam.de>
In-Reply-To: <20140403081908.Horde.DmKOkiNADP2QTFd6e5l4HQ5@mail.das-netzwerkteam.de>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:UCf9TAnF/ddSh37obTDXnfKujVQNY5fd3Bbb9hSOUvG
Am 03.04.2014 10:19, schrieb Mike Gabriel:
>> This is part of the "ps ax" output on one of the affected
>> machines:
>> 2563 pts/2    S+     0:00 apt-get upgrade -y 4958 pts/1    S+
>> 0:00 /usr/bin/perl -w /usr/share/debconf/frontend 
>> /var/lib/dpkg/info/x2goserver.postinst configure
>> 4962 pts/1    Z+     0:00 [x2goserver.post]
>> <defunct> 5004 pts/1    S+     0:00 /usr/bin/perl
>> /usr/sbin/x2gocleansessions

> Can you please:
> o upgrade to

That is actually what I was doing - no idea why the ps output suggests
that the is being called.

> o killall x2gocleansessions once the init script hangs during
> upgrade

I used

ps ax | grep x2gocleansessions | grep perl \
| awk ' { print $1 }' | xargs -n 1 kill

instead as I came up with that before you replied.
(I wasn't sure if killall does more nasty things, and the system I was
trying it on was already b0rked enough.)

... so I skipped this part ...
> o replace /usr/sbin/x2gocleansessions by this file [1] o sudo
> service x2goserver start

... because this happens immediately after the kill:
> o now it should not hang...

> Sorry, I forgot one cherry-pick to the release/4.0.1.x branch in 
> x2goserver.git.

Gna. Gnagnagna. :-/


Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Aug 13 12:21:47 2020; 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.