Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269291 - net-fs/fusesmb isn't threadsafe and needs to be patched
Summary: net-fs/fusesmb isn't threadsafe and needs to be patched
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Network Filesystems
URL: http://bugs.debian.org/cgi-bin/bugrep...
Whiteboard:
Keywords:
Depends on: 356241
Blocks:
  Show dependency tree
 
Reported: 2009-05-10 18:32 UTC by Mike Cui
Modified: 2012-06-16 11:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
net-fs/fusesmb-0.8.7-r1.ebuild (fusesmb-0.8.7-r1.ebuild,1.01 KB, text/plain)
2010-05-10 15:26 UTC, Sandy
Details
the corresponding patch (from the debian bug report) (fusesmb-mutex.patch,4.93 KB, text/plain)
2010-05-10 15:27 UTC, Sandy
Details

Note You need to log in before you can comment on or make changes to this bug.
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