[Bug 736844] Re: kvm default install throws Unable to open a connection to the libvirt management daemon requires logout + login
Hi, The reason the error shows is because with apt-get your user is not added to the necessary group. this should somehow be handled within the install script. a logoff/login is then required to get that setting activated (though there should be another way in linux). Hope this helps. the link: https://help.ubuntu.com/community/KVM/Installation ---QUOTE--- You need to ensure that your username is added to the group libvirtd: $ sudo adduser `id -un` libvirtd Adding user 'username' to group 'libvirtd' ... After this, you need to relogin ... ---/QUOTE--- -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/736844 Title: kvm default install throws Unable to open a connection to the libvirt management daemon requires logout + login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/736844/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 736844] Re: kvm default install throws Unable to open a connection to the libvirt management daemon requires logout + login
This is addressed in the documentation. There's really no good way to do this automatically. Running 'newgrp libvirtd' to start a new shell from which to run virsh commands comes closest. ** Changed in: qemu-kvm (Ubuntu) Status: Incomplete = Won't Fix -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/736844 Title: kvm default install throws Unable to open a connection to the libvirt management daemon requires logout + login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/736844/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 736844] Re: kvm default install throws Unable to open a connection to the libvirt management daemon requires logout + login
As I wrote in my initial report: The message should at least propose to logout / login to complete the installation, or the installation post-install scripts should warn / force this. Ideally this should not be necessary so we have the best user experience. Right after installation is when I would expect a more useful message to pop-up in notifications / power-menu (forgot what it's called), much like updates that require a reboot. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/736844 Title: kvm default install throws Unable to open a connection to the libvirt management daemon requires logout + login -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 736844] Re: kvm default install throws Unable to open a connection to the libvirt management daemon requires logout + login
Thanks for reporting this bug and helping to make Ubuntu better. Do you have any suggestions for where we could place a more helpful message? I'm assigning to Dustin as he might have an idea of where we can, or why we shouldn't, do so. On the one hand I can see a new user wanting to see that message pop up after installing the package. On the other hand, an admin installing 100s of machines won't want to waste time clicking 'ok' 100 times. Dustin, do you have any advice? Can we have the .postinst script simply echo a msg and expect dpkg, apt, and synaptic all do the right thing? ** Changed in: qemu-kvm (Ubuntu) Assignee: (unassigned) = Dustin Kirkland (kirkland) ** Changed in: qemu-kvm (Ubuntu) Status: New = Incomplete ** Changed in: qemu-kvm (Ubuntu) Importance: Undecided = Low -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. https://bugs.launchpad.net/bugs/736844 Title: kvm default install throws Unable to open a connection to the libvirt management daemon requires logout + login -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs