[OE-core] [PATCH] sysvinit: Fix bootlogd startup

Gary Thomas gary at mlbassoc.com
Thu Feb 26 12:27:05 UTC 2015


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>
---
 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
-- 
1.9.1




More information about the Openembedded-core mailing list