From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: Re: 'guix system vm' questions Date: Thu, 7 Jul 2016 18:26:13 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLC85-0006Tk-C6 for help-guix@gnu.org; Thu, 07 Jul 2016 12:26:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLC81-0006Lk-Cp for help-guix@gnu.org; Thu, 07 Jul 2016 12:26:21 -0400 Received: from mail-yw0-x22b.google.com ([2607:f8b0:4002:c05::22b]:34193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLC80-0006Kw-6a for help-guix@gnu.org; Thu, 07 Jul 2016 12:26:17 -0400 Received: by mail-yw0-x22b.google.com with SMTP id i12so18406116ywa.1 for ; Thu, 07 Jul 2016 09:26:14 -0700 (PDT) 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 > ... I don't follow this. Are you referring to the posts above? The idea was that replacing /dev/random with /dev/hwrng would do the trick, https://git.lysator.liu.se/lsh/lsh/blob/master/src/lsh-make-seed.c#L237 but I haven't actually tested it. I didn't get lsh to work with rngd-service because of the rngd-service would have to load before the lsh-activation-service, which is not the case. I there isn't enough entropy in /dev/random it starts it's lsh-make-seed script which doesn't query /dev/random anymore. This means that entropy added too late is like no entropy added at all. There is dropbear-service waiting for review, which works without rngd-service. If you find test the patch from guix-devel you have to replace the -net user flag in vm.scm with -net user,hostfwd=tcp::10022-:22. Just adding it after didn't work. I'll submit a patch soon to fix that, by using environment variables, so you can just source qemu-flags.sh. Cheers David