View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003576 | BuildRoot | Buildroot | public | 2019-01-17 17:34 | 2019-01-17 17:37 |
Reporter | Keller | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | fsimx6-V2.0 | ||||
Target Version | fsimx6-V2.1 | Fixed in Version | fsimx6-V2.1 | ||
Summary | 0003576: Keys for ssh are computed even if rootfs is read-only | ||||
Description | When 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 Reproduce | Install 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 | |||||