From 94f760ec9d03737da8799739635b25d7ee6c637c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 27 Nov 2018 17:02:20 +0100 Subject: [PATCH] man,factory: update factory config for nsswitch.conf to match the man pages Also add a note in the man pages to remind people to adjust the factory config and other man pages at the same time. --- factory/etc/nsswitch.conf | 17 +++++++++++++---- man/nss-myhostname.xml | 1 + man/nss-mymachines.xml | 1 + man/nss-resolve.xml | 1 + man/nss-systemd.xml | 1 + 5 files changed, 17 insertions(+), 4 deletions(-) diff --git a/factory/etc/nsswitch.conf b/factory/etc/nsswitch.conf index 5f2984e77f..5470993e34 100644 --- a/factory/etc/nsswitch.conf +++ b/factory/etc/nsswitch.conf @@ -1,6 +1,15 @@ # This file is part of systemd. -passwd: files -shadow: files -group: files -hosts: files mymachines resolve myhostname +passwd: compat mymachines systemd +group: compat mymachines systemd +shadow: compat + +hosts: files mymachines resolve [!UNAVAIL=return] dns myhostname +networks: files + +protocols: db files +services: db files +ethers: db files +rpc: db files + +netgroup: nis diff --git a/man/nss-myhostname.xml b/man/nss-myhostname.xml index 18a6f5f665..e447420f53 100644 --- a/man/nss-myhostname.xml +++ b/man/nss-myhostname.xml @@ -81,6 +81,7 @@ Here is an example /etc/nsswitch.conf file that enables nss-myhostname correctly: + passwd: compat mymachines systemd group: compat mymachines systemd shadow: compat diff --git a/man/nss-mymachines.xml b/man/nss-mymachines.xml index d9811b24cc..a0a0f99684 100644 --- a/man/nss-mymachines.xml +++ b/man/nss-mymachines.xml @@ -58,6 +58,7 @@ Here is an example /etc/nsswitch.conf file that enables nss-mymachines correctly: + passwd: compat mymachines systemd group: compat mymachines systemd shadow: compat diff --git a/man/nss-resolve.xml b/man/nss-resolve.xml index d747e0b1e5..960d580003 100644 --- a/man/nss-resolve.xml +++ b/man/nss-resolve.xml @@ -64,6 +64,7 @@ Here is an example /etc/nsswitch.conf file that enables nss-resolve correctly: + passwd: compat mymachines systemd group: compat mymachines systemd shadow: compat diff --git a/man/nss-systemd.xml b/man/nss-systemd.xml index 323f9ab868..d3d68437de 100644 --- a/man/nss-systemd.xml +++ b/man/nss-systemd.xml @@ -55,6 +55,7 @@ Here is an example /etc/nsswitch.conf file that enables nss-systemd correctly: + passwd: compat mymachines systemd group: compat mymachines systemd shadow: compat