* Custom group logic broken since 032be24
@ 2023-07-26 3:10 MOESSBAUER, Felix
0 siblings, 0 replies; only message in thread
From: MOESSBAUER, Felix @ 2023-07-26 3:10 UTC (permalink / raw)
To: isar-users; +Cc: Schaffner, Tobias
Hi,
when using custom user groups the do_rootfs_postprocess task fails,
because the groups are not correctly expanded. This error has been
introduced in 032be24. I don't know why the CI did not catch it.
Reproducer:
local.conf
GROUPS += "plugdev render"
GROUP_plugdev[flags] += "system"
GROUP_render[flags] += "system"
USERS += "industrial"
USER_industrial[uid] = "1000"
USER_industrial[shell] = "/bin/bash"
USER_industrial[flags] += "create-home"
USER_industrial[groups] += "plugdev render"
log.do_rootfs_postprocess:
<redacted> do_rootfs_postprocess: ExecutionError(['sudo', '-E',
'chroot', '/build/tmp/work/<redacted>/img-<redacted>/1.0-r0/rootfs',
'/usr/sbin/usermod', '--uid', '1000', '--shell', '/bin/bash', '--
groups', ',plugdev,render', 'industrial'], 6, '', "usermod: group ''
does not exist\n")
Best regards,
Felix
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-26 3:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-26 3:10 Custom group logic broken since 032be24 MOESSBAUER, Felix
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox