emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#34161: closed ([PATCH] doc: clarify build users mu


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#34161: closed ([PATCH] doc: clarify build users must be in kvm group)
Date: Fri, 25 Jan 2019 21:56:03 +0000

Your message dated Fri, 25 Jan 2019 22:55:27 +0100
with message-id <address@hidden>
and subject line Re: [bug#34161] [PATCH] doc: clarify build users must be in 
kvm group
has caused the debbugs.gnu.org bug report #34161,
regarding [PATCH] doc: clarify build users must be in kvm group
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
34161: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=34161
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] doc: clarify build users must be in kvm group Date: Mon, 21 Jan 2019 19:46:23 +0100
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!

Attachment: signature.asc
Description: PGP signature

>From 577f3e5750ec23cadf19cea68fe21aa5d2e7b9fa Mon Sep 17 00:00:00 2001
From: Giovanni Biscuolo <address@hidden>
Date: Mon, 21 Jan 2019 19:10:45 +0100
Subject: [PATCH] doc: clarify build users must be in kvm group
To: address@hidden

* 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):
+
address@hidden
+# for i in `seq -w 1 10`;
+  do
+    usermod -G guixbuild,kvm guixbuilder$i;
+  done
address@hidden example
+
 Arguments given to the script are passed to QEMU as in the example
 below, which enables networking and requests address@hidden of RAM for the
 emulated machine:
-- 
q2.11.0

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

--- End Message ---
--- Begin Message --- Subject: Re: [bug#34161] [PATCH] doc: clarify build users must be in kvm group Date: Fri, 25 Jan 2019 22:55:27 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
Hi Giovanni,

Giovanni Biscuolo <address@hidden> skribis:

>>From 577f3e5750ec23cadf19cea68fe21aa5d2e7b9fa Mon Sep 17 00:00:00 2001
> From: Giovanni Biscuolo <address@hidden>
> Date: Mon, 21 Jan 2019 19:10:45 +0100
> Subject: [PATCH] doc: clarify build users must be in kvm group
> To: address@hidden
>
> * doc/guix.texi: (guix)Invoke guix system, clarify kvm users must be in
>   kvm group when using `guix system vm`

There’s already a note a few lines below that links to “Build
Environment Setup” for more details:

  
https://www.gnu.org/software/guix/manual/en/html_node/Invoking-guix-system.html

However, the note is admittedly too far away from the description of
‘vm’ so I’ve moved it higher (will push shortly.)

Thanks,
Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]