lighttpd: do not block on getrandom syscall
Sometimes the nonblocking entropy pool is not initialized soon enough,
causing the getrandom
syscall to block even if it is using the urandom
pool.
The patch makes the getrandom
fail immediately and fall back to other
methods. This means using /dev/urandom
char device, which should have
enough entropy (even though the kernel thinks otherwise) thanks to
the urandom feeding from ATSHA204 in /etc/init.d/boot
Please review this in the whole context of lighttpd's rand.c
.
Needs feeds update in main repo after review and merging.