From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bug-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp0.migadu.com ([2001:41d0:303:5f26::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms8.migadu.com with LMTPS
	id WH0MHuOYj2UJTQEAkFu2QA
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 30 Dec 2023 05:13:23 +0100
Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp0.migadu.com with LMTPS
	id WC3kGOOYj2WvbwEAqHPOHw
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 30 Dec 2023 05:13:23 +0100
X-Envelope-To: larch@yhetil.org
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=cCFZKjpP;
	spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org";
	dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none)
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1703909603;
	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:resent-cc:resent-from:resent-sender:
	 resent-message-id:in-reply-to:in-reply-to:references:references:
	 list-id:list-help:list-unsubscribe:list-subscribe:list-post:
	 dkim-signature; bh=J3EDfr0xxbFqlsfJpr2+g/eCYKKwptzrECdiS7Vsqn0=;
	b=lrPM027ZUj6z2cmw5hVGtGT0c6sLNlTLkTDZ4jLu7DAdxkWOrV020fTrSFn5Rb1Z6thSfA
	Cr0B19LEt2IvrKAwEq78cJ/6oZXhY4mTloyIM3V3sX3An+gAbhZWdwM6GoNwCLbofkMJHU
	uiqUD/CXxBOSW7gQPSjzZqn2uRGwPhU9FtUKSOqyzVZ5nBNRJDdd119ypeXZ0dSNv+uWB1
	TUCUryRk4xIJ0axvNAFINz96SxhVbXZP7nz+UhPb1jbVB2uhHfnaXHYw4guJ8EuArprR/x
	2XWPQ+WNF+dLN+xH1H/aYYxuMTJahz2/nshv9APqu+QGtGc2x8i6UOFqJFciFA==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703909603; a=rsa-sha256; cv=none;
	b=Z6hmexsId+hw5vXEM0gGi9Ul3Pph133GEvhlmPgVQWryOZIGH1K0Bg6B0CUzDcyOXZ6Q6K
	iQLofzMH0YCNv7s/B6hvMXADzLtkP3NAwaNm+EwyWVTf8Tn73eiuoZ/iXcSmah3huS68cv
	/3Esc1AmG7xFTqUdJ6P0MN/7q1jFQW+ZU1bx0/Xwq5J9DZRZ2fs2CEw4gn1pCDJ3tYAlw9
	VDoqClmDN0Z3EFUKQpFFREmDsyts+WUDk/e2OSAHIWkE+rfznu6E3iHdVdQ0LHkRzl2JY8
	voIoTYSvxGFmlAIT3TcdrUrFgSx2oE6JaBq9DDzx0yV+o1ynMSfb5BO82zxEZw==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=cCFZKjpP;
	spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org";
	dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none)
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 1BB3E464D6
	for <larch@yhetil.org>; Sat, 30 Dec 2023 05:13:23 +0100 (CET)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-guix-bounces@gnu.org>)
	id 1rJQif-0001Rh-Qh; Fri, 29 Dec 2023 23:13:05 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1rJQie-0001RY-8R
 for bug-guix@gnu.org; Fri, 29 Dec 2023 23:13:04 -0500
Received: from debbugs.gnu.org ([2001:470:142:5::43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1rJQib-0000f3-Tu
 for bug-guix@gnu.org; Fri, 29 Dec 2023 23:13:03 -0500
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rJQib-0003Hs-Or
 for bug-guix@gnu.org; Fri, 29 Dec 2023 23:13:01 -0500
X-Loop: help-debbugs@gnu.org
Subject: bug#34611: virt-manager is not recognizing libvirtd service
Resent-From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-guix@gnu.org
Resent-Date: Sat, 30 Dec 2023 04:13:01 +0000
Resent-Message-ID: <handler.34611.B34611.170390956712615@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 34611
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: calcium <calcium@disroot.org>
Cc: 34611@debbugs.gnu.org, "brettg@posteo.net" <brettg@posteo.net>,
 Efraim Flashner <efraim@flashner.co.il>
Received: via spool by 34611-submit@debbugs.gnu.org id=B34611.170390956712615
 (code B ref 34611); Sat, 30 Dec 2023 04:13:01 +0000
Received: (at 34611) by debbugs.gnu.org; 30 Dec 2023 04:12:47 +0000
Received: from localhost ([127.0.0.1]:42785 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1rJQiM-0003HP-Uo
 for submit@debbugs.gnu.org; Fri, 29 Dec 2023 23:12:47 -0500
Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]:42350)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@gmail.com>) id 1rJQiK-0003HC-TB
 for 34611@debbugs.gnu.org; Fri, 29 Dec 2023 23:12:45 -0500
