Fatal glibc error: cannot get entropy for arc4random
Arkadiusz Miśkiewicz
arekm at maven.pl
Fri Jul 19 20:00:30 CEST 2024
On 19/07/2024 12:48, Elan Ruusamäe wrote:
> openssh is unable startup
>
> # service sshd restart
> Fatal glibc error: cannot get entropy for arc4random
> Aborted
>
> # rpm -q glibc openssh-server
> glibc-2.39-6-th.x86_64
> openssh-server-9.8p1-1-th.x86_64
>
> # uname -r
> 3.13.0-32-generic
>
> from quick internet search 3.15 kernel is needed? but not specified
> in .spec?
Hm, why 3.15?
Looking at the arc4random code it fallbacks to /dev/random and
/dev/urandom if syscall is not available (getrandom syscall was
introduced in 3.17).
Maybe sshd is not allowing access to these at that point?
strace could tell us something.
--
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )
More information about the pld-devel-en
mailing list