1 |
commit: 8e4e49d41e1a128a609bb4ec7646b79c5f7e8f7e |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 3 19:52:02 2016 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 4 01:05:57 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e4e49d4 |
7 |
|
8 |
sys-apps/systemd: add sample nsswitch.conf |
9 |
|
10 |
Package-Manager: portage-2.3.2_p3 |
11 |
|
12 |
sys-apps/systemd/files/nsswitch.conf | 27 +++++++++++++++++++++++++++ |
13 |
sys-apps/systemd/systemd-9999.ebuild | 1 + |
14 |
2 files changed, 28 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/systemd/files/nsswitch.conf b/sys-apps/systemd/files/nsswitch.conf |
17 |
new file mode 100644 |
18 |
index 00000000..00667c0 |
19 |
--- /dev/null |
20 |
+++ b/sys-apps/systemd/files/nsswitch.conf |
21 |
@@ -0,0 +1,27 @@ |
22 |
+# Sample nss configuration for systemd |
23 |
+ |
24 |
+# systemd-specific modules |
25 |
+# See the manual pages fore further information. |
26 |
+# nss-myhostname - host resolution for the local hostname |
27 |
+# nss-mymachines - host, user, group resolution for containers |
28 |
+# nss-resolve - host resolution using resolved |
29 |
+# nss-systemd - dynamic user/group resolution (DynamicUser in unit files) |
30 |
+ |
31 |
+passwd: compat mymachines systemd |
32 |
+shadow: compat |
33 |
+group: compat mymachines systemd |
34 |
+gshadow: files |
35 |
+ |
36 |
+hosts: files mymachines resolve [!UNAVAIL=return] dns myhostname |
37 |
+networks: files |
38 |
+ |
39 |
+services: db files |
40 |
+protocols: db files |
41 |
+rpc: db files |
42 |
+ethers: db files |
43 |
+netmasks: files |
44 |
+netgroup: files |
45 |
+bootparams: files |
46 |
+ |
47 |
+automount: files |
48 |
+aliases: files |
49 |
|
50 |
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild |
51 |
index 0083535..5835868 100644 |
52 |
--- a/sys-apps/systemd/systemd-9999.ebuild |
53 |
+++ b/sys-apps/systemd/systemd-9999.ebuild |
54 |
@@ -326,6 +326,7 @@ multilib_src_install() { |
55 |
multilib_src_install_all() { |
56 |
prune_libtool_files --modules |
57 |
einstalldocs |
58 |
+ dodoc "${FILESDIR}"/nsswitch.conf |
59 |
|
60 |
if [[ ${PV} != 9999 ]]; then |
61 |
use doc || doman "${WORKDIR}"/man/systemd.{directives,index}.7 |