From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ECr0NRQPMGP03QAAbAwnHQ (envelope-from ) for ; Sun, 25 Sep 2022 10:19:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yPMENRQPMGMJdwEAG6o9tA (envelope-from ) for ; Sun, 25 Sep 2022 10:19:32 +0200 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 4C7DC293A9 for ; Sun, 25 Sep 2022 10:19:32 +0200 (CEST) Received: from localhost ([::1]:40330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ocMrK-0004M9-Ps for larch@yhetil.org; Sun, 25 Sep 2022 04:19:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocMr8-0004M1-N4 for help-guix@gnu.org; Sun, 25 Sep 2022 04:19:18 -0400 Received: from box.catsu.it ([46.232.250.231]:48403) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ocMr6-0004Xt-Rz for help-guix@gnu.org; Sun, 25 Sep 2022 04:19:18 -0400 Received: from authenticated-user (box.catsu.it [46.232.250.231]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.catsu.it (Postfix) with ESMTPSA id F34357DDB7 for ; Sun, 25 Sep 2022 10:19:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=catsu.it; s=mail; t=1664093953; bh=GdAp2/Z1EMHrYV02UAnjMdN9m5guzJX+W3eHVkImWI8=; h=References:From:To:Subject:Date:In-reply-to:From; b=1S/EQLJ16PFVWlE93W1pFbCiIN5hNTmHpgtqTpy4hg1TGNg6vG5klhxsyX5Z+d9Lt yDZkDz6YHEnSh+UU+MdfxL055bC8uil4qX5dPgmgJiNwMuI0VBLwwGSb7O668un9Uv WXJaKJt5DxjdJC7RQ+bw1pinyaUaLrYW/ms3zL8T5Iy0uEtBMoaSwNbVm4kJpoE0Hs qlS1vsdMFekATCUH+dPGmsJObJruSsY4PBMs8+uZ0ZGyeYngccRI3nQoVstXRRkYG7 w3dXYyK1NHUHIrYDJIs0jexdK8w4rQZK/VCkNxzZr7580PaU8mzVuLoY/b35EQ1B2Q JERu1qUW7efkA== References: <9bd91815-48d4-18e6-8816-8a80447e4bfd@posteo.de> <87o7v5hnoo.fsf@contorta> <6e7dac7f-4773-2035-b09a-0b49ba614438@posteo.de> <15d14aff-2668-0dad-ceb6-5117fa79547e@posteo.de> To: help-guix@gnu.org Subject: Re: virtualization Date: Sun, 25 Sep 2022 10:14:25 +0200 In-reply-to: <15d14aff-2668-0dad-ceb6-5117fa79547e@posteo.de> Message-ID: <86illbn9xf.fsf@catsu.it> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=46.232.250.231; envelope-from=chris@catsu.it; helo=box.catsu.it X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_FAIL=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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" Reply-to: Chris Keschnat From: Chris Keschnat via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664093972; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to: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:dkim-signature; bh=vx2onylny/UnmgLk+gXAY/1o61fIHCyr6H2ha+X5N/M=; b=N7HtW3ND1+ngy0osQwU+ukOh+v25Zc3V4iFRAeuJ/Zzj1wjLLw6fH34Dhmux6eF+AIaXe7 Hja7ODxelO9YO6TKlKPDV6t+YuZgWti6yaDrDkxZD+/rKTeUrEk2XiyB7PUBVFGlju+O95 PIUlL3fWEWb/9j+ZrbkKOgHRu4y9eGKuNYOD4RKNhH+9HsdQMERcJqJfpsROpI5uRB8D/R oQG62LpkHdSjF+2XpAE7Fye/yKn9Wu1k+CdHaEH0gVZDJGubVmlWWd/F4BkflGcqZPW/11 OfvUBIZPAF3CVWN0uoYYXR1XoZZAQTKKpC7xaMZ1R+PWJ/D3rKZCvzqjQ8Ujvg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664093972; a=rsa-sha256; cv=none; b=Up4jOf2836by9f2VlcjWblkgEoXMwGgVwf5b+sqZc6DEKsVNoDmd2GYniSSis8i2Yq54bj Q/TACSA2V4lZo2ufIFKAN+8kXBzZ77yo9HvYH96fDiRW84rTxcVkYStXTVsc0UoZEtt6So S1x7WKvJTZw1JafzrZs0qPdRyoKWsWvIGSD/tnS3nEU9FXzHJqaJHUzfCFrDosiYZM9C2k ZbrddSyflB8GG/+5ksjd/lTdjpCIaunlHHUFPqPb6xKz9TNdumRakaGXyCH5yU8+JDLHsJ XeyXLcQGeqpR1B4Hz9mH/sEwDjRjy9pqbgNqMKxxaFKqSO5zhJz5XfWTICVTtQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=catsu.it header.s=mail header.b="1S/EQLJ1"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.95 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=catsu.it header.s=mail header.b="1S/EQLJ1"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4C7DC293A9 X-Spam-Score: -1.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0x3KVrrGfpab =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Gottfried writes: > [[PGP Signed Part:Undecided]] > Am 24.09.22 um 23:05 schrieb Gottfried: >> Am 23.09.22 um 21:53 schrieb Vagrant Cascadian: >>> On 2022-09-23, gottfried@posteo.de wrote: >>>> I installed a VM software and I added libvirt and virtualization in my >>>> config.scm file (see below) >>> ... >>>> =C2=A0=C2=A0=C2=A0 (users (cons* (user-account >>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (name "gfp") >>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (comment "Gfp") >>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (group "users") >>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (home-directory "/home/gfp") >>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (supplementary-groups >>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 '("wheel" "netdev= " "audio" "video"))) >>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 %base-user-accounts)) >>> ... >>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 (service libvirt-service-type >>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (libvirt-co= nfiguration >>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (unix= -sock-group "libvirt") >>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (tls-= port "16555")))) >>> ... >>>> It seems I don't have the rights to start libvirt. >>>> >>>> How can I now solve the problem? >>>> Any thoughts? >>> >>> I would add your user the to group you configure libvirt-service-type >>> with, e.g. "libvirt" ... or configure libvirt-service-type with a >>> different group that your user is already a part of. >>> >>> live well, >>> =C2=A0=C2=A0 vagrant >> Hi, >> I added my user to the group "libvirt", but it didn't help. It gives >> the same error message. >> May be something else? >> =C2=A0Gottfried > > Hi, > > it is very strange. > > I added my user"gfp" to the group "libvirt" and checked it yesterday, > and I was added into that group. > > It was through the command: > sudo usermod -a -G libvirt gfp > > But today, when I checked it again, > I was not in the group "libvirt" > > How can that be? > > [2. OpenPGP public key --- application/pgp-keys; OpenPGP_0x61FAF349C9FB7F= 94.asc]... > > [[End of PGP Signed Part]] I am not exactly sure what happened, but I think you should set the groups in the your operating config. #+begin_src scheme (supplementary-groups '("wheel" "netdev" "audio" "video"))) #+end_src to #+begin_src scheme (supplementary-groups '("wheel" "netdev" "audio" "video" "libvirt"))) #+end_src And then do a ~guix system reconfigure ..~. Your user should then be part of the libvirt group even after reboots. =2D----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEEJeJoXz7yKQFBopzYUzV95hT0vZUFAmMwDvwACgkQUzV95hT0 vZVHaQv+NkOPN3pkDvNX3ZFml/4DowM1MOGDcjLxRdqvGAlKNU7DhqpsY/DTg1Vq km0zLGOaPIIxR+ErE1vixTL49f5lmzsOphKAFkjPq38zYMelpJGfPypJrcfGx4rB f0QdDN/04YiFcSf7ImSIfRu5efzopjhwxSwmlxHbjnCBML0RTzSx1Vu37GaORDjJ Ly6XikABehQxdPrzddFnHRJyBijZfWzrVAfgC5L9H2Xi252/SxxJGG7UK0/NckQL WfkidUXdzy6WLRWZpIw9396dTa1sEtLEeSBX4ByIbMgHvsZyqAAOIdHrZnR6TPps SiRkir/tSKx+mXpZi/jWHiFhftpF8WT29G4EYdP1S9J0gDRet5iSjU5LuBcuJnlJ qA0tQvoVwP+xYSDhi/IZxnvG9EqwG0iXV4gtgNBJCxlzXRD7F0rqVb0YzllhW2yO FG4/R+Gf6TRwlE17pb1R9rZPVa4cSsmmKqd+vyxdkwkrshaSfXLKEMWQX5RmnOUs wY6CPsqJ =3Di8PY =2D----END PGP SIGNATURE-----