Red Hat Bugzilla – Bug 538527
libvirt fails to allow attachment of iso file on samba share
Last modified: 2009-11-19 08:13:58 EST
Description of problem:
libvirt fails to allow the (temporary) connection of a .iso file
which exists on a samba share to a newly created virtual machine.
It complains about not being able to set permissions.
Because of this, it is not possible to install a new virtual
machine with an OS without copying the iso file to your desktop,
and chmod/chowning the file to what libvirt/qemu expects. This
is extremely unworkable when you have lots of iso files on a
Since the iso file is not to be considered a part of the emulated
system, I fail to understand why it even tries to chown/chmod the
iso file. It should leave the iso file for what it is. This worked
correctly in Fedora 11.
Version-Release number of selected component (if applicable):
Always. Just have a .iso file on a samba share and try to attach it.
Steps to Reproduce:
1. Create new VM.
2. Try to attach iso on samba share
3. Observe error.
[rubin@inden qemu]$ sudo virsh start bomans
error: Failed to start domain bomans
error: internal error unable to start guest: libvir: QEMU error : cannot set ownership on /net/Software/Fedora 12/Fedora-12-x86_64-DVD.iso: Permission denied
Correctly attached iso file to the VM so as to allow installation!
Added myself to CC list.
Thanks for the report
This sounds very similar to bug #517304, so I'm going to mark it as a dup of that even though it's about NFS
*** This bug has been marked as a duplicate of bug 517304 ***