Subject: bug#34611: virt-manager is not recognizing libvirtd service

From: Maxim Cournoyer <[email-masked]>
Date: Fri, 29 Dec 2023 23:12:36 -0500

Hello,

calcium <[email-masked]> 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