]> git.ipfire.org Git - thirdparty/systemd.git/commit
man: move 'files' module in NSS 'hosts:' line before myhostname
authorLennart Poettering <lennart@poettering.net>
Mon, 17 Aug 2020 07:10:32 +0000 (09:10 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 17 Aug 2020 16:55:59 +0000 (18:55 +0200)
commitd296c20f1fff6a258cc6eacd2141058daa49a1ff
treeb21001e58291ec0aaa644cf09788de9101bdf130
parentf3317336450e1145b97ae9e38bd626f3d4c88eb8
man: move 'files' module in NSS 'hosts:' line before myhostname

I am pretty sure /etc/hosts (i.e. an explicitly configured, local,
trusted database) should be useful for overriding the automatic
myhostname logic.

resolved's internal logic handles it that way and hence we should
suggest it in the NSS fallback line, too.

Let's also bring the factory file back into sync with what the docs say.

And update the prose a bit too, to actually match what we recommend.
factory/etc/nsswitch.conf
man/nss-myhostname.xml
man/nss-mymachines.xml
man/nss-resolve.xml
man/nss-systemd.xml