Bug 9943 - userdel_sysroot_sstate() deletes only first user/group
Summary: userdel_sysroot_sstate() deletes only first user/group
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: deployment (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.2 M3
Assignee: Mariano Lopez
QA Contact: David Rodriguez
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-07-14 20:28 UTC by Joe Slater
Modified: 2016-08-19 15:30 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Slater 2016-07-14 20:28:45 UTC
Preconditions/Environment
-------------------------
Configure a project in which you can build systemd.

Triggering Action/Cause
-----------------------
bitbake systemd
bitbake systemd -c cleansstate

Expectation
-----------
The groups in tmp/sysroots/<target>/etc/groups created when systemd was built should be gone.

Actual Result
-------------
Some of them, like systemd-journal, are still there.

Reproducibility
---------------
1/1

Cause?
------
userdel_sysroot_sstate() does not loop.
Comment 1 Mariano Lopez 2016-07-25 21:40:01 UTC
Indeed, the problem is that userdel_sysroot_sstate() doesn't loop.

Sent patch to the mailing list:

http://lists.openembedded.org/pipermail/openembedded-core/2016-July/124271.html
Comment 2 Mariano Lopez 2016-08-01 12:39:31 UTC
This bug has been solved with commit:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=be68ef5129b787978a0e540eb58427b32bd67ce3
Comment 3 David Rodriguez 2016-08-19 15:30:58 UTC
Verified on Master, Genericx86 and Genericx86-64.