From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sGu3IkHqZmAbPQEAgWs5BA (envelope-from ) for ; Fri, 02 Apr 2021 11:56:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GOeTHEHqZmCmfwAAbx9fmQ (envelope-from ) for ; Fri, 02 Apr 2021 09:56:17 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EF8EDB97A for ; Fri, 2 Apr 2021 11:56:16 +0200 (CEST) Received: from localhost ([::1]:39480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lSGXH-0006f7-Tv for larch@yhetil.org; Fri, 02 Apr 2021 05:56:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSGWn-0006ex-Vd for help-guix@gnu.org; Fri, 02 Apr 2021 05:55:45 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:37539) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSGWi-0007Cr-70; Fri, 02 Apr 2021 05:55:45 -0400 X-Originating-IP: 109.214.176.108 Received: from pruneau.home (apoitiers-652-1-416-108.w109-214.abo.wanadoo.fr [109.214.176.108]) (Authenticated sender: d@divoplade.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 0E0E160008; Fri, 2 Apr 2021 09:55:33 +0000 (UTC) Message-ID: <73f0a714627a7b46d545101d8aa96e0b6da3de35.camel@divoplade.fr> Subject: Re: [Guix System] Can't run VM script because of KVM kernel module permission From: divoplade To: =?ISO-8859-1?Q?J=E9r=E9my?= Korwin-Zmijowski , Mathieu Othacehe Date: Fri, 02 Apr 2021 11:55:32 +0200 In-Reply-To: <38e0e606fac3f0eb83832cea6a38ddff660bf4be.camel@korwin-zmijowski.fr> References: <7e53665faf4a231c647de357239738fdeb24c9ab.camel@korwin-zmijowski.fr> <87ft09gh98.fsf@gnu.org> <38e0e606fac3f0eb83832cea6a38ddff660bf4be.camel@korwin-zmijowski.fr> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=217.70.183.195; envelope-from=d@divoplade.fr; helo=relay3-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Help Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617357377; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=S5rhQGmkm9FyZbdih3aMAr8VC+boVjtDguXaE1eXeCk=; b=PnVeOtVK2EWm7HleiTO+llzNGJ+8gC/2AisTpPkXpQOJH2FevT8smJCBUl2/uvmy3bPj1p 2IEYjoOvq/TrArGCT+q++T6CBZNYHW/DuF9Y2b6y+6IvbDgwBCGtEd0WPIe9PHphy4652P dpStWsmXpwpBzSdIbOlSvDUO0Bf8ekjrJ2l/Bz4HCLN94anqNL06G6c+gDpjzVAOw1pZ1o JmFo2hbVgflYjRwppswZbp+1PPmV6F+RKJbbycxFMXMSbhWW46ysLAtDM2hJeO9gmBZOyQ 4evy4ChnfcDBtRu5gu86EEHXkSOBwsjHEqTBU4nWSPbYV+Gb5lr0M5CwmGGI3w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617357377; a=rsa-sha256; cv=none; b=SVIQJpmoqCjD6Ss/1PEV0cH5ZOSFroPFY46FFIocMOgcIskqVjpktzJhCKByQ/2bA42fZM KhWiZaoEEYKaXhZ4V5ZGrpGpzKA7Kw6JBGFhKZBvDeRclGmIbqBlCvIAfNHNYHo0DYas5z 6WM/J3z83nlr7o/KYdx7Poy1gJXj08j/NVL0qofgii48Ghnl0vy00h0l4MnXyQSx9lEUm8 EowVehiNrLZWiVKQk6NdLhVyzone4I0CAdlG8jM/NenLXj3hhJ9AheJIAvRthDOcUeXXvl tDmq8XIMRvINy+1f7PbcTsEbJ7ZaoH3NAtyi6WcqjpXEU+u2/YlJECwy8Jd9yg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.43 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: EF8EDB97A X-Spam-Score: -2.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2hsRfvVcbHpD Le vendredi 02 avril 2021 à 11:39 +0200, Jérémy Korwin-Zmijowski a écrit : > I tried to add myself to the group using : > > $ sudo usermod -a -G kvm jeko Hello, Groups need to be specified in the config.scm file. You need to edit it, and under "(user-account", find or create the entry "(supplementary-groups" containing a list of strings. I have something like this: (user-account (name ...) (comment ...) (group ...) (home-directory ...) (supplementary-groups '("wheel" "netdev" "audio" "video" ... "libvirt" "kvm"))) Reconfigure (and possibly reboot) and it will be better :)