Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1625213

Summary: crash - /usr/libexec/sssd/sssd_nss in nss_setnetgrent_timeout [rhel-7.4.z]
Product: Red Hat Enterprise Linux 7 Reporter: Oneata Mircea Teodor <toneata>
Component: sssdAssignee: SSSD Maintainers <sssd-maint>
Status: CLOSED ERRATA QA Contact: sssd-qe <sssd-qe>
Severity: high Docs Contact:
Priority: high    
Version: 7.4CC: aheverle, amitkuma, apeddire, atolani, atripath, ekeck, enewland, gparente, grajaiya, jhrozek, jowright, jpriddy, jstephen, kludhwan, knweiss, lmanasko, lslebodn, mbliss, minyu, mkosek, mupadhye, mzidek, nsoman, pbrezina, raines, rbdiri, sbose, sgoveas, sssd-maint, tscherf
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: sssd-1.15.2-50.el7_4.14 Doc Type: Bug Fix
Doc Text:
Previously, the *Network Security Services* (NSS) responder's code used a faulty memory hierarchy for keeping the in-memory representation of a netgroup. Consequently, if the in-memory representation of a netgroup had expired and the netgroup was requested, the "sssd_nss" process sometimes terminated unexpectedly. With this update, the memory hierarchy has been corrected. As a result, the crash no longer occurs when a netgroup is requested whose internal netgroup representation has expired.
Story Points: ---
Clone Of: 1502686 Environment:
Last Closed: 2018-09-25 20:45:30 UTC Type: ---
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: 1502686    
Bug Blocks:    

Description Oneata Mircea Teodor 2018-09-04 12:08:25 UTC
This bug has been copied from bug #1502686 and has been proposed to be backported to 7.4 z-stream (EUS).

Comment 8 Madhuri 2018-09-06 10:01:44 UTC
 # rpm -qa sssd
sssd-1.15.2-50.el7_4.14.x86_64

Test case is already automated,

INFO - RUN ['systemctl', 'start', 'sssd']
DEBUG - RUN ['systemctl', 'start', 'sssd']
DEBUG - Exit code: 0
INFO - RUN sssctl domain-status LDAP -o
DEBUG - RUN sssctl domain-status LDAP -o
DEBUG - Online status: Offline
DEBUG - Exit code: 0
INFO - RUN getent netgroup -s sss netgroup_user;sleep 16; pgrep -lf sssd
DEBUG - RUN getent netgroup -s sss netgroup_user;sleep 16; pgrep -lf sssd
DEBUG - 29339 sssd
DEBUG - 29340 sssd_be
DEBUG - 29341 sssd_nss
DEBUG - 29342 sssd_pam
DEBUG - Exit code: 0

# cat /etc/sssd/sssd.conf.backup
[sssd]
config_file_version = 2
domains = LDAP
services = nss, pam

[domain/LDAP]
ldap_search_base = dc=example,dc=com
debug_level = 9
id_provider = ldap
auth_provider = ldap
ldap_user_home_directory = /home/%u
ldap_uri = ldaps://typo.server.redhat.com:636
ldap_tls_cacert = /etc/openldap/certs/cacert.pem
use_fully_qualified_names = True

[nss]

[pam]

sssd running without any crash, marking this as 'Verified'

Comment 12 errata-xmlrpc 2018-09-25 20:45:30 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/RHBA-2018:2778