When sssd is enabled, getservent() hangs when it reaches end of /etc/services

Solution Verified - Updated -

Issue

When sssd is running, getservent() will not exit when it reaches the end of /etc/services. After sending a kill signal to sssd, the reproducer script completes immediately. Anything that calls getservent() will hang, e.g. lsof -i TCP or any of our own programs. sssd is used to talk to our ldap servers for the following services: services = nss, pam, autofs

Environment

  • Red Hat Enterprise Linux 6.5
  • sssd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.