From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 21 13:47:04 2019 Received: (at submit) by debbugs.gnu.org; 21 Jan 2019 18:47:04 +0000 Received: from localhost ([127.0.0.1]:40441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1glebA-0004zb-0P for submit@debbugs.gnu.org; Mon, 21 Jan 2019 13:47:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gleb2-0004yx-K9 for submit@debbugs.gnu.org; Mon, 21 Jan 2019 13:46:59 -0500 Received: from lists.gnu.org ([209.51.188.17]:58564) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gleax-0008WO-9V for submit@debbugs.gnu.org; Mon, 21 Jan 2019 13:46:51 -0500 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 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) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it 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) Received: (nullmailer pid 24849 invoked by uid 1000); Mon, 21 Jan 2019 18:46:24 -0000 From: Giovanni Biscuolo To: guix-patches@gnu.org Subject: [PATCH] doc: clarify build users must be in kvm group Organization: Xelera.eu 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="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 46.4.214.66 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) --=-=-= 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 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 25 16:55:35 2019 Received: (at 34161-done) by debbugs.gnu.org; 25 Jan 2019 21:55:35 +0000 Received: from localhost ([127.0.0.1]:45668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gn9Rm-0001GB-V4 for submit@debbugs.gnu.org; Fri, 25 Jan 2019 16:55:35 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:42704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gn9Rl-0001G2-LC for 34161-done@debbugs.gnu.org; Fri, 25 Jan 2019 16:55:34 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id C8BCD6C33; Fri, 25 Jan 2019 22:55:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6_x3pntH_3g0; Fri, 25 Jan 2019 22:55:28 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id BBED96BFC; Fri, 25 Jan 2019 22:55:27 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Giovanni Biscuolo Subject: Re: [bug#34161] [PATCH] doc: clarify build users must be in kvm group References: <87k1ixrgqo.fsf@roquette.mug.biscuolo.net> Date: Fri, 25 Jan 2019 22:55:27 +0100 In-Reply-To: <87k1ixrgqo.fsf@roquette.mug.biscuolo.net> (Giovanni Biscuolo's message of "Mon, 21 Jan 2019 19:46:23 +0100") Message-ID: <87o984mmgg.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 34161-done Cc: 34161-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi Giovanni, Giovanni Biscuolo skribis: >>>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` There=E2=80=99s already a note a few lines below that links to =E2=80=9CBui= ld Environment Setup=E2=80=9D for more details: https://www.gnu.org/software/guix/manual/en/html_node/Invoking-guix-syste= m.html However, the note is admittedly too far away from the description of =E2=80=98vm=E2=80=99 so I=E2=80=99ve moved it higher (will push shortly.) Thanks, Ludo=E2=80=99. From unknown Fri Jun 20 20:06:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 23 Feb 2019 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator