| Summary: | smart reads the host's /etc/passwd instead of the sysroot when creating a new rootfs | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Saul Wold <sgw> | ||||
| Component: | devtools / tool chain | Assignee: | Randy Witt <randy.e.witt> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher, tomw | ||||
| Version: | 1.5 | ||||||
| Target Milestone: | 1.8 M3 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||
| Attachments: |
|
||||||
|
Description
Saul Wold
2013-12-31 01:55:10 UTC
Created attachment 1702 [details]
smart failure to access correct /etc/passwd
This occurs if you fail to add RDEPENDS_${PN} = "base-passwd" to a recipe which then uses chown / install to change user/group ownership.
This appears to still happen in dizzy-12.0.0. However, in dizzy-12.0.1 it appears to have been fixed.
In dizzy-12.0.1 when using the attached recipe, the "install -o www-data -g www-data -d ${D}/foobar" fails as expected even when using a user that exists on the host.
I believe this was fixed with the series of patches at:
http://lists.openembedded.org/pipermail/openembedded-core/2014-November/099051.html
As mentioned this is fixed in 1.7.1. |