Unable to clone box when it is running
With a box running, the Clone action is available for clicking from the box's context menu, but it fails to clone with popup message
Box import from file “<box-filename>” failed.
(where "<box-filename>" is just placeholder for the filename)
Reading GNOME Boxes's console output, the failed command was qemu-img convert -O qcow2 <box-filename> <cloned-box-filename>
, and running this command returns:
qemu-img: Could not open '<box-filename>': Failed to get shared "write" lock
Is another process using the image [<box-filename>]?
Shutting down the box and applying the Clone action works just fine.
Environment: Arch Linux 64-bit, gnome-boxes 3.32.0.2-1, emu 3.1.0-2