kvm default install throws "Unable to open a connection to the libvirt management daemon" requires logout + login
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu-kvm (Ubuntu) |
Won't Fix
|
Low
|
Dustin Kirkland |
Bug Description
Binary package hint: qemu-kvm
The default kvm installation does not work out of the box, instead throwing this message when starting virt-manager, which doesn't help much:
Unable to open a connection to the libvirt management daemon.
Libvirt URI is: qemu:///system
Verify that:
- The 'libvirt-bin' package is installed
- The 'libvirtd' daemon has been started
- You are member of the 'libvirtd' group
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.
The need to login/logout is mentioned in the installation docs FWIW, but surely this can be improved:
https:/
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: kvm 1:84+dfsg-
ProcVersionSign
Uname: Linux 2.6.38-6-generic x86_64
Architecture: amd64
Date: Thu Mar 17 09:09:29 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110315)
KvmCmdLine: Error: command ['ps', '-C', 'kvm', '-F'] failed with exit code 1: UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
MachineType: System manufacturer System Product Name
ProcEnviron:
LANGUAGE=en_US:en
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: qemu-kvm
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/22/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1604
dmi.board.
dmi.board.name: P7H55-M PRO
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
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?