Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1214973

Summary: /usr/lib64/samba/wbclient is not in the ldconfig lookup path
Product: [Fedora] Fedora Reporter: Nicolas Laplante <nicolas.laplante>
Component: sambaAssignee: Sumit Bose <sbose>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 22CC: abokovoy, alex94puchades, asn, eli.embits, extras-orphan, gdeschner, jamespatterson, jlayton, lslebodn, madam, micsim2007, rdieter, sbose, sgraf, ssorce, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: samba-4.2.1-4.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-26 12:43:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Alternatives update for libwbclient.0.12 none

Description Nicolas Laplante 2015-04-24 01:13:41 UTC
Description of problem:
After updating to libwbclient 2:4.2.1-2.fc22 from updates-testing, applications linked to libwbclient.so cannot find the shared library, because the path /usr/lib64/samba/wbclient is not part of the ldconfig lookup path.

Version-Release number of selected component (if applicable):
Fedora 22 Beta

How reproducible:
Always

Steps to Reproduce:
1. dnf update
2. try to start an app linked to this library (gnome-control-center)
3. fail

Actual results:
Applications linked to libwbclient do not start

Expected results:
Applications start


Additional info:
I added this in /etc/ld.so.conf.d/samba.conf:

/usr/lib64/samba/wbclient

and ran ldconfig as root. Apps work fine after this fix.

Comment 1 Sumit Bose 2015-04-24 10:30:39 UTC
*** Bug 1215109 has been marked as a duplicate of this bug. ***

Comment 2 Sumit Bose 2015-04-24 11:08:12 UTC
Created attachment 1018410 [details]
Alternatives update for libwbclient.0.12

This patch makes the alternatives tool aware of the new version of libwbclient and adds a check which should make sure the next time a version change is already discovered at build time.

I tested up- and downgrades and alternatives is updated as expected. If sssd-libwbclient is install which currently only implements 0.11 (update will coming soon as well) there will be still a link pointing to the 0.11 implementation of SSSD but ldconfig is smart enough to pick the newer version.

Comment 3 Fedora Update System 2015-04-24 14:32:19 UTC
samba-4.2.1-3.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/samba-4.2.1-3.fc22

Comment 4 Mike Simms 2015-04-24 19:32:55 UTC
Thanks. Appears to be resolved, karma given.

Comment 5 Stanislav Graf 2015-04-25 15:57:35 UTC
Updating to samba-4.2.1-4.fc22 fixed the issue for me.

Comment 6 Fedora Update System 2015-04-26 12:43:53 UTC
samba-4.2.1-4.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 David King 2015-04-27 06:31:09 UTC
*** Bug 1215450 has been marked as a duplicate of this bug. ***

Comment 8 Elionai Moura 2016-09-11 02:45:11 UTC
Same thing like Nicholas Laplante, but on Fedora 24 and Gnome 3.20.2