diff options
| author | Philip Prindeville <philipp@redfish-solutions.com> | 2017-02-02 21:56:35 -0700 |
|---|---|---|
| committer | Philip Prindeville <philipp@redfish-solutions.com> | 2017-02-02 22:52:50 -0700 |
| commit | 901ef617c7c913e94cfa88a5427d4a5511129fc8 (patch) | |
| tree | 6981efaca5fe1216fa0df978e7e9bbdccc3005be /lang/python/python3/files/python3-package-distutils.mk | |
| parent | 3849b5b6d8acc55d8857ccfccb34012747518f2a (diff) | |
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>
Diffstat (limited to 'lang/python/python3/files/python3-package-distutils.mk')
0 files changed, 0 insertions, 0 deletions
