[Buildroot] SSH server starts too late
omar18hammami at gmail.com
Tue Mar 3 12:33:58 UTC 2020
My problem is not resolved yet.
In fact, I have known that the libopenssl *1.1.1d* use getrandom function
in blocking mode.
So to disable this I have applied the modification below in
*crypto/rand/rand_unix.c* . But my problem is not resolved. In fact, my ssh
server starts too late (after ~2 minutes).
*# if defined(__linux) && defined(__NR_getrandom) *
* - return syscall(__NR_getrandom, buf, buflen, 0); *
* + return syscall(__NR_getrandom, buf, buflen, * *GRND_NONBLOCK* *);*
Did I miss something ?
In fact, I applied this modification because I saw that my ssh server
started only if the* nonblocking pool was initialized*.
Is it possible that "*OPENSSL_RAND_SEED_GETRANDOM"* is not defined ?
I am using the openssh version* 8.1p1*
Le ven. 21 févr. 2020 à 19:30, Hammami Omar <omar18hammami at gmail.com> a
> hello Grant,
> No, I have always the same "/var/ssh_host_rsa_key"
> The haveged script was started, I have very high value of entropy (2332)
> and the sshd process started too late.
> Le ven. 21 févr. 2020 à 19:10, Grant Edwards <grant.b.edwards at gmail.com>
> a écrit :
>> On 2020-02-21, Hammami Omar <omar18hammami at gmail.com> wrote:
>> > By too late, I mean that my ssh server starts ~20 seconds later
>> > to the normal (Old buildroot version in my case).
>> Does it generate a new host key each time it starts?
>> Grant Edwards grant.b.edwards Yow! Is a tattoo real,
>> at a curb or a battleship?
>> gmail.com Or are we suffering in
>> buildroot mailing list
>> buildroot at busybox.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the buildroot