Subject: Re: [X2Go-Dev] Bug#441: x2gocleansessions crashes

From: Mike Gabriel <[email-masked]>
Date: Wed, 05 Mar 2014 07:37:16 +0000

Control: retitle -1 x2gocleansessions crashes when closing open FDs

On  Fr 28 Feb 2014 16:34:00 CET, Mike Gabriel wrote:

> 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.

This issue actually also occurrs on some Debian systems. Not sure why  
it took us so long to realize this.

Mike

-- 

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

GnuPG Key ID 0x25771B31
mail: [email-masked], http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb