From mike.gabriel@das-netzwerkteam.de Thu Oct 2 20:59:00 2014 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 Reply-To: Mike Gabriel To: 626@bugs.x2go.org Subject: rather a post-cleanup issue in x2gocleansessions 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 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