Bug 2162816 - gnome-boxes Missing Dependencies
Summary: gnome-boxes Missing Dependencies
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-boxes
Version: 37
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Christophe Fergeau
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-21 04:52 UTC by Jonathan Steffan
Modified: 2023-01-30 01:31 UTC (History)
6 users (show)

Fixed In Version: gnome-boxes-43.2-3.fc38 gnome-boxes-43.2-2.fc37 gnome-boxes-42.3-3.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-30 01:24:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Add Requires rawhide. (1.29 KB, patch)
2023-01-21 05:27 UTC, Jonathan Steffan
no flags Details | Diff
Add Requires f37. (1.23 KB, patch)
2023-01-21 05:27 UTC, Jonathan Steffan
no flags Details | Diff
Add Requires f36. (1.24 KB, patch)
2023-01-21 05:28 UTC, Jonathan Steffan
no flags Details | Diff

Description Jonathan Steffan 2023-01-21 04:52:35 UTC
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'.

Comment 1 Jonathan Steffan 2023-01-21 05:24:51 UTC
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.

Comment 2 Jonathan Steffan 2023-01-21 05:27:12 UTC
Created attachment 1939554 [details]
Add Requires rawhide.

Comment 3 Jonathan Steffan 2023-01-21 05:27:37 UTC
Created attachment 1939555 [details]
Add Requires f37.

Comment 4 Jonathan Steffan 2023-01-21 05:28:01 UTC
Created attachment 1939556 [details]
Add Requires f36.

Comment 5 David King 2023-01-21 09:36:43 UTC
Thanks for the report. I opted to solve this a little differently, with a dependency on /usr/bin/virsh.

Comment 6 Fedora Update System 2023-01-21 09:39:15 UTC
FEDORA-2023-1faf2bd800 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-1faf2bd800

Comment 7 Fedora Update System 2023-01-21 09:43:37 UTC
FEDORA-2023-d3d269d640 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-d3d269d640

Comment 8 Fedora Update System 2023-01-22 01:37:35 UTC
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.

Comment 9 Fedora Update System 2023-01-22 02:41:36 UTC
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.

Comment 10 Fedora Update System 2023-01-30 01:24:47 UTC
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.

Comment 11 Fedora Update System 2023-01-30 01:31:07 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.