rajil
rajil
I tried building again with `make REPOS='Raspbian Foundation'` and this time it did build.
Which script generates the keys on the pi on firstboot? It seems the key generation is a bit random. I have another instance here where the only key in /etc/ssh...
Maybe the sleep time is not enough, ```ExecStart=/bin/sleep 15```
On an idle system i get 6 seconds, ``` # time ssh-keygen -A ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 real 0m6.646s user 0m6.630s sys 0m0.010s ``` Are...
I made two builds, - ```ExecStart=/bin/sleep 30``` produced rsa and dsa keys - ```ExecStart=/bin/sleep 8``` correctly produced all the keys So, shorter time is better.
Unfortunately, the new changes made it worse. I dont get a key generated on the RPI. ``` Environment=TERM=linux Type=oneshot ExecStartPre=/usr/bin/ssh-keygen -A ExecStart=/bin/sleep 10 ExecStartPost=/usr/sbin/service sshd restart StandardError=syslog RemainAfterExit=no ```
There were no files /var/run/system-*. I rebooted but did not get any keys. Here are photos i captured after the reboot. I suspect the disk check is causing them to...
I have no idea. This is a clean boot after dding the image. The dd should have wiped out the previous filesystem. It is surprising that the disk check has...
I rebooted again, and this time it generated the keys.
No, readonlyfs is disabled. I will continue to keep the fsck option.