summaryrefslogtreecommitdiff
path: root/factory
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-07-07 21:58:12 +0200
committerLennart Poettering <lennart@poettering.net>2020-07-14 17:08:12 +0200
commit38ccb55731e5c288fd086344bbb07a7167a78d2b (patch)
treec25fbeb336bdd043a89b7d2d65d3ddb0a3a59f79 /factory
parent4c2cf15751e7797452e0d7d2906b10fb2b46db3f (diff)
downloadsystemd-38ccb55731e5c288fd086344bbb07a7167a78d2b.tar.gz
nss-mymachines: drop support for UID/GID resolving
Now that we make the user/group name resolving available via userdb and thus nss-systemd, we do not need the UID/GID resolving support in nss-mymachines anymore. Let's drop it hence. We keep the module around, since besides UID/GID resolving it also does hostname resolving, which we care about. (One of those days we should replace that by some Varlink logic between nss-resolve/systemd-resolved.service too) The hooks are kept in the NSS module, but they do not resolve anything anymore, in order to keep compat at a maximum.
Diffstat (limited to 'factory')
-rw-r--r--factory/etc/nsswitch.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/factory/etc/nsswitch.conf b/factory/etc/nsswitch.conf
index e7365cd142..da74b19d90 100644
--- a/factory/etc/nsswitch.conf
+++ b/factory/etc/nsswitch.conf
@@ -1,7 +1,7 @@
# This file is part of systemd.
-passwd: compat mymachines systemd
-group: compat [SUCCESS=merge] mymachines [SUCCESS=merge] systemd
+passwd: compat systemd
+group: compat [SUCCESS=merge] systemd
shadow: compat
hosts: files mymachines resolve [!UNAVAIL=return] dns myhostname