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

Bug 579102

Summary: sys-libs/ldb should force a rebuild of net-fs/samba when it is updated
Product: Gentoo Linux Reporter: Alan Hodgson <ahodgson>
Component: Current packagesAssignee: Gentoo's SAMBA Team <samba>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alan Hodgson 2016-04-05 17:28:29 UTC
sys-libs/ldb updated for me yesterday and afterwards samba 4.2.9 wouldn't restart. Errors like:

pr  5 09:56:48 achilles samba[7743]: Copyright Andrew Tridgell and the Samba Team 1992-2014
Apr  5 09:56:48 achilles samba[7743]: ldb: module version mismatch in ../source4/dsdb/samdb/ldb_modules/acl.c : ldb_version=1.1.26 module_version=1.1.24
Apr  5 09:56:48 achilles samba[7743]: ldb: failed to initialise module /usr/lib64/samba/ldb/acl.so : Unavailable
Apr  5 09:56:48 achilles samba[7743]: ldb: Unable to find backend for '/var/lib/samba/private/privilege.ldb' - do you need to set LDB_MODULES_PATH?

.. etc.

Rebuilding samba fixed it.

Reproducible: Always

Steps to Reproduce:
1. update ldb
2. restart samba
3. samba fails
Actual Results:  
Samba no longer working after restart.

Expected Results:  
Samba works normally.
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2016-04-05 17:35:33 UTC
Alternatively, sys-libs/ldb needs to use symbol versioning to retian the proper api calls for older versions.