Go to file
John Goerzen 79a596be7b Don't leave preauthtunnel zombies with autorefresh
From: Peter Colberg

Hello,

using offlineimap with the preauthtunnel option to start a remote
IMAP daemon via ssh, a zombie process is left behind during the
autorefresh sleep period if not holding the connection open.

Above behaviour is a result of using os.popen2 to spawn the tunnel
process, which makes it impossible waiting for the child process
to terminate when shutting down the tunnel.

The patch included below fixes the issue by employing the Popen
class from the subprocess module, which seems to be the preferred
way to spawn processes and connect to their pipes in any case (at
least since python version 2.4.4, which fixes a memory leak in the
subprocess module).

Regards,
Peter

fixes deb#410730
2007-03-14 02:54:19 +01:00
bin Updating version number to 4.0.16 2006-12-02 21:59:02 +01:00
debian No longer include docs in source tarball 2006-12-06 04:24:11 +01:00
docs/sgml-common Step 2 of SVN to arch tree conversion 2005-04-16 20:33:35 +01:00
offlineimap Don't leave preauthtunnel zombies with autorefresh 2007-03-14 02:54:19 +01:00
COPYING Update FSF address 2006-08-12 05:15:55 +01:00
COPYRIGHT Updated copyright and version info 2006-10-19 02:04:28 +01:00
FAQ.html Add the FAQ 2006-12-02 22:03:05 +01:00
Makefile No longer include docs in source tarball 2006-12-06 04:24:11 +01:00
offlineimap.conf Re-documented restoreatime in offlineimap.conf 2006-09-06 02:35:43 +01:00
offlineimap.conf.minimal Step 2 of SVN to arch tree conversion 2005-04-16 20:33:35 +01:00
offlineimap.py Updating version number to 4.0.16 2006-12-02 21:59:02 +01:00
offlineimap.sgml Updated info on bug reporting, etc. 2006-12-02 12:40:52 +01:00
offlineimap.spec Updating version number to 4.0.16 2006-12-02 21:59:02 +01:00
README Updated copyright and version info for 4.0.15 2006-11-30 10:51:14 +01:00
setup.py Updated copyright and version info for 4.0.15 2006-11-30 10:51:14 +01:00
UPGRADING Step 2 of SVN to arch tree conversion 2005-04-16 20:33:35 +01:00

OfflineIMAP
Copyright (C) 2002 - 2006 John Goerzen <jgoerzen@complete.org>
This software comes with ABSOLUTELY NO WARRANTY; see the file
COPYING for details.  This is free software, and you are welcome
to distribute it under the conditions laid out in COPYING.

http://software.complete.org/offlineimap/

Please see manual.txt; the information previously in README has been moved
there.