This bug was initially created as a copy of Bug #1868818 I am copying this bug because: This issue is still valid on Fedora 37. Description of problem: With a freshly installed Fedora (Workstation) system, gnome-boxes does not have all the necessary dependencies installed. Version-Release number of selected component (if applicable): gnome-boxes-43.2-1.fc37.x86_64 How reproducible: Always. Steps to Reproduce: 1. Perform a fresh installation of Fedora Workstation and update the system. 2. Open GNOME Boxes so that it performs its initialization. Then close the application. 3. Run the command `gnome-boxes --checks'. Actual results: The command output is as follows: $ gnome-boxes --checks (gnome-boxes:3993): Boxes-WARNING **: 21:36:31.976: util-app.vala:442: Failed to execute child process ?virsh? (No such file or directory) • The CPU is capable of virtualization: yes • The KVM module is loaded: yes • Libvirt KVM guest available: no • Boxes storage pool available: no Could not get “gnome-boxes” storage pool information from libvirt. Make sure “virsh -c qemu:///session pool-dumpxml gnome-boxes” is working. • The SELinux context is default: yes Report bugs to <http://gitlab.gnome.org/gnome/gnome-boxes/issues>. Boxes home page: <https://wiki.gnome.org/Apps/Boxes>. Expected results: $ gnome-boxes --checks • The CPU is capable of virtualization: yes • The KVM module is loaded: yes • Libvirt KVM guest available: yes • Boxes storage pool available: yes • The SELinux context is default: [...] Report bugs to <http://gitlab.gnome.org/gnome/gnome-boxes/issues>. Boxes home page: <https://wiki.gnome.org/Apps/Boxes>. Additional info: The issue is resolved after installing 'libvirt-client'.
Proposed changes scratch builds: rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=96473498 f37: https://koji.fedoraproject.org/koji/taskinfo?taskID=96473971 f36: https://koji.fedoraproject.org/koji/taskinfo?taskID=96474074 I'm not sure how the current maintainer would like to manage porting between branches so I didn't normalize the spec, just added the Requires.
Created attachment 1939554 [details] Add Requires rawhide.
Created attachment 1939555 [details] Add Requires f37.
Created attachment 1939556 [details] Add Requires f36.
Thanks for the report. I opted to solve this a little differently, with a dependency on /usr/bin/virsh.
FEDORA-2023-1faf2bd800 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-1faf2bd800
FEDORA-2023-d3d269d640 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-d3d269d640
FEDORA-2023-d3d269d640 has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-d3d269d640` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-d3d269d640 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-1faf2bd800 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-1faf2bd800` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-1faf2bd800 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-1faf2bd800 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-d3d269d640 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.