Re: 'guix system vm' questions

2016-07-11 Thread Leo Famulari
On Wed, Jun 29, 2016 at 11:48:42AM -0400, Leo Famulari wrote: > How does OpenSSH get entropy without blocking on first boot? According to 'INSTALL' in the OpenSSH source code, OpenSSH gets random numbers from the "libcrypto" backup, which for us is OpenSSL, which uses /dev/urandom.

Re: 'guix system vm' questions

2016-07-07 Thread David Craven
> ... 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 becau

Re: 'guix system vm' questions

2016-07-06 Thread myglc2
David Craven writes: [...] >> >> From: myglc2 >> >> 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.

Re: 'guix system vm' questions

2016-07-03 Thread David Craven
aging the list at > help-guix-ow...@gnu.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Help-Guix digest..." > > > Today's Topics: > >1. Re: &#x

Re: 'guix system vm' questions

2016-07-03 Thread myglc2
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

Re: 'guix system vm' questions

2016-07-03 Thread myglc2
l...@gnu.org (Ludovic Courtès) writes: > myglc2 skribis: > >> Leo Famulari writes: >> >>> On Wed, Jun 29, 2016 at 10:10:35AM -0400, Thompson, David wrote: On Wed, Jun 29, 2016 at 2:57 AM, myglc2 wrote: > I have a headless server running Guix/Debian 8.3 on which I would like > to

Re: 'guix system vm' questions

2016-07-02 Thread Ludovic Courtès
myglc2 skribis: > Leo Famulari writes: > >> On Wed, Jun 29, 2016 at 10:10:35AM -0400, Thompson, David wrote: >>> On Wed, Jun 29, 2016 at 2:57 AM, myglc2 wrote: >>> > I have a headless server running Guix/Debian 8.3 on which I would like >>> > to run some guix vms. So far, I have a script (see m

Re: 'guix system vm' questions

2016-07-01 Thread myglc2
Leo Famulari writes: > On Wed, Jun 29, 2016 at 10:10:35AM -0400, Thompson, David wrote: >> On Wed, Jun 29, 2016 at 2:57 AM, myglc2 wrote: >> > I have a headless server running Guix/Debian 8.3 on which I would like >> > to run some guix vms. So far, I have a script (see mkvm.sh, attached) >> > th

Re: 'guix system vm' questions

2016-06-30 Thread myglc2
"Thompson, David" writes: > On Wed, Jun 29, 2016 at 2:57 AM, myglc2 wrote: >> I have a headless server running Guix/Debian 8.3 on which I would like >> to run some guix vms. So far, I have a script (see mkvm.sh, attached) >> that runs a single vm. It has some issues: [...] > What is the QEMU c

Re: 'guix system vm' questions

2016-06-30 Thread David Craven
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, Davi

Re: 'guix system vm' questions

2016-06-29 Thread David Craven
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 an

Re: 'guix system vm' questions

2016-06-29 Thread Leo Famulari
On Wed, Jun 29, 2016 at 10:10:35AM -0400, Thompson, David wrote: > On Wed, Jun 29, 2016 at 2:57 AM, myglc2 wrote: > > I have a headless server running Guix/Debian 8.3 on which I would like > > to run some guix vms. So far, I have a script (see mkvm.sh, attached) > > that runs a single vm. It has s

Re: 'guix system vm' questions

2016-06-29 Thread Thompson, David
On Wed, Jun 29, 2016 at 2:57 AM, myglc2 wrote: > I have a headless server running Guix/Debian 8.3 on which I would like > to run some guix vms. So far, I have a script (see mkvm.sh, attached) > that runs a single vm. It has some issues: > > 1) lsh-service hangs waiting for keystrokes on the QEMU c

'guix system vm' questions

2016-06-29 Thread myglc2
I have a headless server running Guix/Debian 8.3 on which I would like to run some guix vms. So far, I have a script (see mkvm.sh, attached) that runs a single vm. It has some issues: 1) lsh-service hangs waiting for keystrokes on the QEMU console 2) passwords need to be set in the QEMU console