From mboxrd@z Thu Jan 1 00:00:00 1970 From: myglc2 Subject: Re: 'guix system vm' questions Date: Sun, 03 Jul 2016 09:53:28 -0400 Message-ID: <86inwm6d5z.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJhsA-0005Wp-0F for help-guix@gnu.org; Sun, 03 Jul 2016 09:55:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJhs4-0008Fl-Vb for help-guix@gnu.org; Sun, 03 Jul 2016 09:55:44 -0400 Received: from plane.gmane.org ([80.91.229.3]:60441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJhs4-0008Fh-OF for help-guix@gnu.org; Sun, 03 Jul 2016 09:55:40 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bJhs3-0007qS-GD for help-guix@gnu.org; Sun, 03 Jul 2016 15:55:39 +0200 Received: from c-73-167-118-254.hsd1.ma.comcast.net ([73.167.118.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jul 2016 15:55:39 +0200 Received: from myglc2 by c-73-167-118-254.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jul 2016 15:55:39 +0200 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org David Craven 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? > > 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 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 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? TIA - George