Eu tive um problema semelhante recentemente após atualizar para o Debian 9. Alguns dos programas que dependem de números aleatórios tiveram suas rotinas de código fonte / gerador aleatório alteradas nas versões recentes do Linux que os tornam mais dependentes da entropia do sistema.
Instalar o daemon haveged parece fornecer um conjunto consistente de números aleatórios. Então faça:
sudo apt-get install haveged
O daemon haveged agora é exigido por programas diferentes que exigem entropia, especialmente em VMs e iOTs (por exemplo, framboesa, outros), em que a entropia é normalmente baixa.
De man haveged :
NAME
haveged- Generate random numbers and feed Linux's random device.DESCRIPTION
havegedgenerates an unpredictable stream of random numbers harvested from the indirect effects of hardware events on hidden processor state (caches, branch predictors, memory translation tables, etc) using the HAVEGE (HArdware Volatile Entropy Gathering and Expansion) algorithm. The algorithm operates in user space, no special privilege is required for file system access to the output stream.Linux pools randomness for distribution by the
/dev/randomand/dev/urandomdevice interfaces. The standard mechanisms of filling the/dev/randompool may not be sufficient to meet demand on systems with high needs or limited user interaction. In those circumstances,havegedmay be run as a privileged daemon to fill the/dev/randompool whenever the supply of random bits in/dev/randomfalls below the low water mark of the device.