Received: by mail-qk1-x72d.google.com with SMTP id
 af79cd13be357-78104f6f692so563131185a.1
 for <34611@debbugs.gnu.org>; Fri, 29 Dec 2023 20:12:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1703909559; x=1704514359; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=J3EDfr0xxbFqlsfJpr2+g/eCYKKwptzrECdiS7Vsqn0=;
 b=cCFZKjpPIc36UG4ahdL72lEsxtIAxILDFaJHAHZLGBKZrBeqeD+aUUaG3K0UlQbIV6
 DVxxQFopQc3xJ6i3HtEt2vh6Tq/GqB7U/lmWhoYSD0ntqGbLb+SEDxLregCIFhdJB2sq
 l+P1paMOoAM52k8ERfapW4YPAFFha3GZLQZ5ASsgnYzFYfXeIpXBR9CeNhlepMV665NT
 Kk6LeUVSeDmI0Rf6vWKk3yl7QK8tmlXewlZMrq7uwptNFdfhicith0ydvhOWCNxoPZJz
 rbXZpNMPYHd/+w1QIIaJm+xTompRQQvsj4OxIZDJcSsmXG2pgxBk8ESRwhmJ928SEnX3
 fiNA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1703909559; x=1704514359;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=J3EDfr0xxbFqlsfJpr2+g/eCYKKwptzrECdiS7Vsqn0=;
 b=AudBuLZQkeop5MW+jh8QUe4NgKy6kxpRff+0Ii5oDHAYrVyZg/kjUJBnxykZ+Mwdbm
 zteAc1lPmUXRL8QuaWsP7Yu9yDB79tVXLGu/t4e+fMbVZkM8fUpJgcW/dj+zDmVOopwD
 vaTmoL061cNz6pSJ7JFBnH/cKY1oYRd52wQuSturS2J9eK06snVF9loZaVK6bR3k0kCM
 /6muO7SGz58EGVn70gxezMdOHVho88IGG4PHmc+fAWEKMrMp1pvqRJTuYKzrsOvSSE6k
 8QC+wd/DRY+lTI6XrQlyiiStOaugBbIxQniW0mpE3kDFuI9EzkOZ3U0NTargvIdrpK5M
 AGNw==
X-Gm-Message-State: AOJu0Yz85NXsDfl/PmweZ19SGq3txWhKZEr4sTBahuV4kQ94vUl2wXMg
 +d42hWawk8uuF7F4USLDm/A=
X-Google-Smtp-Source: AGHT+IFvjuzfaAhODn6MxJKyheaNPPx1nKL6dHTdSADBmPJwidfM+auWiahPy0qJ82l2o00bBT4vWg==
X-Received: by 2002:a05:620a:2b47:b0:77b:bfc4:4e13 with SMTP id
 dp7-20020a05620a2b4700b0077bbfc44e13mr21056292qkb.18.1703909558940; 
 Fri, 29 Dec 2023 20:12:38 -0800 (PST)
Received: from hurd (dsl-152-202.b2b2c.ca. [66.158.152.202])
 by smtp.gmail.com with ESMTPSA id
 r27-20020a05620a03db00b007815781dba5sm3165902qkm.66.2023.12.29.20.12.37
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 29 Dec 2023 20:12:38 -0800 (PST)
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
In-Reply-To: <541b1f8b-72b1-26ae-ce1d-49ed7b97cb95@disroot.org>
 (calcium@disroot.org's message of "Wed, 5 Jan 2022 19:42:30 +0100")
References: <87bm34jtsd.fsf@posteo.net>
 <541b1f8b-72b1-26ae-ce1d-49ed7b97cb95@disroot.org>
Date: Fri, 29 Dec 2023 23:12:36 -0500
Message-ID: <875y0gs4zv.fsf@gmail.com>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-guix@gnu.org
List-Id: Bug reports for GNU Guix <bug-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-guix>
List-Post: <mailto:bug-guix@gnu.org>
List-Help: <mailto:bug-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=subscribe>
Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org
Sender: bug-guix-bounces+larch=yhetil.org@gnu.org
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
X-Migadu-Spam-Score: -3.78
X-Spam-Score: -3.78
X-Migadu-Queue-Id: 1BB3E464D6
X-Migadu-Scanner: mx11.migadu.com
X-TUID: 7uvFNB2ZRSF8

Hello,

calcium <calcium@disroot.org> writes:

> Same problem still present as of start of 2022. Virt-manager can't connect to libvirt service
>
>
> ...
>
> (users ...
>        (supplementary-groups '("kvm" ...)
>        ...)
>
>
> (services ...
>           (service libvirt-service-type (libvirt-configuartion (unix-sock-group "kvm")))
>           ...)
>
> ...

Does it work when you run virt-manager as root?  My configuration looks
like:

--8<---------------cut here---------------start------------->8---
(users ...
       (supplementary-groups '("libvirt" ...))
       ...)

[...]

(services ...)
          (service libvirt-service-type
                   (libvirt-configuration
                    (unix-sock-group "libvirt")))
--8<---------------cut here---------------end--------------->8---

And virt-manager is able to connect as my unprivileged user.

-- 
Thanks,
Maxim