| Summary: | core-image-minimal now contains shadow | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Paul Eggleton <bluelightning> |
| Component: | core | Assignee: | Saul Wold <sgw> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | alexandrux.palalau, bluelightning, laurentiu.palcu, meta.mr.watcher, meta.watcher, Qi.Chen, richard.purdie |
| Version: | 1.5 | ||
| Target Milestone: | 1.5 M5 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | Regression (Used to work) |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Paul Eggleton
2013-09-18 15:02:02 UTC
A recent change to sysvinit inherited useradd, which caused the core-image-minimal image to gain about 1.2M with the shadow based tools. Since we now have a split busybox (with setuid), it has all the functionalify of shadow, so depend on that by default, if shadow is included in an image then the update-alternatives will kick in and override the busybox utilities. Dug into this a little deeper today and it's getting interesting! So simply changing the RDEPENDS to busybox causes other breakage, I think because the rootfs is missing some required file that the name groupadd needs to operate correctly, but I also realized that systemd provides halt and shutdown also. So began wonder if we should not have the shutdown group simply be part of the core base-files for oe-core that would remove the useradd from sysvinit, but we will still have useradd in systemd for log and systemd-journal groups. To Add shutdown group http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5f9ee672a0c187fab6f0a60237796808457e6569 and Remove the useradd from sysvinit http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e0a351b9131918d0ee7ade4c02f4e012a69dc837 Verified on master branch. Commit ID: 2b5bac02196b8bd30d223d508f5f7d4300889fd7 |