Bug 424

Summary: /bin/sh can't ccess tty: job control turned off
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Jiajun Xu <jiajun.xu>
Component: meta-yoctoAssignee: Saul Wold <sgw>
Status: VERIFIED FIXED QA Contact:
Severity: critical    
Priority: High CC: edwin.zhai, jessica.zhang, ke.yu, kevin.tian, kunwei.tian, poky.bs.watcher, poky.watcher, qing.he, richard.purdie, sgw, xianchao.zhang
Version: 0.9   
Target Milestone: 0.9 M4   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---
Attachments:
Description Flags
all images boot failure none

Description Jiajun Xu 2010-10-10 22:33:13 UTC
Created attachment 54 [details]
all images boot failure

Testing Env:    
Images from milestone build (20101010) on autobuilder,
http://autobuilder.pokylinux.org/milestone/20101010-1/.
poky commit info: b9728f63c676e217efcf93c40ded2c3fad19d52c from poky master
tree

The qemux86/qemux86-64 images from autobuilder for M4 can not boot into X window. Some commands can not work, like poweroff.
Comment 1 Ke Yu 2010-10-10 22:49:39 UTC
Edwin will do investigation first, to see which component likely cause this issue.
Comment 2 Edwin Zhai 2010-10-11 00:18:56 UTC
Have tried the bogus image, but found no clear clue. The dmesg, /dev/* and /etc/* seems all fine, but the /bin/sh can't execute.
Comment 3 Qing He 2010-10-11 02:37:28 UTC
/sbin/init is missing, so kernel loads /bin/sh directly and reporting the error message.

If things go normal, /sbin/init.sysvinit should be symbolically linked as /sbin/init at rootfs time (i.e. before the first boot), but this is not the case in this image.

This task should be performed by sysvinit-postinst (at do_rootfs_rpm), but it's not
Comment 5 Jiajun Xu 2010-10-11 23:06:10 UTC
Verified with 20101011 build, the bug is fixed.