sys-apps/systemd: add sample nsswitch.conf
authorMike Gilbert <floppym@gentoo.org>
Thu, 3 Nov 2016 19:52:02 +0000 (15:52 -0400)
committerMike Gilbert <floppym@gentoo.org>
Fri, 4 Nov 2016 01:05:57 +0000 (21:05 -0400)
Package-Manager: portage-2.3.2_p3

sys-apps/systemd/files/nsswitch.conf [new file with mode: 0644]
sys-apps/systemd/systemd-9999.ebuild

diff --git a/sys-apps/systemd/files/nsswitch.conf b/sys-apps/systemd/files/nsswitch.conf
new file mode 100644 (file)
index 0000000..00667c0
--- /dev/null
@@ -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
index 0083535fc13d4535d25c40f26fd6fe8569fcf4f5..58358687988d49d28079ece5ff663c1fa8621339 100644 (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