openwrt-packages/utils/rng-tools
Philip Prindeville 901ef617c7 rng-tools: start rngd early enough to actually be useful
lighttpd starts at priority 50, but promptly calls getrandom() on
initialization (li_rand_reseed() and li_rand_device_bytes() from
server_init()). If /dev/urandom (which getrandom() uses by default)
doesn't have sufficient entropy, this will block.

Since Openwrt runs the startup scripts serially, this can block
initialization indefinitely.  I've seen 15-20 minutes typically.

Seeding the pool early on can quickly built sufficient entropy to
complete booting without blocking.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-02-02 22:52:50 -07:00
..
files rng-tools: start rngd early enough to actually be useful 2017-02-02 22:52:50 -07:00
Makefile rng-tools: Fixup Makefile and initscript 2016-11-10 10:33:22 +01:00