From 23e749b62bb4c541d19cf3b79611d9d40cb215e1 Mon Sep 17 00:00:00 2001 From: "Anton D. Kachalov" Date: Thu, 4 Feb 2021 13:13:57 +0100 Subject: Enable Systemd NSS module to support DynamicUsers DynamicUsers flag in systemd service configuration file required to create, handle and recycle temporary users. This is essential module for upcoming daemons' privilege separation work. Reference: https://github.com/openbmc/openbmc/issues/3383 Signed-off-by: Anton D. Kachalov Change-Id: Iabd709c4a20f754fc6ea505e640b2d361aba0be2 --- meta-phosphor/recipes-core/base-files/base-files_%.bbappend | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-phosphor/recipes-core/base-files/base-files_%.bbappend') diff --git a/meta-phosphor/recipes-core/base-files/base-files_%.bbappend b/meta-phosphor/recipes-core/base-files/base-files_%.bbappend index b6c4222b2..30e562325 100644 --- a/meta-phosphor/recipes-core/base-files/base-files_%.bbappend +++ b/meta-phosphor/recipes-core/base-files/base-files_%.bbappend @@ -10,6 +10,8 @@ SRC_URI += " \ " do_install_append() { + sed -i 's/\(\(passwd\|group\):\s*\).*/\1files systemd/' \ + "${D}${sysconfdir}/nsswitch.conf" install -d ${D}/srv -- cgit v1.2.3