]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man,factory: update factory config for nsswitch.conf to match the man pages
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 27 Nov 2018 16:02:20 +0000 (17:02 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 27 Nov 2018 21:35:02 +0000 (22:35 +0100)
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
man/nss-myhostname.xml
man/nss-mymachines.xml
man/nss-resolve.xml
man/nss-systemd.xml

index 5f2984e77f1b1b9077fa3582e818ccb89bd0f1fa..5470993e34b2a616598f598953ad2f5e48fe03fc 100644 (file)
@@ -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
index 18a6f5f665a22ef863b1bd596b90f3c91128bdc1..e447420f53e8b6d251c8c0f8795781845ac41f52 100644 (file)
@@ -81,6 +81,7 @@
     <para>Here is an example <filename>/etc/nsswitch.conf</filename> file that enables
     <command>nss-myhostname</command> correctly:</para>
 
+    <!-- synchronize with other nss-* man pages and factory/etc/nsswitch.conf -->
 <programlisting>passwd:         compat mymachines systemd
 group:          compat mymachines systemd
 shadow:         compat
index d9811b24cc5c8dab33c2636da005611ddabd32fe..a0a0f99684dd35fa5446da0b472b60546911e845 100644 (file)
@@ -58,6 +58,7 @@
     <para>Here is an example <filename>/etc/nsswitch.conf</filename> file that enables
     <command>nss-mymachines</command> correctly:</para>
 
+    <!-- synchronize with other nss-* man pages and factory/etc/nsswitch.conf -->
     <programlisting>passwd:         compat <command>mymachines</command> systemd
 group:          compat <command>mymachines</command> systemd
 shadow:         compat
index d747e0b1e526a6e2aa7a20ed0c1877f26066c9f4..960d580003d451ce23508314c59a4cb04b83e629 100644 (file)
@@ -64,6 +64,7 @@
     <para>Here is an example <filename>/etc/nsswitch.conf</filename> file that enables <command>nss-resolve</command>
     correctly:</para>
 
+    <!-- synchronize with other nss-* man pages and factory/etc/nsswitch.conf -->
 <programlisting>passwd:         compat mymachines systemd
 group:          compat mymachines systemd
 shadow:         compat
index 323f9ab868818bca8715e5e374c3ae44d67f82a6..d3d68437de3005528720a8115548d10bd9744e17 100644 (file)
@@ -55,6 +55,7 @@
     <para>Here is an example <filename>/etc/nsswitch.conf</filename> file that enables
     <command>nss-systemd</command> correctly:</para>
 
+    <!-- synchronize with other nss-* man pages and factory/etc/nsswitch.conf -->
     <programlisting>passwd:         compat mymachines <command>systemd</command>
 group:          compat mymachines <command>systemd</command>
 shadow:         compat