sys-apps/systemd: add sample nsswitch.conf

Package-Manager: portage-2.3.2_p3
This commit is contained in:
Mike Gilbert
2016-11-03 21:05:57 -04:00
parent d2898b782f
commit 8e4e49d41e
2 changed files with 28 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
# Sample nss configuration for systemd
# systemd-specific modules
# See the manual pages fore further information.
# nss-myhostname - host resolution for the local hostname
# nss-mymachines - host, user, group resolution for containers
# nss-resolve - host resolution using resolved
# nss-systemd - dynamic user/group resolution (DynamicUser in unit files)
passwd: compat mymachines systemd
shadow: compat
group: compat mymachines systemd
gshadow: files
hosts: files mymachines resolve [!UNAVAIL=return] dns myhostname
networks: files
services: db files
protocols: db files
rpc: db files
ethers: db files
netmasks: files
netgroup: files
bootparams: files
automount: files
aliases: files
+1
View File
@@ -326,6 +326,7 @@ multilib_src_install() {
multilib_src_install_all() {
prune_libtool_files --modules
einstalldocs
dodoc "${FILESDIR}"/nsswitch.conf
if [[ ${PV} != 9999 ]]; then
use doc || doman "${WORKDIR}"/man/systemd.{directives,index}.7