So I packaged rng-tools and created a shepherd service, but I realized that the service needs to be started before the activation part of the lsh service. What's the best way to do this?
https://git.lysator.liu.se/lsh/lsh/blob/master/src/lsh-make-seed.c#L1075 On Wed, Jun 29, 2016 at 8:23 PM, David Craven <[email protected]> wrote: > HW_RANDOM_VIRTIO is enabled in the default kernel. > > Starting the vm like this enables the hwrng: > /gnu/store/3rqbwx34kfa789jbywfbxl90nids08cf-run-vm.sh -device virtio-rng-pci > and it works as can be verified by > cat /dev/hwrng > > The only missing components from what I can tell is packaging rng-tools > and adding a service to add /dev/hwrng to the entropy pool on boot. > > https://git.kernel.org/cgit/utils/kernel/rng-tools/rng-tools.git/ > >> We should look into QEMU's VirtIO RNG, which could help here: >> http://wiki.qemu-project.org/Features-Done/VirtIORNG
