| Summary: | lsb start_daemon is broken | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Richard Tollerton <rich.tollerton> |
| Component: | deployment | Assignee: | Alex Franco <alejandro.franco> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | anibal.limon, benjamin.esquivel, sgw |
| Version: | unspecified | ||
| Target Milestone: | 2.0 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Richard Tollerton
2015-05-07 22:22:19 UTC
Reproducing Building a base image such as core-image-minimal with lsb and then attempting to source /lib/lsb/init-functions, then using the start_daemon function (to start a daemon, such as syslogd) fails, since /lib/lsb/init-functions use functions (incl. "daemon()") from file /etc/init.d/functions.lsbinitscripts, which is provided by package lsbinitscripts. Running daemon() then calls /usr/bin/mountpoint, a binary provided by util-linux. So, both of these dependencies have been added to: recipes-extended/lsb/lsb_4.1.bb These changes did not lead to a segfault on boot in my test case. Change now in contrib: http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/?h=franco%2FYOCTO7732-lsb Patch sent to mailing list Still waiting review/integration Patch waiting for merge/review: http://lists.openembedded.org/pipermail/openembedded-core/2015-September/110295.html Merged, see http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=249b810501f69390e8074368009a1114dbfcfaff Closing this bug |