Libvirt/kvm farkled on Ludicrous Lynx

Charles Curley charlescurley at charlescurley.com
Tue Jun 29 12:16:55 MDT 2010


I just upgraded my desktop from Ubuntu Komic Koala to Ludicrous Lynx,
and upgraded to the latest. I now find that I cannot launch any virtual
machines using libvirt/qemu.

If I try to launch a VM having only a CD-ROM image for bulk storage, I
get:

 File "/usr/share/virt-manager/virtManager/engine.py", line 588, in
 run_domain
    vm.startup()
  File "/usr/share/virt-manager/virtManager/domain.py", line 150, in
 startup
    self._backend.create()
  File "/usr/lib/python2.6/dist-packages/libvirt.py", line 300, in
 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/libvirt/images/finnix-93.0.iso: Permission denied

This is a known bug: https://bugzilla.redhat.com/show_bug.cgi?id=517304

(I don't see any comparable bug in launchpad, but that could be because
of launchpad's brain-dead search.)




If I try to launch a VM with only a virtual hard drive, I get:

 File "/usr/share/virt-manager/virtManager/engine.py", line 588, in
 run_domain vm.startup()
  File "/usr/share/virt-manager/virtManager/domain.py", line 150, in
 startup self._backend.create()
  File "/usr/lib/python2.6/dist-packages/libvirt.py", line 300, in
 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:kvm:x:126:
/etc/passwd:libvirt-qemu:x:120:126:Libvirt
Qemu,,,:/var/lib/libvirt:/bin/false

Is there a fix?


-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB


More information about the PLUG mailing list