forked from pool/glibc
Andreas Schwab
38c25e64ac
(bsc#1230965, BZ #32214) - Use nss-systemd by default also in SLE (bsc#1230638) OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=721
14 lines
432 B
Diff
14 lines
432 B
Diff
Index: glibc-2.33/nss/nss_database.c
|
|
===================================================================
|
|
--- glibc-2.33.orig/nss/nss_database.c
|
|
+++ glibc-2.33/nss/nss_database.c
|
|
@@ -303,6 +303,8 @@ nss_database_reload (struct nss_database
|
|
{
|
|
FILE *fp = fopen (_PATH_NSSWITCH_CONF, "rce");
|
|
if (fp == NULL)
|
|
+ fp = fopen ("/usr" _PATH_NSSWITCH_CONF, "rce");
|
|
+ if (fp == NULL)
|
|
switch (errno)
|
|
{
|
|
case EACCES:
|