Bug 1944778

Summary: /sbin/ldconfig: /lib64/libsmbldap.so.2 is not a symbolic link
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Peter Larsen <plarsen>
Component: sambaAssignee: Anoop C S <anoopcs>
Status: CLOSED ERRATA QA Contact: Aditya Ramteke <aramteke>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.5CC: anoopcs, aramteke, gdeschner, pprakash, rcyriac, rhs-smb, sheggodu
Target Milestone: ---   
Target Release: RHGS 3.5.z Batch Update 7   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: samba-4.14.5-200.el8rhgs Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-05 05:17:13 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:
Bug Depends On: 1975274    
Bug Blocks:    

Description Peter Larsen 2021-03-30 16:33:46 UTC
Description of problem:
Update/install of samba-vfs-glusterfs drags in samba-client-libs from the rhgs repository. This repository includes the libsmbldap.so.2 file - which ldconfig requires to be a symlink. 

Version-Release number of selected component (if applicable):
samba-client-libs-4.12.6-102.el8rhgs.x86_64


How reproducible:
On install

Expected result:
Content of package to be compliant with ldconfig requirements/standards.

Comment 1 Anoop C S 2021-06-08 13:07:58 UTC
I couldn't reproduce the issue. Installation of samba-vfs-glusterfs(pulling in samba-client-libs) went fine without any ldconfig warning. Do you have any other libsmbldap.so.* under /usr/lib64/ ?

# rpm -q samba-client-libs
samba-client-libs-4.13.7-101.el8rhgs.x86_64
# ldconfig
# ldconfig -n /usr/lib64/

Comment 2 Anoop C S 2021-06-14 11:41:50 UTC
Ok. Even though I am yet to reproduce the issue, I could get some background around it and a possible fix[1] after discussing with Samba upstream. Also I am linking similar bz #1947945 to the current bug report. Patch will be part of v4.14 version series.

[1] https://git.samba.org/?p=samba.git;a=blobdiff;f=source3/wscript_build;h=ec8135c302ff27e49b2649ddff9a8d401008ed79;hp=5a07eddac44e454bd6cec4980f8022815e76a99c;hb=9ec83caeb51e85ef9a217d5017d5844389d48513;hpb=10f61cd39b9e03e7bb781edf04022ea6ae1f1cac

Comment 11 errata-xmlrpc 2021-10-05 05:17:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: samba security, bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:3724