Bug 7948

Summary: LSB images don't have sshd installed on the image
Product: [Build System, Metadata & Runtime] BSPs Reporter: Alexandru Georgescu <alexandru.c.georgescu>
Component: bsps-oe-coreAssignee: Chen Qi <Qi.Chen>
Status: RESOLVED FIXED QA Contact: Cristina Agurida <cristina-danielax.agurida>
Severity: major    
Priority: Undecided CC: liezhi.yang, Qi.Chen, richard.purdie, sgw
Version: 1.6   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alexandru Georgescu 2015-07-02 16:31:39 UTC
AB Link: http://autobuilder.yoctoproject.org/pub/releases/yocto-1.9_M1.rc1/machines/
poky:    18e902b2dc17746af453869bcc1fba4dbae7c94f


Steps to reproduce:
#1 Install the genericx86-lsb/core-iamge-sato-lsb image on NUC
#2 Make sure the NUC is on a DHCP network. Get the machine ip address.
#3 Try to ssh into it


Actual result:
No connection will be established, because no ssh service installed on the image. Please include it into the image.
Comment 1 Saul Wold 2015-07-03 01:31:08 UTC
Does this work with Qemu?

I tracked it down to what appears to be some changes in lsbinitscripts version of the /etc/init.d/functions.

This line is different between 9.61 and 9.63, have not had time yet to figure out exactly what's breaking.

strstr "$(cat /proc/cmdline)" "rc.debug" && set -x
Comment 2 Chen Qi 2015-07-08 07:29:08 UTC
odule: openembedded-core.git
Branch: master
Commit: 080a7fbd876274410107732f175037fcea4d53ca
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=080a7fbd876274410107732f175037fcea4d53ca

Author: Chen Qi <Qi.Chen@windriver.com>
Date:   Fri Jul  3 14:32:58 2015 +0800

lsbinitscripts: avoid exit 1 in functions script

If 'rc.debug' is not in kernel parameters, the functions script would
exit 1 which causes other init scripts that source it exit 1. This is
not what we want.

[YOCTO #7948]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>