From b4e0182029d37d9a1a6f77ea180c51c8324bb926 Mon Sep 17 00:00:00 2001 From: "Andreas K. Hüttel" Date: Sat, 10 Apr 2021 17:33:50 +0200 Subject: Extend nss-systemd patch by an explanatory comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas K. Hüttel --- .../0050-Enable-nss-systemd-in-nsswitch.conf.patch | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to '9999') 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?= 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 --- - 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 -- cgit v1.2.3-65-gdbad