From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#23838: Guix on Debian 8.3 'guix system vm ...' -> "ERROR: qemu failed "qemu-system-x86_64" Date: Fri, 24 Jun 2016 17:52:33 +0200 Message-ID: <87k2he37pa.fsf@gnu.org> References: <86lh1ur8vr.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGTPm-0005VB-Lo for bug-guix@gnu.org; Fri, 24 Jun 2016 11:53:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGTPi-0004kC-B2 for bug-guix@gnu.org; Fri, 24 Jun 2016 11:53:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:42178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGTPi-0004k8-7X for bug-guix@gnu.org; Fri, 24 Jun 2016 11:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bGTPi-0006o0-35 for bug-guix@gnu.org; Fri, 24 Jun 2016 11:53:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <86lh1ur8vr.fsf@gmail.com> (myglc2@gmail.com's message of "Fri, 24 Jun 2016 09:53:12 -0400") 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: myglc2 Cc: 23838@debbugs.gnu.org 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) `/gnu/store/nbppjjb2kkb17nr8jqas7hchkg669nv9-qemu-image' > Formatting 'image.qcow2', fmt=3Dqcow2 size=3D31457280 encryption=3Doff cl= uster_size=3D65536 lazy_refcounts=3Doff refcount_bits=3D16 > Could not access KVM kernel module: Permission denied > failed to initialize KVM: Permission denied Please make sure the guixbuild* user accounts have write permission for /dev/kvm. Usually, /dev/kvm is has =E2=80=9Ckvm=E2=80=9D as its group and is group-wr= itable. So all you need is to add the guixbuild* users to the =E2=80=9Ckvm=E2=80=9D gr= oup. The manual mentions this pitfall (info "(guix) Invoking guix system") but I guess it=E2=80=99s easily missed. Thanks, Ludo=E2=80=99.