help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'guix system vm' questions


From: David Craven
Subject: Re: 'guix system vm' questions
Date: Thu, 30 Jun 2016 15:10:45 +0200

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 <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]