summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2021-02-27 18:51:10 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2021-02-27 18:51:10 +0100
commit97053bc58d693b5d8f2ba8d64e680c4860bdee1e (patch)
treed7fdb8d6334b3810a3af5f6d34113ad199e54933 /9999/0050-Enable-nss-systemd-in-nsswitch.conf.patch
parentFix etc-mail-aliases patch after changes in master (diff)
downloadglibc-patches-97053bc58d693b5d8f2ba8d64e680c4860bdee1e.tar.gz
glibc-patches-97053bc58d693b5d8f2ba8d64e680c4860bdee1e.tar.bz2
glibc-patches-97053bc58d693b5d8f2ba8d64e680c4860bdee1e.zip
Add some systemd love
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to '9999/0050-Enable-nss-systemd-in-nsswitch.conf.patch')
-rw-r--r--9999/0050-Enable-nss-systemd-in-nsswitch.conf.patch42
1 files changed, 42 insertions, 0 deletions
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?= <dilfridge@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 <dilfridge@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
+