Bug 4395 - [FRI2] ssh keys cannot be loaded
Summary: [FRI2] ssh keys cannot be loaded
Status: VERIFIED WORKSFORME
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.4
Hardware: FRI2 Multiple
: Medium normal
Target Milestone: 1.5
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-04-23 08:39 UTC by Alexandru Palalau
Modified: 2013-09-25 06:41 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandru Palalau 2013-04-23 08:39:35 UTC
sshd fails to start on the FRI2 due to the fact that the RSA keys cannot be loaded.
Removing the ssh_host_dsa_key, ssh_host_rsa_key and ssh_host_ecdsa_key and regenerating them at sshd start starts the ssh service.

Branch: dylan
Commit ID: 789b2b7e0cca404ff8ba8ed5ba823d215e6ba5b4
Meta intel Commit ID: 76f70c337e5daa9593153dfdf5107aec08610a44
Comment 1 Darren Hart 2013-04-23 14:16:37 UTC
Surely this is not BSP specific?
Comment 2 Alexandru Palalau 2013-04-23 15:05:53 UTC
It was only encountered on the FRI2 until now.
Other BSPs that I've tested on this test run (NUC) did not show this behavior
Comment 3 Darren Hart 2013-04-24 03:01:18 UTC
I just booted my FRI2 today using a minimal and sato image created using mkefidisk.sh from the respective hddimg and both start ssh successfully. Please provide a complete description of how you are creating the image and how you are booting it.
Comment 4 Darren Hart 2013-04-24 03:01:27 UTC
.
Comment 5 Alexandru Palalau 2013-04-24 08:41:38 UTC
This was reproduced with an autobuilder image:
http://autobuilder03.jf.intel.com/pub/nightly-meta-intel/20130418-2/machines/fri2/core-image-sato-sdk-fri2.hddimg

dd on USB stick and install on the FRI2.
Comment 6 Saul Wold 2013-04-26 20:44:38 UTC
Ok, I tested with the image listed below along with my own generated image both using the HDD Image boot direct from USB stick, no issues with sshd starting and running on either of my images.

Can you please verify your setup and if needed send more details about this.
Comment 7 Alexandru Palalau 2013-04-30 09:19:28 UTC
Checked it with the same image on another FRI2 with Fast Boot and everything works fine.
Comment 8 Saul Wold 2013-05-16 13:02:44 UTC
Alex confirmed!
Comment 9 Alexandru Palalau 2013-09-25 06:41:05 UTC
Switching to verified as per last comments.
The behavior was not again encountered.