From 0ce97636c9f10ed78d3c9280e1e1b3fc49833c7c Mon Sep 17 00:00:00 2001
From: Piotr Łobacz
Date: Tue, 14 Mar 2023 15:17:50 +0100
Subject: systemd: fix wrong nobody-group assignment
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The generated /etc/group file had a wrong group name for nobody-group
which was nobody with same id as nogroup groupd. This was leading to
duplcate groups, with same ids and different names.
More can be read on this link:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=11766
(From OE-Core rev: 0928857e4aaa524f36e028d4fe0cc48cc4d40148)
Signed-off-by: Piotr Łobacz
Signed-off-by: Alexandre Belloni
Signed-off-by: Richard Purdie
(cherry picked from commit d69fccf2e5d108dd7c6059310924588d36a45865)
Signed-off-by: Steve Sakoman
Signed-off-by: Richard Purdie
---
meta/recipes-core/systemd/systemd_244.5.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'meta/recipes-core/systemd/systemd_244.5.bb')
diff --git a/meta/recipes-core/systemd/systemd_244.5.bb b/meta/recipes-core/systemd/systemd_244.5.bb
index 98a580e2ea..8dd59f7636 100644
--- a/meta/recipes-core/systemd/systemd_244.5.bb
+++ b/meta/recipes-core/systemd/systemd_244.5.bb
@@ -215,7 +215,7 @@ rootlibexecdir = "${rootprefix}/lib"
EXTRA_OEMESON += "-Dlink-udev-shared=false"
EXTRA_OEMESON += "-Dnobody-user=nobody \
- -Dnobody-group=nobody \
+ -Dnobody-group=nogroup \
-Drootlibdir=${rootlibdir} \
-Drootprefix=${rootprefix} \
-Ddefault-locale=C \
--
cgit v1.2.3-54-g00ecf