public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/toolchain/glibc-systemd:master commit in: gentoo-config/
@ 2021-07-23 20:24 Andreas K. Hüttel
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas K. Hüttel @ 2021-07-23 20:24 UTC (permalink / raw
  To: gentoo-commits

commit:     20d4b68344e9bbd09892ae18cbf7c46b3e21e4af
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 23 20:22:40 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Jul 23 20:22:40 2021 +0000
URL:        https://gitweb.gentoo.org/proj/toolchain/glibc-systemd.git/commit/?id=20d4b683

Add support for nss-resolve, -mymachines, -myhostname

See also
https://www.freedesktop.org/software/systemd/man/libnss_resolve.so.2.html
https://www.freedesktop.org/software/systemd/man/libnss_mymachines.so.2.html
https://www.freedesktop.org/software/systemd/man/libnss_myhostname.so.2.html

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 gentoo-config/nsswitch.conf | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gentoo-config/nsswitch.conf b/gentoo-config/nsswitch.conf
index 17aa6db..b6d742d 100644
--- a/gentoo-config/nsswitch.conf
+++ b/gentoo-config/nsswitch.conf
@@ -58,11 +58,12 @@
 # See also https://bugs.gentoo.org/773436
 
 # In alphabetical order. Re-order as required to optimize peformance.
+
 aliases:    files
 ethers:     files
 group:      files [SUCCESS=merge] systemd
 gshadow:    files systemd
-hosts:      files dns
+hosts:      mymachines resolve [!UNAVAIL=return] files myhostname dns
 # Allow initgroups to default to the setting for group.
 # initgroups: files
 netgroup:   files


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/toolchain/glibc-systemd:master commit in: gentoo-config/
@ 2021-07-29 16:49 Andreas K. Hüttel
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas K. Hüttel @ 2021-07-29 16:49 UTC (permalink / raw
  To: gentoo-commits

commit:     0854e4aa76942758f676dbca6dd1388c049b0149
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:49:02 2021 +0000
URL:        https://gitweb.gentoo.org/proj/toolchain/glibc-systemd.git/commit/?id=0854e4aa

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 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-29 16:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-23 20:24 [gentoo-commits] proj/toolchain/glibc-systemd:master commit in: gentoo-config/ Andreas K. Hüttel
  -- strict thread matches above, loose matches on Subject: below --
2021-07-29 16:49 Andreas K. Hüttel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox