From 97053bc58d693b5d8f2ba8d64e680c4860bdee1e Mon Sep 17 00:00:00 2001 From: "Andreas K. Hüttel" Date: Sat, 27 Feb 2021 18:51:10 +0100 Subject: Add some systemd love 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 | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 9999/0050-Enable-nss-systemd-in-nsswitch.conf.patch (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 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?= +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 +--- + 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 + -- cgit v1.2.3-65-gdbad