commit:     b4e0182029d37d9a1a6f77ea180c51c8324bb926
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 10 15:33:50 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Apr 10 15:33:50 2021 +0000
URL:        
https://gitweb.gentoo.org/proj/toolchain/glibc-patches.git/commit/?id=b4e01820

Extend nss-systemd patch by an explanatory comment

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 .../0050-Enable-nss-systemd-in-nsswitch.conf.patch | 22 ++++++++++++++++------
 1 file 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?= <[email protected]>
 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 <[email protected]>
 ---
- 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
 

Reply via email to