commit:     97053bc58d693b5d8f2ba8d64e680c4860bdee1e
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 27 17:51:10 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Feb 27 17:51:10 2021 +0000
URL:        
https://gitweb.gentoo.org/proj/toolchain/glibc-patches.git/commit/?id=97053bc5

Add some systemd love

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

 .../0050-Enable-nss-systemd-in-nsswitch.conf.patch | 42 ++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/9999/0050-Enable-nss-systemd-in-nsswitch.conf.patch 
b/9999/0050-Enable-nss-systemd-in-nsswitch.conf.patch
new file mode 100644
index 0000000..507a6f7
--- /dev/null
+++ b/9999/0050-Enable-nss-systemd-in-nsswitch.conf.patch
@@ -0,0 +1,42 @@
+From bd0e6361082106bd0a053244610a66063b91baed Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= <dilfri...@gentoo.org>
+Date: Sat, 27 Feb 2021 18:37:33 +0100
+Subject: [PATCH] Enable nss-systemd in nsswitch.conf
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+See
+https://bugs.gentoo.org/768366
+https://www.freedesktop.org/software/systemd/man/nss-systemd.html
+
+Bug: https://bugs.gentoo.org/768366
+Signed-off-by: Andreas K. Hüttel <dilfri...@gentoo.org>
+---
+ nss/nsswitch.conf | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/nss/nsswitch.conf b/nss/nsswitch.conf
+index 40030d1dd7..c767b0b929 100644
+--- a/nss/nsswitch.conf
++++ b/nss/nsswitch.conf
+@@ -53,14 +53,14 @@
+ # In alphabetical order. Re-order as required to optimize peformance.
+ aliases:    files
+ ethers:     files
+-group:      files
++group:      files [SUCCESS=merge] systemd
+ gshadow:    files
+ hosts:      files dns
+ # Allow initgroups to default to the setting for group.
+ # initgroups: files
+ netgroup:   files
+ networks:   files dns
+-passwd:     files
++passwd:     files systemd
+ protocols:  files
+ publickey:  files
+ rpc:        files
+-- 
+2.30.1
+

Reply via email to