Package: python-fuse
Version: 1:0.2-pre3-6
Severity: serious
Tags: patch

Hi,

python-fuse deadlocks whilst unmounting, causing the Python interpreter to
remain in memory after the filesystem has been unmounted as well resulting
in the fsdestroy() callback not being executed.

This breaks AptFS, which attempts to remove downloaded packages in this
callback - not executing it results in the user's download directory (not
necessarily an automatically-cleaned directory) being filled up with files.

A patch against the latest python-fuse Debian package is attached; it fixes
the problem in my tests.

Why I think this patch should be in Lenny:

 * Breaks other packages
 * One-line patch
 * Patch already committed and blessed by upstream[0]


Regards,

/Lamby

[0] http://mercurial.creo.hu/repos/fuse-python-hg/index.cgi/rev/b8a0b93a5f38

-- 
Chris Lamb, UK                                       [EMAIL PROTECTED]
                                                            GPG: 0x634F9A20
diff -urNd python-fuse-0.2-pre3.orig/fuseparts/_fusemodule.c 
python-fuse-0.2-pre3/fuseparts/_fusemodule.c
--- python-fuse-0.2-pre3.orig/fuseparts/_fusemodule.c   2008-08-18 
00:12:17.000000000 +0100
+++ python-fuse-0.2-pre3/fuseparts/_fusemodule.c        2008-08-18 
00:12:50.000000000 +0100
@@ -896,6 +896,7 @@
        save = PyEval_SaveThread();
        err = fuse_loop_mt(f);
        PyEval_RestoreThread(save);
+       interp = NULL;
 #endif
 
        return(err);

Attachment: signature.asc
Description: PGP signature

Reply via email to