Public bug reported: When using libvirt to start a kvm virtual machine the virtual machine fails with permission denied on disk:
% virsh start my-workstation error: Failed to start domain my-workstation error: internal error process exited while connecting to monitor: kvm: -drive file=/home/ressu/VMs/HardDisks/My workstation.qcow,if=none,id=drive-virtio-disk0,format=qcow2: could not open disk image /home/ressu/VMs/HardDisks/My workstation.qcow: Permission denied The disk image get chowned by libvirt to the correct user (libvirt-qemu) according to a strace. Directory permissions have been altered so that anyone can write to the directory to eliminate the possibility of a failing temp file. [ressu@patience:~/VMs/HardDisks] % ls -alF total 51227700 drwxrwxrwx 2 ressu ressu 4096 tammi 26 11:23 ./ drwxr-xr-x 3 ressu ressu 4096 marra 3 2010 ../ -rwxrwxrwx 1 root root 20708261888 syys 17 16:50 My workstation.qcow* The bug has been reproduced with 12.04 (last updated today), libvirt version being 0.9.8-2ubuntu9 ** Affects: libvirt (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/932590 Title: libvirt fails to start a KVM virtual machine: could not open disk image, Permission denied To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/932590/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs