1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-19 22:50:17 +03:00

man: Update nss-myhostname.xml to reflect files

(cherry picked from commit 3e1d7b6aae5f5b24610620db810a5730dcc9a6a6)
This commit is contained in:
AndreFerreiraMsc 2025-01-28 14:11:58 +01:00 committed by Yu Watanabe
parent 534b837ba8
commit e5bf5f0d61

View File

@ -74,7 +74,7 @@
<para>To activate the NSS modules, add <literal>myhostname</literal> to the line starting with
<literal>hosts:</literal> in <filename>/etc/nsswitch.conf</filename>.</para>
<para>It is recommended to place <literal>myhostname</literal> after <literal>file</literal> and before <literal>dns</literal>.
<para>It is recommended to place <literal>myhostname</literal> after <literal>files</literal> and before <literal>dns</literal>.
This resolves well-known hostnames like <literal>localhost</literal>
and the machine hostnames locally. It is consistent with the behaviour
of <command>nss-resolve</command>, and still allows overriding via