* bug#34611: virt-manager is not recognizing libvirtd service
@ 2019-02-22 5:06 Brett Gilio
2019-02-22 22:57 ` brettg
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Brett Gilio @ 2019-02-22 5:06 UTC (permalink / raw)
To: 34611
Hi all,
I am having an issue using virt-manager on GuixSD. I have libvirt and
virt-manager installed, and am starting the libvirtd service using my
configuration file. However, regardless of whether or not I start
virt-manager as root or normal privileges, I am getting a "checking for
virtualization packages..." note with an error of "No active connection
to install on." libvirtd and virtlogd are properly started as far as I
can tell by queurying the herd. Here is my relevant configuration.
(users (cons (user-account
(name "brettg")
(comment "Brett Gilio")
(group "users")
(supplementary-groups '("wheel" "netdev"
"audio" "video"
"libvirt"))
(home-directory "/home/brettg"))
%base-user-accounts))
(packages (cons* nss-certs ;for HTTPS access
gvfs ;for user mounts
libvirt
%base-packages))
(services (cons* (service gnome-desktop-service-type
(gnome-desktop-configuration
(inherit config)
(gnome-package gnome-custom)))
(service libvirt-service-type)
(service virtlog-service-type)
(service gdm-service-type)
(filter (lambda (x)
(not (eq? (service-kind x) slim-service-type)))
%desktop-services)))
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#34611: virt-manager is not recognizing libvirtd service
2019-02-22 5:06 bug#34611: virt-manager is not recognizing libvirtd service Brett Gilio
@ 2019-02-22 22:57 ` brettg
2019-03-30 19:46 ` Efraim Flashner
2022-01-05 18:42 ` calcium via Bug reports for GNU Guix
2 siblings, 0 replies; 6+ messages in thread
From: brettg @ 2019-02-22 22:57 UTC (permalink / raw)
To: 34611
[-- Attachment #1: Type: text/plain, Size: 1737 bytes --]
It also might be useful to make a tutorial on setting up other distros in a virtual machine using guixsdSent from my Sprint Phone.------ Original message------From: Brett GilioDate: Thu, Feb 21, 2019 11:08 PMTo: 34611@debbugs.gnu.org;Cc: Subject:bug#34611: virt-manager is not recognizing libvirtd serviceHi all,
I am having an issue using virt-manager on GuixSD. I have libvirt and
virt-manager installed, and am starting the libvirtd service using my
configuration file. However, regardless of whether or not I start
virt-manager as root or normal privileges, I am getting a "checking for
virtualization packages..." note with an error of "No active connection
to install on." libvirtd and virtlogd are properly started as far as I
can tell by queurying the herd. Here is my relevant configuration.
(users (cons (user-account
(name "brettg")
(comment "Brett Gilio")
(group "users")
(supplementary-groups '("wheel" "netdev"
"audio" "video"
"libvirt"))
(home-directory "/home/brettg"))
%base-user-accounts))
(packages (cons* nss-certs ;for HTTPS access
gvfs ;for user mounts
libvirt
%base-packages))
(services (cons* (service gnome-desktop-service-type
(gnome-desktop-configuration
(inherit config)
(gnome-package gnome-custom)))
(service libvirt-service-type)
(service virtlog-service-type)
(service gdm-service-type)
(filter (lambda (x)
(not (eq? (service-kind x) slim-service-type)))
%desktop-services)))
[-- Attachment #2: Type: text/html, Size: 2330 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#34611: virt-manager is not recognizing libvirtd service
2019-02-22 5:06 bug#34611: virt-manager is not recognizing libvirtd service Brett Gilio
2019-02-22 22:57 ` brettg
@ 2019-03-30 19:46 ` Efraim Flashner
2022-01-05 18:42 ` calcium via Bug reports for GNU Guix
2 siblings, 0 replies; 6+ messages in thread
From: Efraim Flashner @ 2019-03-30 19:46 UTC (permalink / raw)
To: Brett Gilio; +Cc: 34611
[-- Attachment #1: Type: text/plain, Size: 1097 bytes --]
On Thu, Feb 21, 2019 at 11:06:58PM -0600, Brett Gilio wrote:
> Hi all,
>
> I am having an issue using virt-manager on GuixSD. I have libvirt and
> virt-manager installed, and am starting the libvirtd service using my
> configuration file. However, regardless of whether or not I start
> virt-manager as root or normal privileges, I am getting a "checking for
> virtualization packages..." note with an error of "No active connection
> to install on." libvirtd and virtlogd are properly started as far as I
> can tell by queurying the herd. Here is my relevant configuration.
>
I've been having this issue as well on my machine. I'm pretty sure it's
more a case of virt-manager not saving the qemu locations; when I add a
new location of "this machine" suddenly all the VMs from my machine
repopulate. Then when I close it an open it again I get the same
behavior.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#34611: virt-manager is not recognizing libvirtd service
2019-02-22 5:06 bug#34611: virt-manager is not recognizing libvirtd service Brett Gilio
2019-02-22 22:57 ` brettg
2019-03-30 19:46 ` Efraim Flashner
@ 2022-01-05 18:42 ` calcium via Bug reports for GNU Guix
2023-12-30 4:12 ` Maxim Cournoyer
2023-12-30 5:30 ` Maxim Cournoyer
2 siblings, 2 replies; 6+ messages in thread
From: calcium via Bug reports for GNU Guix @ 2022-01-05 18:42 UTC (permalink / raw)
To: 34611
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")))
...)
...
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#34611: virt-manager is not recognizing libvirtd service
2022-01-05 18:42 ` calcium via Bug reports for GNU Guix
@ 2023-12-30 4:12 ` Maxim Cournoyer
2023-12-30 5:30 ` Maxim Cournoyer
1 sibling, 0 replies; 6+ messages in thread
From: Maxim Cournoyer @ 2023-12-30 4:12 UTC (permalink / raw)
To: calcium; +Cc: 34611, brettg@posteo.net, Efraim Flashner
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#34611: virt-manager is not recognizing libvirtd service
2022-01-05 18:42 ` calcium via Bug reports for GNU Guix
2023-12-30 4:12 ` Maxim Cournoyer
@ 2023-12-30 5:30 ` Maxim Cournoyer
1 sibling, 0 replies; 6+ messages in thread
From: Maxim Cournoyer @ 2023-12-30 5:30 UTC (permalink / raw)
To: calcium; +Cc: 34611-done
Hi,
See commit 4dc17cd54e86dbd71d26b87138660d42e8f615a9 ("services: libvirt:
Change unix-sock-group default.") which changed the group from "root" to
"libvirt".
It should now work without configuring the unix-sock-group, assuming
you're user is part of the 'libvirt' supplementary group. I've
clarified the doc about this in b69bdcf77f.
Closing.
--
Thanks,
Maxim
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-12-30 5:31 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-22 5:06 bug#34611: virt-manager is not recognizing libvirtd service Brett Gilio
2019-02-22 22:57 ` brettg
2019-03-30 19:46 ` Efraim Flashner
2022-01-05 18:42 ` calcium via Bug reports for GNU Guix
2023-12-30 4:12 ` Maxim Cournoyer
2023-12-30 5:30 ` Maxim Cournoyer
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).