Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 269291

Summary: net-fs/fusesmb isn't threadsafe and needs to be patched
Product: Gentoo Linux Reporter: Mike Cui <cuicui>
Component: Current packagesAssignee: Network Filesystems <net-fs>
Status: RESOLVED WONTFIX    
Severity: normal CC: genstef
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497572
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 356241    
Bug Blocks:    
Attachments: net-fs/fusesmb-0.8.7-r1.ebuild
the corresponding patch (from the debian bug report)

Description Mike Cui 2009-05-10 18:32:01 UTC
libsambaclient is not re-entrant, but fusesmb makes calls to it without proper locking.

Reproducible: Always

Steps to Reproduce:
1. Mount fusesmb
2. Do a grep -r on a samba share

Actual Results:  
Pretty soon fusesmb will crash, and you app will fail with error message:

Transport endpoint is not connected

Expected Results:  
Not crash

See Debian bug report with patch.
Comment 1 Mike Cui 2009-05-10 18:32:51 UTC
Debian bug report is here:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497572
Comment 2 Sandy 2010-05-10 15:26:49 UTC
Created attachment 230977 [details]
net-fs/fusesmb-0.8.7-r1.ebuild

Hi,

I ran into this problem today (don't know exactly why this late...).
However, the problem is annoying und must be handled. Either by patching the source or by mounting fusesmb using the -s option (as it is outlined on the previously linked debian bug-tracking thread).
Both ways work fine btw.

For people who want to emerge fusesmb using the patched sources I attach this ebuild.

Question: the bug has been open for some time... Is it likely to get a fixed fusesmb into portage ??

Cheers.
Comment 3 Sandy 2010-05-10 15:27:46 UTC
Created attachment 230979 [details]
the corresponding patch (from the debian bug report)
Comment 4 Pacho Ramos gentoo-dev 2012-06-16 11:56:19 UTC
dropped