Created attachment 1639312 [details] gnome-software --verbose output Description of problem: Since upgrading from gnome-software-3.34.1-2.fc31.x86_64 to 3.34.1-6, I'm getting an indefinite hang when I click on certain things: Updates tab (always), certain applications after doing a search (Dropbox). Version-Release number of selected component (if applicable): gnome-software-3.34.1-2.fc31.x86_64 gnome-software-3.34.1-6.fc31.x86_64 PackageKit-1.1.12-11.fc31.x86_64 flatpak-1.4.3-3.fc31.x86_64 How reproducible: Always for Updates tab; and I haven't figured out the pattern for clicking on applications in Explore tab (directly or following a search). Always happens now even after downgrading to -2 and I'm not sure what other component could possibly do this. Maybe flatpak? I'm gonna say not PackageKit because it hasn't seen an update since July on F31. Steps to Reproduce: 1. killall gnome-software 2. gnome-software --verbose 3. click on Updates tab Actual results: Hang for > 15 minutes Expected results: No hang, or discrete actionable error message. Additional info: Attaching verbose output, excerpts of that below Updates tab hang with spinner: 20:46:11:0330 Gs Disconnecting cancellable 0x5580c7f79aa0 20:50:18:0444 PK notify::connected 21:08:59:0669 Gs pushing back entry for overview Search for dropbox, click on the first dropbox result, hang with spinner starts at 21:10:29:0461 flatpak Calling system helper: GenerateOciSummary 21:15:28:0448 PK notify::connected 21:19:54:0361 Gs network status change: online [unmetered] 21:19:54:0411 Gs Chaining cancellation from 0x5580c7f79aa0 to 0x5580c9e91de0 ... 21:46:11:0327 Gs Disconnecting cancellable 0x5580c7f79aa0 Still hung at 21:52 when I'm giving up. The whole time of the hang, all I see is a gray screen in GNOME Software with a spinner in the middle, see attached screenshot.
Created attachment 1639313 [details] gnome-software updates hang screenshot
Does not occur when booting with enforcing=0 This is probably fallout from selinux-policy-3.14.4-42.fc31.noarch
Nov 24 15:07:58 flap.local audit[2140]: AVC avc: denied { execute } for pid=2140 comm="(m-helper)" name="flatpak-system-helper" dev="nvme0n1p7" ino=1691054 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=0 trawcon="system_u:object_r:flatpak_helper_exec_t:s0" Looks like gnome-software gets frustrated and hangs upon flatpak-system-helper being subject to an selinux AVC denial.
Not fixed by downgrading to selinux-policy-3.14.4-40.fc31.noarch.
This bug and the AVC denial, go away upon downgrading flatpak 1.4.3-3 to 1.4.3-2, including all of these files. flatpak-1.4.3-2.fc31.x86_64.rpm flatpak-libs-1.4.3-2.fc31.x86_64.rpm flatpak-selinux-1.4.3-2.fc31.x86_64.rpm flatpak-session-helper-1.4.3-2.fc31.x86_64.rpm
To complete workaround from comment#5, please also run: # restorecon -Rv / after downgrading mentioned packages.
(In reply to Chris Murphy from comment #4) > Not fixed by downgrading to selinux-policy-3.14.4-40.fc31.noarch. FWIW, I managed to fix the issue on both of my systems by: - first downgrading (which also had a scriptlet failure) - AND then reinstalling the stable version of selinux-policy(-targeted). I'm running SELinux in enforcing mode again without any AVC denials. Maybe that detail helps.
IMHO bug is in selinux-policy(and/or container-selinux) and not in flatpak (cause the same issue is with podman)
Lukas you think this is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1776248?
This message is a reminder that Fedora 31 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 31 on 2020-11-24. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '31'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 31 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 31 changed to end-of-life (EOL) status on 2020-11-24. Fedora 31 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.