diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2021-04-10 17:33:50 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2021-04-10 17:33:50 +0200 |
commit | b4e0182029d37d9a1a6f77ea180c51c8324bb926 (patch) | |
tree | 8f22b44dc1e96f349777e1a3ac3d868044cbdf82 | |
parent | Add some systemd love (diff) | |
download | glibc-patches-b4e0182029d37d9a1a6f77ea180c51c8324bb926.tar.gz glibc-patches-b4e0182029d37d9a1a6f77ea180c51c8324bb926.tar.bz2 glibc-patches-b4e0182029d37d9a1a6f77ea180c51c8324bb926.zip |
Extend nss-systemd patch by an explanatory comment
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rw-r--r-- | 9999/0050-Enable-nss-systemd-in-nsswitch.conf.patch | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/9999/0050-Enable-nss-systemd-in-nsswitch.conf.patch b/9999/0050-Enable-nss-systemd-in-nsswitch.conf.patch index 507a6f7..af5796a 100644 --- a/9999/0050-Enable-nss-systemd-in-nsswitch.conf.patch +++ b/9999/0050-Enable-nss-systemd-in-nsswitch.conf.patch @@ -1,4 +1,4 @@ -From bd0e6361082106bd0a053244610a66063b91baed Mon Sep 17 00:00:00 2001 +From eab439ef67e7749f0e0a159e373e54b5f4dbe887 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= <dilfridge@gentoo.org> Date: Sat, 27 Feb 2021 18:37:33 +0100 Subject: [PATCH] Enable nss-systemd in nsswitch.conf @@ -13,14 +13,24 @@ https://www.freedesktop.org/software/systemd/man/nss-systemd.html Bug: https://bugs.gentoo.org/768366 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> --- - nss/nsswitch.conf | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) + nss/nsswitch.conf | 11 +++++++++-- + 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/nss/nsswitch.conf b/nss/nsswitch.conf -index 40030d1dd7..c767b0b929 100644 +index 40030d1dd7..0faf5e71fe 100644 --- a/nss/nsswitch.conf +++ b/nss/nsswitch.conf -@@ -53,14 +53,14 @@ +@@ -50,17 +50,24 @@ + # shadow: db files + # group: db files + ++# If you encounter slowdowns of file operations and do not use ++# systemd-generated users and groups, you can disable the corresponding ++# lookups by replacing the group and passwd lines with, e.g., ++# group: files ++# passwd: files ++# See also https://bugs.gentoo.org/773436 ++ # In alphabetical order. Re-order as required to optimize peformance. aliases: files ethers: files @@ -38,5 +48,5 @@ index 40030d1dd7..c767b0b929 100644 publickey: files rpc: files -- -2.30.1 +2.26.3 |