[OE-core] [PATCH] sysvinit: Fix bootlogd startup
Gary Thomas
gary at mlbassoc.com
Thu Feb 26 20:41:50 UTC 2015
On 2015-02-26 05:27, Gary Thomas wrote:
> The bootlogd program currently does not start correctly. This
> is because it is being started at S07, but the program requires
> access to /dev/pts which is normally started at S38. This yields
> an error like:
> bootlogd: cannot allocate pseudo tty: No such file or directory
>
> Starting bootlogd at S39 fixes this.
>
> n.b. Moving the creation of /dev/pts to S06 in the initscripts
> package is an alternative solution.
>
> Signed-off-by: Gary Thomas <gary at mlbassoc.com>
Never mind. This issue only occurs when booting a kernel which does not
implement legacy PTY devices. If your kernel supports legacy PTY devices,
the bootlogd works as currently configured (S07)
> ---
> meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
> index 00d3333..c740bf3 100644
> --- a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
> +++ b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
> @@ -91,7 +91,7 @@ do_install () {
> install -m 0755 ${WORKDIR}/bootlogd.init ${D}${sysconfdir}/init.d/bootlogd
> ln -sf bootlogd ${D}${sysconfdir}/init.d/stop-bootlogd
>
> - update-rc.d -r ${D} bootlogd start 07 S .
> + update-rc.d -r ${D} bootlogd start 39 S .
> update-rc.d -r ${D} stop-bootlogd start 99 2 3 4 5 .
>
> install -d ${D}${sysconfdir}/default/volatiles
>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the Openembedded-core
mailing list