Libvirt/kvm permissions/ownership issue on upgrade from Karmic to Lucid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
I just upgraded my desktop from Kosmic Koala to Lucid Lynx, and
upgraded to the latest. Everything worked fine prior to the upgrade
except some unrelated networking issues. I now find that I cannot
launch any virtual machines using libvirt/qemu/kvm and
libvirt-manager.
If I try to launch a VM having only a CD-ROM image for bulk storage, I
get:
File "/usr/share/
run_domain
vm.startup()
File "/usr/share/
startup
self.
File "/usr/lib/
create
if ret == -1: raise libvirtError ('virDomainCreate() failed',
dom=self)
libvirtError: internal error unable to start guest: libvir: QEMU
error : cannot set ownership
on /var/lib/
This is a known bug: https:/
(I don't see any comparable bug in launchpad.)
If I try to launch a VM with only a virtual hard drive, I get:
File "/usr/share/
run_domain vm.startup()
File "/usr/share/
startup self._backend.
File "/usr/lib/
create if ret == -1: raise libvirtError ('virDomainCreate() failed',
dom=self) libvirtError: internal error unable to start guest: libvir:
QEMU error : cannot change to '126' group: Operation not permitted
# grep 126 /etc/group /etc/passwd
/etc/group:
/etc/passwd:
Versions:
# pre libvirt kvm qemu
libvirt-bin 0.7.5-5ubuntu27 amd64
libvirt0 0.7.5-5ubuntu27 amd64
python-libvirt 0.7.5-5ubuntu27 amd64
qemu-common 0.12.3+
qemu-kvm 0.12.3+
# lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04
# uname -a
Linux dzur 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux
# cat /proc/version_
Ubuntu 2.6.32-
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: libvirt-bin 0.7.5-5ubuntu27
ProcVersionSign
Uname: Linux 2.6.32-22-generic x86_64
Architecture: amd64
Date: Tue Jun 29 12:24:47 2010
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: libvirt
summary: |
- Libvirt/kvm permissions/ownership issue on upgrade from Kosmic to Lucid + Libvirt/kvm permissions/ownership issue on upgrade from Karmic to Lucid |
Changed in libvirt (Ubuntu): | |
status: | Incomplete → Fix Released |
Are you part of the libvirtd group ?
In doubt: just paste the output of "grep libvirtd /etc/group"