[Top][All Lists]

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

Re: 'guix system vm' questions

From: myglc2
Subject: Re: 'guix system vm' questions
Date: Wed, 06 Jul 2016 12:17:29 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

David Craven <address@hidden> writes:

>> From: myglc2 <address@hidden>
>> David Craven <address@hidden> writes:
>>> 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?
>>> 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/ -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.
>>>>> We should look into QEMU's VirtIO RNG, which could help here:
>> This sounds great. I see you submitted patches. Am I correct in thinking
>> that the next step is to add an lsh-option option that uses rmg-tools
>> instead of lsh-make-seed to set the yarrow seed?
> @myglc2 the simplest workaround to this issue is to add -device
> virtio-rng-pci to your qemu flags ...

Thanks, that works but ...

> ... and patch lsh to use /dev/hwrng in the /bin/lsh-make-seed file I
> linked to in a previous reply.

... I don't follow this. Are you referring to the posts above?

I have your "b58cbf9 * services: Add rngd-service."  patch. Is the idea
to add entropy so we don't need to bang on the keyboard? Or is an
additional patch required/in the pipeline/a self help item?

Thanks - George

reply via email to

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