GNU bug report logs -
#34611
virt-manager is not recognizing libvirtd service
Previous Next
Reported by: Brett Gilio <brettg <at> posteo.net>
Date: Fri, 22 Feb 2019 05:08:01 UTC
Severity: normal
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 34611 in the body.
You can then email your comments to 34611 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#34611
; Package
guix
.
(Fri, 22 Feb 2019 05:08:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Brett Gilio <brettg <at> posteo.net>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 22 Feb 2019 05:08:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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)))
Information forwarded
to
bug-guix <at> gnu.org
:
bug#34611
; Package
guix
.
(Fri, 22 Feb 2019 22:58:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 34611 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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 <at> 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)))
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#34611
; Package
guix
.
(Sat, 30 Mar 2019 19:47:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 34611 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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 <at> 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
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#34611
; Package
guix
.
(Wed, 05 Jan 2022 18:43:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 34611 <at> debbugs.gnu.org (full text, mbox):
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")))
...)
...
Information forwarded
to
bug-guix <at> gnu.org
:
bug#34611
; Package
guix
.
(Sat, 30 Dec 2023 04:13:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 34611 <at> debbugs.gnu.org (full text, mbox):
Hello,
calcium <calcium <at> 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
Reply sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
You have taken responsibility.
(Sat, 30 Dec 2023 05:31:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Brett Gilio <brettg <at> posteo.net>
:
bug acknowledged by developer.
(Sat, 30 Dec 2023 05:31:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 34611-done <at> debbugs.gnu.org (full text, mbox):
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
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 27 Jan 2024 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 104 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.