GNOME Boxes Won't Allow Me To Create a VM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-boxes (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Lunar |
Fix Released
|
High
|
Unassigned |
Bug Description
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-
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.
Changed in gnome-boxes (Ubuntu): | |
importance: | Undecided → High |
description: | updated |
Changed in gnome-boxes (Ubuntu): | |
status: | Confirmed → In Progress |
tags: | added: lunar |
Changed in gnome-boxes (Ubuntu Lunar): | |
status: | In Progress → Fix Committed |
Installing libvirt-clients fixes this issue. This should be made to be a dependency of gnome-boxes for lunar.