Subject: Bug#441: x2gocleansessions crashes on RHEL 6

From: Mike Gabriel <[email-masked]>
Date: Fri, 28 Feb 2014 15:34:00 +0000

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: [email-masked], http://das-netzwerkteam.de

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