From unknown Thu Mar 28 10:14:43 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#441: x2gocleansessions crashes on RHEL 6 Reply-To: Mike Gabriel , 441@bugs.x2go.org Resent-From: Mike Gabriel Resent-To: x2go-dev@lists.berlios.de Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Fri, 28 Feb 2014 15:35:01 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: report 441 X-X2Go-PR-Package: x2goserver X-X2Go-PR-Keywords: Received: via spool by submit@bugs.x2go.org id=B.139360164114744 (code B); Fri, 28 Feb 2014 15:35:01 +0000 Received: (at submit) by bugs.x2go.org; 28 Feb 2014 15:34: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=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham version=3.3.2 Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199]) by ymir (Postfix) with ESMTPS id 1A4635DB16 for ; Fri, 28 Feb 2014 16:34:01 +0100 (CET) Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98]) by freya.das-netzwerkteam.de (Postfix) with ESMTPS id D181416C1 for ; Fri, 28 Feb 2014 16:34:00 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 9C44E3BA7D for ; Fri, 28 Feb 2014 16:34:00 +0100 (CET) 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 dGJN5WdLLJHN for ; Fri, 28 Feb 2014 16:34:00 +0100 (CET) Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTPSA id 5CFF33B993 for ; Fri, 28 Feb 2014 16:34:00 +0100 (CET) Received: from m-047.informatik.uni-kiel.de (m-047.informatik.uni-kiel.de [134.245.254.47]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; Fri, 28 Feb 2014 15:34:00 +0000 Date: Fri, 28 Feb 2014 15:34:00 +0000 Message-ID: <20140228153400.Horde.z6I7kfVUW-1bgMy5Pi1t-Q6@mail.das-netzwerkteam.de> From: Mike Gabriel To: submit@bugs.x2go.org User-Agent: Internet Messaging Program (IMP) H5 (6.1.4) Accept-Language: en,de Organization: DAS-NETZWERKTEAM X-Originating-IP: 134.245.254.47 X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 Iceweasel/26.0 Content-Type: multipart/signed; boundary="=_UkB8G3bftQQe_lxyjvOK9A2"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 This message is in MIME format and has been PGP signed. --=_UkB8G3bftQQe_lxyjvOK9A2 Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes Content-Disposition: inline Package: x2goserver Severity: important Version: 4.0.1.13 Hi all, hi Alex, in x2gocleansessions we use a line of code that is supposed to close all open file handles: """ # close all filehandles for (glob "/proc/$$/fd/*") { POSIX::close($1) if m{/(\d+)$}; } """ This line lets x2gocleansessions crash on RHEL6 based distros. On Debian based distros, x2gocleansessions survives the above line of code. Not sure about Fedora. Does anyone have an idea on this? Mike -- DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb --=_UkB8G3bftQQe_lxyjvOK9A2 Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQIcBAABAgAGBQJTEKxoAAoJEJr0azAldxsx/DcP/jYSXLU5z2mIa6LGmxiuBezy +QqPOLIA02/BVFpizWKrdK4tfzzVUMbOdQv/iiL/UMduqc2lBs1iEbuwzfT3Itrr r4ve65A+qo622AH1xUlz68FFQhjPYmxf2LAyWY1DUN3vsr9siMOGrIenPScgddJF 9ByVizIMzJDQ4JB6OPw5cBnSEB8n2zHVP+hXoso4f8xOV/uFuiSva2i1YH0A3Etc VUPdX7QUQs9oiIJSTxZp+7R0PRQo07UuT74oUbkDy7FFy7L0RZlNyc6ycJsFE+S/ 9fEdW7hUpyqb2AHjlsCAcFbGKAJAEoTTISoMUM94V4gGAricDRnIijgwRjM0hgPf XGftJb31PiyXZ90P9vdpSsTeUIOF30F17hmGdpTIuCcaZlxtsqsfmUFA3KnlRFyC Qr+eMIbOr0LU/TViPplUgkjH/PR4V1KONHgRZS5wOMJ4m3sxlSI7dIkRFJ9ALvBp FrkzVFJEV2wUAjHwzhU1yMz1DfQhMaFPCnsDJqmTttVyPUydNJY73KDPFLxILtmB e2Kdr8SY9kKxSl01CJYZelHEHlvcOJY5s1sWuAazMEwkVaP4vqKLdL7bAwufelhL 5InQsTN6lPxyQi175gHUF5fqYCtrFZw0+O8Ey2+J8IdkwaYtid/WJ4llRm3t/TGX Em9ls5L8oqF+ZXaNg1mo =2VQA -----END PGP SIGNATURE----- --=_UkB8G3bftQQe_lxyjvOK9A2--