From mboxrd@z Thu Jan 1 00:00:00 1970 From: myglc2 Subject: bug#23838: Guix on Debian 8.3 'guix system vm ...' -> "ERROR: qemu failed "qemu-system-x86_64" Date: Fri, 24 Jun 2016 15:34:32 -0400 Message-ID: <86ziqanzxz.fsf@gmail.com> References: <86lh1ur8vr.fsf@gmail.com> <87k2he37pa.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGWuY-0005Rf-LH for bug-guix@gnu.org; Fri, 24 Jun 2016 15:37:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGWuU-0005Kh-EY for bug-guix@gnu.org; Fri, 24 Jun 2016 15:37:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:42307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGWuU-0005Kb-BG for bug-guix@gnu.org; Fri, 24 Jun 2016 15:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bGWuU-0005Y1-3r for bug-guix@gnu.org; Fri, 24 Jun 2016 15:37:02 -0400 In-Reply-To: <86lh1ur8vr.fsf@gmail.com> Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGWu5-0005RO-Cb for bug-guix@gnu.org; Fri, 24 Jun 2016 15:36:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGWu1-0005I5-4I for bug-guix@gnu.org; Fri, 24 Jun 2016 15:36:36 -0400 Received: from plane.gmane.org ([80.91.229.3]:59363) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGWu0-0005Hz-Tg for bug-guix@gnu.org; Fri, 24 Jun 2016 15:36:33 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bGWtz-0001FM-ID for bug-guix@gnu.org; Fri, 24 Jun 2016 21:36:31 +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 ; Fri, 24 Jun 2016 21:36:31 +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 ; Fri, 24 Jun 2016 21:36:31 +0200 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 23838@debbugs.gnu.org ludo@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 easily missed. Thank you, so I did this ... adduser guixbuilder1 kvm adduser guixbuilder2 kvm adduser guixbuilder3 kvm adduser guixbuilder4 kvm adduser guixbuilder5 kvm adduser guixbuilder6 kvm adduser guixbuilder7 kvm adduser guixbuilder8 kvm ... 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): # # # groupadd --system guixbuild # # for i in `seq -w 1 10`; # do # useradd -g guixbuild -G guixbuild,kvm \ # -d /var/empty -s `which nologin` \ # -c "Guix build user $i" --system \ # guixbuilder$i; # done ... anyway, now I get ... g1@e3b:~/dev/vms$ guix system vm ../configs/c01system.scm --expose=$HOME --share=$HOME/tmp=/exchange --verbosity=1 substitute: warning: failed to install locale: Invalid argument /gnu/store/7rv558c43bwnmmkc85izv1b69ards5qy-run-vm.sh g1@e3b:~/dev/vms$ /gnu/store/7rv558c43bwnmmkc85izv1b69ards5qy-run-vm.sh qemu-system-x86_64: -virtfs local,path=/home/g1/tmp,security_model=none,mount_tag=TAG_home_g1_tmp: 9pfs Failed to initialize fs-driver with id:TAG_home_g1_tmp and export path:/home/g1/tmp g1@e3b:~/dev/vms$ TIA, George