2023-04-18 14:05:04 |
Jeremy Bícha |
description |
Hello,
I am on the Ubuntu 23.04 beta running GNOME Boxes 44. When I try to create a VM, the button that usually lets me proceed after choosing an OS and the VM options is disabled. This message is printed to the console.
Failed to execute child process “virsh” (No such file or directory)
Please let me know if there is something I'm doing wrong.
Thanks,
Dylan |
Impact
======
GNOME Boxes does not allow creating a new VM when installed on a clean Ubuntu 23.04 system because it is missing a required dependency.
Test Case
=========
1. From Ubuntu 23.04, install GNOME Boxes
2. Open GNOME Boxes
3. Click the + button to create a new box using an existing downloaded ISO or let it download one for you.
4. The New Virtual Machine dialog will display (after it finishes downloading the ISO if needed)
5. The Create button should be active
6. Click the Create button and Boxes should start a virtual machine and boot that ISO
What Happens Instead
====================
Without this fix, the Create button is always disabled.
What Could Go Wrong
===================
This change just adds
Depends: libvirt-clients
to the gnome-boxes packaging.
The similar but less simple app virt-manager already pulls in libvirt-clients. (virt-manager Recommends libvirt-daemon-system which Depensd on libvirt-clients).
libvirt-clients provides /usr/bin/virsh which GNOME Boxes needs. libvirt-clients also provides a few other virtualization CLI utilities which are not needed but also aren't a problem to be included.
Original Bug Report
===================
I am on the Ubuntu 23.04 beta running GNOME Boxes 44. When I try to create a VM, the button that usually lets me proceed after choosing an OS and the VM options is disabled. This message is printed to the console.
Failed to execute child process “virsh” (No such file or directory)
Please let me know if there is something I'm doing wrong. |
|