Bug 1963122

Summary: nscd spins on the CPU when SELinux is in Enforcing mode
Product: Red Hat Enterprise Linux 9 Reporter: Florian Weimer <fweimer>
Component: glibcAssignee: glibc team <glibc-bugzilla>
Status: CLOSED CURRENTRELEASE QA Contact: Sergey Kolosov <skolosov>
Severity: low Docs Contact:
Priority: low    
Version: 9.0CC: ashankar, codonell, dj, fweimer, mnewsome, pfrankli, sipoyare
Target Milestone: betaKeywords: TestOnly, Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: glibc-2.33-2.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1956697 Environment:
Last Closed: 2021-12-07 21:42:00 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 Florian Weimer 2021-05-21 13:47:51 UTC
+++ This bug was initially created as a clone of Bug #1956697 +++

nscd may hang when /etc/nsswitch.conf has a strange access mode (such as 640 *decimal*) and SELinux is enabled.

We do not have a good way to test this in the upstream test suite. We believe the issue is gone from upstream due to the NSS database rewrite because the conflicting information that caused the bug is no longer there.

We should still extract the reproducer into a test case so that we avoid a future regression in this area.