Bug 488559 - samba built without POSIX capabilities which causes severe performance problems
Summary: samba built without POSIX capabilities which causes severe performance problems
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: samba
Version: 10
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Simo Sorce
QA Contact: Fedora Extras Quality Assurance
URL: http://thread.gmane.org/gmane.network...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-04 20:28 UTC by Leo Bergolth
Modified: 2009-03-30 21:07 UTC (History)
3 users (show)

Fixed In Version: 3.2.8-0.26.fc9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-05 16:28:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Leo Bergolth 2009-03-04 20:28:05 UTC
Description of problem:

The Fedora spec-file misses a dependency on libcap-devel.
Because of this, the current samba rpm is built without support for POSIX capabilities which results for example in broken oplock support. This leads to file buffering being completely disabled.

See
http://thread.gmane.org/gmane.network.samba.general/104511/focus=104535
for details.

Simply adding libcap-devel to Build-Requires should be sufficient to fix
this.

Version-Release number of selected component (if applicable):
Seems to apply to all samba packages in current fedora versions.

How reproducible:
http://kojipkgs.fedoraproject.org/packages/samba/3.2.8/0.26.fc10/data/logs/i386/build.log

Comment 1 Fedora Update System 2009-03-05 12:20:59 UTC
samba-3.2.8-0.27.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/samba-3.2.8-0.27.fc10

Comment 2 Fedora Update System 2009-03-05 12:21:38 UTC
samba-3.2.8-0.26.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/samba-3.2.8-0.26.fc9

Comment 3 Fedora Update System 2009-03-05 16:28:43 UTC
samba-3.2.8-0.27.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2009-03-05 16:33:50 UTC
samba-3.2.8-0.26.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Trevor Cordes 2009-03-30 19:33:36 UTC
Leo, did the 3.2.8-0.27.fc10 update fix your problem?  I'm running it and I am seeing similar behaviour to your samba list report still.  Can you confirm?

Comment 6 Leo Bergolth 2009-03-30 21:07:30 UTC
I'm still running a samba version that I built myself on the corresponding box.
However, it should fix the problem since the new package depends on libcap and smbd is linked against it:

$ rpm -q samba-3.2.8-0.27.fc10 --requires | grep libcap
libcap.so.2

$ ldd /usr/sbin/smbd | grep libcap
        libcap.so.2 => /lib/libcap.so.2 (0x001cb000)


Note You need to log in before you can comment on or make changes to this bug.