Red Hat Bugzilla – Bug 598668
virt-manager: permission errors trying to use ISO
Last modified: 2010-08-27 10:36:10 EDT
Description of problem:
Using a Qemu connection virtmanager always hijacks ISO9660 files, giving ownership to the qemu user and group. After having done so the file is reported as being unreadable by qemu and virt-manager is then unable to use it. Using Qemu directly, i.e. not using virt-manager, allows reading the file, as it should be.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Setup a new virtual machine in virt-manager and configure it to boot from an ISO file.
2. Finish the installation.
3. Sit back and relax.
Virt-manager hijacks the ISO file and then refuses to read the file afterwards -- reporting insufficient rights.
Virt-manager should start the virtual machine and (try to) boot from the file.
Please provide ~/.virt-manager/virt-manager.log, or the output of a run with virt-manager --debug
It's actually libvirt that is change the permissions of the file, but it does so to allow qemu to run, not break things. Is the ISO stored on NFS or similar? Does doing 'setenforce 0' make things work? Could be an selinux issue at work.
SELinux was disabled already so setenforce wouldn't change anything :-)
The file was on a local, regular, ext4 partition. Anyway, the problem appears to have disappeared.
Okay, closing as WORKSFORME, but please reopen if the issue reappears.