From terataki@gmail.com  Thu Apr  3 10:32:40 2014
Received: (at 471) by bugs.x2go.org; 3 Apr 2014 08:32:41 +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=5.0 tests=BAYES_00,T_DKIM_INVALID,
	URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52])
	by ymir (Postfix) with ESMTPS id 55D5B5DB16
	for <471@bugs.x2go.org>; Thu,  3 Apr 2014 10:32:40 +0200 (CEST)
Received: by mail-wg0-f52.google.com with SMTP id k14so1438254wgh.23
        for <471@bugs.x2go.org>; Thu, 03 Apr 2014 01:32:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=sender:date:from:to:cc:message-id:in-reply-to:references:subject
         :mime-version:content-type:content-transfer-encoding
         :content-disposition;
        bh=5IhExmYf/nV+Tefk9+P0VTQQP1YDx+PUvLs11W510RE=;
        b=Qrc+gHUdf20PcExdHuM+ISCrbDbPpRDW3pzwIfU2F/68SaLdZKe49Fj06Rkgq/Q0NX
         rG8j4DXNKsFYGRb0aUvAGXMYe43FnlW5bvRFecTUDITXGT9s75Eik7EWOgssYFM0KE90
         Y8WkEK32wdLTKbEs/xOm8gw3x4Q/DwnUHQki4j2E8K3wQb2U+1THImqvOLLbw4LeDPZM
         dtmhgpT7AN0Ixme2Wlf+8oQBQ8P5HkSr8goBPRL2spX2PSKR/jZ6rH5Rc8c2LFoJCcS8
         fYxAl8GA6mA67Jb3mM3tJoB5/AwY/EsVaOrea1CIPCm72zFVrLvhxiqWF7wQ7WfaKjF8
         96SA==
X-Received: by 10.194.90.107 with SMTP id bv11mr7813914wjb.11.1396513959937;
        Thu, 03 Apr 2014 01:32:39 -0700 (PDT)
Received: from pegasos.local (ppp046177100221.access.hol.gr. [46.177.100.221])
        by mx.google.com with ESMTPSA id l42sm10402362eew.19.2014.04.03.01.32.38
        for <multiple recipients>
        (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Thu, 03 Apr 2014 01:32:39 -0700 (PDT)
Sender: Panayotis <terataki@gmail.com>
Date: Thu, 3 Apr 2014 11:32:35 +0300
From: Panayotis Katsaloulis <panayotis@panayotis.com>
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, Stefan Baur
 <newsgroups.mail2@stefanbaur.de>
Cc: 471@bugs.x2go.org
Message-ID: <etPan.533d1ca5.6b8b4567.668@pegasos.local>
In-Reply-To: <20140403081908.Horde.DmKOkiNADP2QTFd6e5l4HQ5@mail.das-netzwerkteam.de>
References: <533D12B1.50501@stefanbaur.de>
 <533D135A.9090902@stefanbaur.de>
 <20140403081908.Horde.DmKOkiNADP2QTFd6e5l4HQ5@mail.das-netzwerkteam.de>
Subject: Re: [X2Go-Dev] Bug#471: ATTENTION @Mike#1 - serious bug in
 x2goserver upgrade script (debian wheezy+squeeze)
X-Mailer: Airmail (237)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Strangely. even after a reboot the problem persisted.
I had already uninstalled and re-installed the package, with no luck eith=
er.

So, I killed the x2gocleansessions manually as proposed. Then upgrade scr=
ipt worked as expected.
No more hanging happened.
I didn=E2=80=99t manually replace the script, but it should have been don=
e by the re-installation.




On April 3, 2014 at 11:19:13 AM, Mike Gabriel (mike.gabriel=40das-netzwer=
kteam.de) wrote:
> Hi Stefan, hi Panayotis
> =20
> On Do 03 Apr 2014 09:52:58 CEST, Stefan Baur wrote:
> =20
> > Addendum:
> >
> > This is part of the =22ps ax=22 output on one of the affected machine=
s:
> >
> > 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 4.0.1.13-0x2go1+
> > 4962 pts/1 Z+ 0:00 =5Bx2goserver.post=5D =20
> > 5004 pts/1 S+ 0:00 /usr/bin/perl /usr/sbin/x2gocleansessions
> >
> > manually killing x2gocleansessions (=22 kill =24(pidof x2gocleansessi=
ons)=22)
> > seems to be a workaround, but still, we need a real fix in the form o=
f
> > an updated package.
> >
> > -Stefan
> =20
> Can you please:
> =20
> o upgrade to 4.0.1.14
> o killall x2gocleansessions once the init script hangs during upgrade
> o replace /usr/sbin/x2gocleansessions by this file =5B1=5D
> o sudo service x2goserver start
> o now it should not hang...
> =20
> Sorry, I forgot one cherry-pick to the release/4.0.1.x branch in
> x2goserver.git.
> =20
> =5B1=5D
> http://code.x2go.org/gitweb=3Fp=3Dx2goserver.git;a=3Dblob;f=3Dx2goserve=
r/sbin/x2gocleansessions;h=3D7fc5e8a428bcbd7867e2083f897915a2b286b32b;hb=3D=
336917af0dc087e4540fb3d55eb501d2fa4349be =20
> =20
> Greets,
> Mike
> --
> =20
> DAS-NETZWERKTEAM
> mike gabriel, herweg 7, 24357 fleckeby
> fon: +49 (1520) 1976 148
> =20
> GnuPG Key ID 0x25771B31
> mail: mike.gabriel=40das-netzwerkteam.de, http://das-netzwerkteam.de
> =20
> freeBusy:
> https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.=
de.xfb =20
> =20

-- =20
Panayotis


