Report forwarded
to bug-guix@gnu.org: bug#42129; Package guix.
(Mon, 29 Jun 2020 20:03:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Marius Bakke <marius@gnu.org>:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org.
(Mon, 29 Jun 2020 20:03:02 GMT) (full text, mbox, link).
Severity set to 'important' from 'normal'
Request was from Ludovic Courtès <ludo@gnu.org>
to control@debbugs.gnu.org.
(Thu, 01 Apr 2021 13:22:02 GMT) (full text, mbox, link).
Added tag(s) easy.
Request was from Ludovic Courtès <ludo@gnu.org>
to control@debbugs.gnu.org.
(Fri, 02 Apr 2021 07:47:02 GMT) (full text, mbox, link).
Added indication that bug 42129 blocks47297
Request was from Ludovic Courtès <ludo@gnu.org>
to control@debbugs.gnu.org.
(Fri, 02 Apr 2021 07:47:02 GMT) (full text, mbox, link).
Information forwarded
to bug-guix@gnu.org: bug#42129; Package guix.
(Thu, 08 Apr 2021 22:40:02 GMT) (full text, mbox, link).
On Mon, Jun 29, 2020 at 10:01:54PM +0200, Marius Bakke wrote:
> guix-install.sh should add the build users to the 'kvm' group if present
> so that commands that require use of KVM can succeed.
Here is a patch (untested) that makes sure a 'kvm' group exists and adds
it to the guixbuilders' groups.
On Thu, Apr 08, 2021 at 06:38:59PM -0400, Leo Famulari wrote:
> On Mon, Jun 29, 2020 at 10:01:54PM +0200, Marius Bakke wrote:
> > guix-install.sh should add the build users to the 'kvm' group if present
> > so that commands that require use of KVM can succeed.
>
> Here is a patch (untested) that makes sure a 'kvm' group exists and adds
> it to the guixbuilders' groups.
I realized that you specified that the build users should be added to
the kvm group 'if' it is present. So, here is a revised patch.
On Thu, Apr 08, 2021 at 07:03:26PM -0400, Leo Famulari wrote:
> From 1a9fd7decd843f21c36d8ec4d1e218f478b983cf Mon Sep 17 00:00:00 2001
> From: Leo Famulari <leo@famulari.name>
> Date: Thu, 8 Apr 2021 18:34:43 -0400
> Subject: [PATCH v2] guix-install.sh: Add the build users to the 'kvm' group.
>
> * etc/guix-install.sh (sys_create_build_user): If a 'kvm' group exists,
> add it to the guixbuilders' lists of supplementary groups.
I tested, fixed bugs, and pushed as 8e214c53a48a841887a59f24a20e7392b5e59b55
Debbugs is free software and licensed under the terms of the
GNU Public License version 2. The current version can be
obtained from https://bugs.debian.org/debbugs-source/.