Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dpitchumani
glibc
glibc-nsswitch-usr.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File glibc-nsswitch-usr.diff of Package glibc
Index: glibc-2.31/nss/nsswitch.c =================================================================== --- glibc-2.31.orig/nss/nsswitch.c +++ glibc-2.31/nss/nsswitch.c @@ -134,6 +134,10 @@ __nss_database_lookup2 (const char *data /* Read config file. */ service_table = nss_parse_file (_PATH_NSSWITCH_CONF); + /* Retry with the OS vendor provided config file. */ + if (service_table == NULL) + service_table = nss_parse_file ("/usr" _PATH_NSSWITCH_CONF); + /* Test whether configuration data is available. */ if (service_table != NULL) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor