Index: glibc-2.31/nss/nss_database.c
===================================================================
--- glibc-2.31.orig/nss/nss_database.c
+++ glibc-2.31/nss/nss_database.c
@@ -294,6 +294,8 @@ nss_database_reload (struct nss_database_data *staging,
struct file_change_detection *initial)
{
FILE *fp = fopen (_PATH_NSSWITCH_CONF, "rce");
+ if (fp == NULL)
+ fp = fopen ("/usr" _PATH_NSSWITCH_CONF, "rce");
if (fp == NULL)
switch (errno)