Bug 424 - /bin/sh can't ccess tty: job control turned off
Summary: /bin/sh can't ccess tty: job control turned off
Status: VERIFIED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 0.9
Hardware: All Multiple
: High critical
Target Milestone: 0.9 M4
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-10-10 22:33 UTC by Jiajun Xu
Modified: 2010-12-21 06:07 UTC (History)
11 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified: Program Management
Documentation change: ---


Attachments
all images boot failure (60.37 KB, image/jpeg)
2010-10-10 22:33 UTC, Jiajun Xu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.