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

Reply via email to