From 0854e4aa76942758f676dbca6dd1388c049b0149 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Thu, 29 Jul 2021 11:23:09 -0400 Subject: Return immediately if libnss_files cannot open /etc/shadow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This restores the EACCES errno value that is expected by pam_unix in >=sys-libs/pam-1.5.2. Bug: https://bugs.gentoo.org/803050 Signed-off-by: Mike Gilbert Signed-off-by: Andreas K. Hüttel --- gentoo-config/nsswitch.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gentoo-config/nsswitch.conf b/gentoo-config/nsswitch.conf index b6d742d..d758a68 100644 --- a/gentoo-config/nsswitch.conf +++ b/gentoo-config/nsswitch.conf @@ -72,5 +72,5 @@ passwd: files systemd protocols: files publickey: files rpc: files -shadow: files systemd +shadow: files [UNAVAIL=return] systemd services: files -- cgit v1.2.3-65-gdbad