X2Go Bug report logs - #626
NX socket cleanup post-session

version graph

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

Reported by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Date: Thu, 2 Oct 2014 16:10:01 UTC

Severity: wishlist

Tags: pending

Fixed in version 4.0.1.17

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#626: rather a post-cleanup issue in x2gocleansessions
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 626@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: Thu, 02 Oct 2014 19:00:01 +0000
Resent-Message-ID: <handler.626.B626.141227634110095@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 626
X-X2Go-PR-Package: nxagent
X-X2Go-PR-Keywords: 
Received: via spool by 626-submit@bugs.x2go.org id=B626.141227634110095
          (code B ref 626); Thu, 02 Oct 2014 19:00:01 +0000
Received: (at 626) by bugs.x2go.org; 2 Oct 2014 18:59:01 +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=0.0 required=5.0 tests=BAYES_40,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 8FC465E0A9
	for <626@bugs.x2go.org>; Thu,  2 Oct 2014 20:59:00 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 55248143D
	for <626@bugs.x2go.org>; Thu,  2 Oct 2014 20:59:00 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 481C03BBC4
	for <626@bugs.x2go.org>; Thu,  2 Oct 2014 20:59:00 +0200 (CEST)
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 neg5TAN3KFmG for <626@bugs.x2go.org>;
	Thu,  2 Oct 2014 20:59:00 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 23D4D3B9D9
	for <626@bugs.x2go.org>; Thu,  2 Oct 2014 20:59:00 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id F2CD03BBC4
	for <626@bugs.x2go.org>; Thu,  2 Oct 2014 20:58:59 +0200 (CEST)
Received: from [192.168.1.28] (p5B285377.dip0.t-ipconnect.de [91.40.83.119])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPSA id 5612C3B9D9
	for <626@bugs.x2go.org>; Thu,  2 Oct 2014 20:58:59 +0200 (CEST)
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: 626@bugs.x2go.org
X-Mailer: Modest 3.2
Content-Type: text/plain; charset=utf-8
Content-ID: <1412276335.1387.31.camel@Nokia-N900>
Date: Thu, 02 Oct 2014 20:58:55 +0200
Message-Id: <1412276335.1387.32.camel@Nokia-N900>
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
Control: reassign -1 x2goserver
Control: retitle -1 NX socket cleanup post-session
Control: severity -1 wishlist

Hi,

there was more insight on IRC which turns this bug into a feature request for x2gocleansessions:

8:19 < bigfoot-> it seems the aforementioned #1 reproducer killed his nxagent via kill -9.  could 
                  this be the reason that his /tmp/.X* stuff wasn't cleaned up?  shouldn't 
                  x2gocleansessions clean this up anyways?
18:22 < bigfoot-> regarding your patch, as on my system actual files (/tmp/.X50-lock, 
                  /tmp/.X11-unix/X50) are used instead of this "abstract socket" stuff, I guess it 
                  doesn't have anything to do with my problems, right?
18:22 <@sunweaver> sure, that can be the reason!!!
18:23 <@sunweaver> kill -9 does forbid any sort of callback, so socket file removal does not 
                   happen....
18:23 < bigfoot-> that I definitely do understand, but what is x2gocleansessions there for then?

--> x2gocleansession should check if X<disp> socket files in /tmp/.X11-unix have got cleanly removed on nxagent shutdown and if not it should handle the post-session cleanup of those socket files.

Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976148

GnuPG Key ID 0x25771B13
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sat Nov 23 23:11:22 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.