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 1905450

Summary: Internal unindexed search crashes the server [rhel-7.9.z]
Product: Red Hat Enterprise Linux 7 Reporter: Viktor Ashirov <vashirov>
Component: 389-ds-baseAssignee: LDAP Maintainers <ldap-maint>
Status: CLOSED ERRATA QA Contact: RHDS QE <ds-qe-bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.9CC: d.ritenour, hajek, jreznik, ldap-maint, mreynolds, msauton, plataforma, rmarigny, tbordaz, tmihinto, tscherf, vmishra
Target Milestone: rcKeywords: Regression, ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 389-ds-base-1.3.10.2-9.el7_9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-12 13:32:09 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:

Description Viktor Ashirov 2020-12-08 11:42:48 UTC
Description of problem:
Server crashes when an internal unindexed searches tries to log a message. get_internal_conn_op() is called, but it's not present in 1.3.10.x, only in 1.4.x.

Version-Release number of selected component (if applicable):
389-ds-base-1.3.10.2-7.1.el7_9.x86_64

How reproducible:
always

Steps to Reproduce:
1. Add a group and 4000 users
2. Run memberof fix up task
3.

Actual results:
Dec 08 06:28:31 server.example.com ns-slapd[20331]: [08/Dec/2020:06:28:31.975799839 -0500] - INFO - memberof-plugin - memberof_fixup_task_thread - Memberof task starts (filter: "(|(objectclass=inetuser)(objectclass=inetadmin)(objectclass=nsmemberof))") ...
Dec 08 06:28:31 server.example.com ns-slapd[20331]: /usr/sbin/ns-slapd: symbol lookup error: /usr/lib64/dirsrv/plugins/libback-ldbm.so: undefined symbol: get_internal_conn_op


Expected results:
Server should not crash.

Additional info:
https://github.com/389ds/389-ds-base/issues/4219#issuecomment-691648094

Comment 5 Viktor Ashirov 2020-12-09 17:08:15 UTC
*** Bug 1906038 has been marked as a duplicate of this bug. ***

Comment 6 Plataforma 2020-12-09 19:15:21 UTC
I have a same problem , but with version 1.3.10.2 in redhat 7

Comment 10 David Ritenour 2021-01-04 18:07:07 UTC
Also experiencing this issue with version 1.3.10.2 in redhat 7.9  VendorVersion: 389-Directory/1.3.10.2 B2020.295.1915.  

Nothing useful is found in the directory errors or access logs when the process fails but /var/log/messages reports:

Dec  7 20:00:04 rh7dir1 ns-slapd: /usr/sbin/ns-slapd: symbol lookup error: /usr/lib64/dirsrv/plugins/libback-ldbm.so: undefined symbol: get_internal_conn_op
Dec  7 20:00:04 rh7dir1 systemd: dirsrv: main process exited, code=exited, status=127/n/a
Dec  7 20:00:04 rh7dir1 systemd: Unit dirsrv entered failed state.
Dec  7 20:00:04 rh7dir1 systemd: dirsrv failed.

Comment 17 Viktor Ashirov 2021-01-08 14:30:08 UTC
============================================================================ test session starts ============================================================================
platform linux -- Python 3.6.8, pytest-6.2.1, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3
cachedir: .pytest_cache
metadata: {'Python': '3.6.8', 'Platform': 'Linux-3.10.0-1160.6.1.el7.x86_64-x86_64-with-redhat-7.9-Maipo', 'Packages': {'pytest': '6.2.1', 'py': '1.10.0', 'pluggy': '0.13.1'}, 'Plugins': {'metadata': '1.11.0', 'html': '3.1.1', 'libfaketime': '0.1.2'}}
389-ds-base: 1.3.10.2-9.el7_9
nss: 3.53.1-3.el7_9
nspr: 4.25.0-2.el7_9
openldap: 2.4.44-22.el7
cyrus-sasl: 2.1.26-23.el7
FIPS: disabled
rootdir: /workspace/ds/dirsrvtests, configfile: pytest.ini
plugins: metadata-1.11.0, html-3.1.1, libfaketime-0.1.2
collected 1 item                                                                                                                                                            

dirsrvtests/tests/suites/indexes/regression_test.py::test_unindexed_internal_search_crashes_server PASSED                                                             [100%]

======================================================================= 1 passed, 1 warning in 32.67s =======================================================================

Comment 21 errata-xmlrpc 2021-01-12 13:32:09 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 (389-ds-base bug fix 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/RHBA-2021:0077