From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:34933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1glec7-0006TA-9i for guix-patches@gnu.org; Mon, 21 Jan 2019 13:48:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1glec6-0000dp-CW for guix-patches@gnu.org; Mon, 21 Jan 2019 13:48:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41160) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1glec6-0000di-8L for guix-patches@gnu.org; Mon, 21 Jan 2019 13:48:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1glec5-00050t-UW for guix-patches@gnu.org; Mon, 21 Jan 2019 13:48:01 -0500 Subject: [bug#34161] [PATCH] doc: clarify build users must be in kvm group Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:34564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gleaw-0005ZP-5z for guix-patches@gnu.org; Mon, 21 Jan 2019 13:46:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gleav-0008Ur-6N for guix-patches@gnu.org; Mon, 21 Jan 2019 13:46:50 -0500 Received: from ns13.heimat.it ([46.4.214.66]:55050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gleau-0008Tw-Qh for guix-patches@gnu.org; Mon, 21 Jan 2019 13:46:49 -0500 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id EBD5F300FA3 for ; Mon, 21 Jan 2019 18:46:45 +0000 (UTC) Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2qgT7qlXNqzu for ; Mon, 21 Jan 2019 18:46:26 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.161.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id 232693000CF for ; Mon, 21 Jan 2019 18:46:26 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette.mug.biscuolo.net [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id 19F64300056 for ; Mon, 21 Jan 2019 19:46:25 +0100 (CET) From: Giovanni Biscuolo Date: Mon, 21 Jan 2019 19:46:23 +0100 Message-ID: <87k1ixrgqo.fsf@roquette.mug.biscuolo.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34161@debbugs.gnu.org --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Hi maitainers! here is a small patch to (guix)Invoking guix system rationale in https://lists.gnu.org/archive/html/help-guix/2019-01/msg00272.html Thanks! --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlxGE4AACgkQ030Op87M ORI5Fg/8CpRcVzzbvkHBzx+Dfwg8PCR+WFuUENdlz4bzl4w9FwuM/1EAOCR1KJn7 kMTrzhznREYvbV3gZhrmO/zVqSAj+LUDfKrbZ0GddPgTdbISLJYvuSmyEw6taknY ud+Hu5rUnjqoURpYfXD6IEpyiHytIl+qzsA8IaNtc+GSqwW58wo9quRczWlmBXFm 2dgWsFDTdbOYj+2HRRQx1Dqfh8OSWvBh6sA7gP6UPWezOkcnyQ7+l+DM6DQ7VySv QLkx19iQJuJ/VEe1BwUQXaOkG+CBYSuPX8q8gt9i182UdvlrYGTod3FPCI4wTSbG 3lU+1f08rckNiAVGiqPK73LQB7z319FMcVANPK0j8XzHJpgBUeIuPgSHeJ75t7vD 8uHtbdxHFtCnu+nMkjxeGWRiaIsrfcc92k8obt2T6NiQKiqqskNrO00QtwV3Y5Ob XdwCzulNiiDarUeKN497+z1JLx42/J+P7mr6eJH3PjRHPqShY71weRLUhprovO9n H5o8fWLNdeTVxmZQ/ngsmkgvDTJZ4M4ByVDNsB5nrPnKyLYGYI8RRmgtjYikgVqf QeImuZ6nW9NvvEgSh5Au1XKJdqgfc7YFdjMd2GTV8ivDdr24H0UI3ZYs4VAm0gb5 KET0enh/8aXP3/UirgO6TJ43j07/ZYtIKHUTmIcOWdPHAj9gblg= =+5Fm -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-doc-clarify-build-users-must-be-in-kvm-group.patch >From 577f3e5750ec23cadf19cea68fe21aa5d2e7b9fa Mon Sep 17 00:00:00 2001 From: Giovanni Biscuolo Date: Mon, 21 Jan 2019 19:10:45 +0100 Subject: [PATCH] doc: clarify build users must be in kvm group To: guix-patches@gnu.org * doc/guix.texi: (guix)Invoke guix system, clarify kvm users must be in kvm group when using `guix system vm` --- doc/guix.texi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 245a18bc7..a3a27628f 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -22942,6 +22942,19 @@ passed. @anchor{guix system vm} Build a virtual machine that contains the operating system declared in @var{file}, and return a script to run that virtual machine (VM). +To use this command, you may need to add the build users to the @code{kvm} +group so they can access @file{/dev/kvm} (@pxref{Build Environment Setup}). + +On a GNU/Linux system, a build user pool groups may be changed like this +(using Bash syntax and the @code{shadow} commands): + +@example +# for i in `seq -w 1 10`; + do + usermod -G guixbuild,kvm guixbuilder$i; + done +@end example + Arguments given to the script are passed to QEMU as in the example below, which enables networking and requests 1@tie{}GiB of RAM for the emulated machine: -- q2.11.0 --=-=-= Content-Type: text/plain -- Giovanni Biscuolo Xelera IT Infrastructures --=-=-=--