MFC r365391, r365415
r365391:
nsswitch.conf(5): recommend placing cache after files
When cache precedes files, and nscd is configured to allow negative caching,
commands like "pw groupadd" can fail. The sequence of events looks like:
- A command like pkg(8) looks up the group, and finds it absent.
- pkg invokes pw(8) to add the group
- pkg queries the group, but nscd says it doesn't exist, since it has a negative cache entry for that group.
See also: https://lists.freebsd.org/pipermail/freebsd-current/2012-January/031595.html
Reviewed by: bcr (manpages)
Sponsored by: Axcient
Differential Revision: https://reviews.freebsd.org/D26184
r365415:
nsswitch.conf.5: style fixes
Fix some whitespace, and remove the .Tn macro
Reported by: mandoc, igor
Reviewed by: bcr (manpages)
Differential Revision: https://reviews.freebsd.org/D26345