summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2021-07-23 22:22:40 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2021-07-23 22:22:40 +0200
commit20d4b68344e9bbd09892ae18cbf7c46b3e21e4af (patch)
tree07d134121071476fd7975449de2642d07f535265
parentCopy nsswitch.conf from glibc gentoo/2.33 branch (diff)
downloadglibc-systemd-20d4b68344e9bbd09892ae18cbf7c46b3e21e4af.tar.gz
glibc-systemd-20d4b68344e9bbd09892ae18cbf7c46b3e21e4af.tar.bz2
glibc-systemd-20d4b68344e9bbd09892ae18cbf7c46b3e21e4af.zip
Add support for nss-resolve, -mymachines, -myhostname20210724
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@gentoo.org>
-rw-r--r--gentoo-config/nsswitch.conf3
1 files changed, 2 insertions, 1 deletions
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