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 protected], http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
pgpJGcMyv4ISu.pgp
Description: Digitale PGP-Signatur
_______________________________________________ X2Go-Dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/x2go-dev
