bug#23838: Guix on Debian 8.3 'guix system vm ...' -> "ERROR: qemu failed "qemu-system-x86_64"

2016-06-26 Thread Ludovic Courtès
myglc2 skribis: > ... but maybe the manual should say this ... > > # 2.4.1 Build Environment Setup > # - > # [...] > # On a GNU/Linux system, a build user pool may be created like this > # (using Bash syntax and the ‘shadow’ commands): > # > #

bug#23838: Guix on Debian 8.3 'guix system vm ...' -> "ERROR: qemu failed "qemu-system-x86_64"

2016-06-24 Thread myglc2
myglc2 writes: > l...@gnu.org (Ludovic Courtès) writes: >> >> Usually, /dev/kvm is has “kvm” as its group and is group-writable. So >> all you need is to add the guixbuild* users to the “kvm” group. > > Thank you, so I did this ... > > adduser guixbuilder1 kvm ... > > ...

bug#23838: Guix on Debian 8.3 'guix system vm ...' -> "ERROR: qemu failed "qemu-system-x86_64"

2016-06-24 Thread myglc2
l...@gnu.org (Ludovic Courtès) writes: > > Usually, /dev/kvm is has “kvm” as its group and is group-writable. So > all you need is to add the guixbuild* users to the “kvm” group. Thank you, it does. > The manual mentions this pitfall (info "(guix) Invoking guix system") > but I guess it’s

bug#23838: Guix on Debian 8.3 'guix system vm ...' -> "ERROR: qemu failed "qemu-system-x86_64"

2016-06-24 Thread Ludovic Courtès
Hi! myglc2 skribis: > The following derivations will be built: >/gnu/store/jz6mlhlz7f5sp4g93spac69bxfjpjbqg-run-vm.sh.drv >/gnu/store/5f6zfsx0fa0bzkl4ynqb1lf5pk3m4rfs-qemu-image.drv > warning: failed to install locale: Invalid argument > building path(s)

bug#23838: Guix on Debian 8.3 'guix system vm ...' -> "ERROR: qemu failed "qemu-system-x86_64"

2016-06-24 Thread Leo Famulari
On Fri, Jun 24, 2016 at 09:53:12AM -0400, myglc2 wrote: > g1@e3b:~/dev/vms$ guix system vm ../configs/c01system.scm --expose=$HOME > --share=$HOME/tmp=/exchange --verbosity=1 [...] > Could not access KVM kernel module: Permission denied > failed to initialize KVM: Permission denied On Debian,

bug#23838: Guix on Debian 8.3 'guix system vm ...' -> "ERROR: qemu failed "qemu-system-x86_64"

2016-06-24 Thread myglc2
Apologies in advance if I missed a required step & this is operator error as it is my first attempt to use QEMU/Debian. Running Guix on Debian 8.3, I set up qemu like this ... su apt-get update apt-get upgrade apt-get install qemu apt-get install qemu-kvm apt-get install libvirt-bin adduser g1