Description of Problem: Whilst using LD_DEBUG to track down an Apache bug, I noticed that the debug log produced using LD_DEBUG=files contains some curious errors along with the normal output: a number of errors as follows: 31622: /lib/libnss_nisplus.so.2: error: relocation error: undefined symbol: _nss_nisplus_initgroups_dyn (fatal) The processes operate correctly and the debug log contains all the expected output along with these errors messages. Version-Release number of selected component (if applicable): glibc-2.2.93-3 How Reproducible: Always Steps to Reproduce: From a recent "everything" install: $ su - # LD_DEBUG=files LD_DEBUG_OUTPUT=/tmp/ldebug /usr/sbin/httpd # service httpd stop Actual Results: # grep error /tmp/ldebug.* many errors in log like: 31622: /lib/libnss_files.so.2: error: relocation error: undefined symbol: _nss_files_initgroups_dyn (fatal) Expected Results: No errors
That comes from dlsym() - only libnss_nis.so.2 contains a initgroups_dyn handler and the generic code just attempts to look it up and if it has not succeeded, falls back to a default handling.