Bug 1754575

Summary: samba: Remove NSS wins and winbind dependency on librt/libpthread as workaround for glibc defect.
Product: Red Hat Enterprise Linux 8 Reporter: Carlos O'Donell <codonell>
Component: sambaAssignee: Andreas Schneider <asn>
Status: CLOSED ERRATA QA Contact: Andrej Dzilský <adzilsky>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: amahdal, ashankar, asn, codonell, dj, dkarpele, fweimer, gdeschner, glibc-bugzilla, iboukris, jarrpa, jstephen, mnewsome, pfrankli, qe-baseos-tools-bugs, toneata, tscherf
Target Milestone: rcKeywords: ZStream
Target Release: 8.2Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: samba-4.10.4-100.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1748197
: 1760824 (view as bug list) Environment:
Last Closed: 2020-04-28 16:58:36 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:    
Bug Blocks: 1760824    

Description Carlos O'Donell 2019-09-23 15:46:32 UTC
During an in-place upgrade the libnss_winbind and libnss_wins, known as the "winbind" and "wins" service providers for NSS, can trigger a glibc defect which causes the upgrade to fail.

If the dependency on librt and libpthread were removed from winbind and wins then it would allow in-place upgrades for systems that have /etc/nsswitch.conf with such service providers.

The glibc fix is going to take much longer (involves failures in dependencies marked NODELETE), so in the meantime any other workaround helps resolve in-place upgrade issues.

The related glibc bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1748197

Comment 4 Andreas Schneider 2019-09-23 15:58:10 UTC
It looks like Isaac and I have a patchset which should address the issue. Currently we are checking if the upstream CI will pass with it. We will do tests tomorrow if it works as expected.

Comment 5 Isaac Boukris 2019-09-24 10:26:44 UTC
The patchset manages to avoid linking nss_winbind module against rt and pthread, but the wins module still link against pthread and we can't avoid it there.

Comment 11 errata-xmlrpc 2020-04-28 16:58:36 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, 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-2020:1878