]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
systemd: fix wrong nobody-group assignment
authorPiotr Łobacz <p.lobacz@welotec.com>
Tue, 14 Mar 2023 14:17:50 +0000 (15:17 +0100)
committerSteve Sakoman <steve@sakoman.com>
Tue, 21 Mar 2023 16:55:30 +0000 (06:55 -1000)
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

Signed-off-by: Piotr Łobacz <p.lobacz@welotec.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d69fccf2e5d108dd7c6059310924588d36a45865)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/systemd/systemd_251.8.bb

index 3c87e71485f51024c457c983f9a19e77a44d2c2c..991da0736832c355dda3e8debf2871134b2f4ec8 100644 (file)
@@ -217,7 +217,7 @@ rootlibdir ?= "${base_libdir}"
 rootlibexecdir = "${rootprefix}/lib"
 
 EXTRA_OEMESON += "-Dnobody-user=nobody \
-                  -Dnobody-group=nobody \
+                  -Dnobody-group=nogroup \
                   -Drootlibdir=${rootlibdir} \
                   -Drootprefix=${rootprefix} \
                   -Ddefault-locale=C \