[Swan-dev] qemu-img: Could not open '/home/build/pool/swanfedora22base.qcow2
D. Hugh Redelmeier
hugh at mimosa.com
Fri Jul 20 04:12:49 UTC 2018
I'm setting up a new test system.
make kvm-install failed with this message:
qemu-img convert \
-p -O qcow2 \
/home/build/pool/swanfedora22base.qcow2 \
/home/build/pool/a.clone.qcow2.tmp
qemu-img: Could not open '/home/build/pool/swanfedora22base.qcow2': Could not open '/home/build/pool/swanfedora22base.qcow2': Permission denied
observations:
-rw-r-----. 1 root qemu 8591507456 Jul 19 23:22 swanfedora22base.qcow2
-rwxr-xr-x. 1 root root 1773200 Jul 3 13:42 /usr/bin/qemu-img
This would work if qemu-img were setgid qemu.
The makefile seems to expect that to be the case.
On the other hand, my old test system has the same file ownerships and
permissions.
Doing this
sudo chmod a+r ../pool/swanfedora22base.qcow2
make kvm-install
gets past this point.
More information about the Swan-dev
mailing list