commit: 52a0d25c417dad0c9c8a6880c484a495221674be Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Thu Jul 29 15:23:09 2021 +0000 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Thu Jul 29 16:48:12 2021 +0000 URL: https://gitweb.gentoo.org/proj/toolchain/glibc-systemd.git/commit/?id=52a0d25c
Return immediately if libnss_files cannot open /etc/shadow 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 <floppym <AT> gentoo.org> Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> 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 0a18b20..699c31e 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