View Issue Details

IDProjectCategoryView StatusLast Update
0003576BuildRootBuildrootpublic2019-01-17 17:37
ReporterKeller Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Versionfsimx6-V2.0 
Target Versionfsimx6-V2.1Fixed in Versionfsimx6-V2.1 
Summary0003576: Keys for ssh are computed even if rootfs is read-only
DescriptionWhen the board is started and no ssh keys are available, the script /etc/init.d/S50sshd computes new keys. This takes quite a while, but if the rootfs is read-only, saving these keys will fail, resulting in a similar long wait the next time booting.

Try to avoid these unnecessary delays. If the rootfs is read-only, we can skip key computation.
Steps To ReproduceInstall new rootfs, star with rootfs set to read-only. There are console messages reporting the key computation and also error messages that the keys could not be stored. Repeat boot process, the same messages will appear.

Now repeat boot process with rootfs set to read-write. The keys are computed and stored. Now every reboot will go fast because the keys are present, even if rootfs is set back to read-only.
Forum Link

Activities

There are no notes attached to this issue.