Patchwork shadow: fix building systemd with useradd-staticids.bbclass enabled

login
register
mail settings
Submitter Andreas Müller
Date April 10, 2014, 6:07 p.m.
Message ID <1397153268-24491-1-git-send-email-schnitzeltony@googlemail.com>
Download mbox | patch
Permalink /patch/70477/
State New
Headers show

Comments

Andreas Müller - April 10, 2014, 6:07 p.m.
| groupadd: 'systemd-journal-gateway' is not a valid group name

Without useradd-staticids enabled, group 'systemd-journal-gateway' is created
by useradd and that seems not to care for GROUP_NAME_MAX_LENGTH which has 16 by
default.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 meta/recipes-extended/shadow/shadow.inc | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc
index d6bf73b..a4e9634 100644
--- a/meta/recipes-extended/shadow/shadow.inc
+++ b/meta/recipes-extended/shadow/shadow.inc
@@ -60,6 +60,7 @@  inherit autotools gettext
 EXTRA_OECONF += "--without-audit \
                  --without-libcrack \
                  --without-selinux \
+                 --with-group-name-max-length=24 \
                  ${NSCDOPT}"
 
 NSCDOPT = ""