We need to backport this upstream patch: commit 61595e3d36ded374f97961503e843a314b0203c2 Author: Andreas Schwab <schwab> Date: Tue May 15 14:42:37 2018 +0200 nscd: avoid assertion failure during persistent db check nscd should not abort when it finds inconsistencies in the persistent db.
Verified by corrupting a record of /var/db/passwd file: on glibc-2.28-69.el8 nscd crashes: nscd: connections.c:307: check_use: Assertion `len >= 2' failed. Aborted (core dumped) on glibc-2.28-70.el8 nscd reports about invalid DB and continue works: invalid persistent database file "/var/db/nscd/passwd": verification failed
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-2019:3513