Bug 1814820

Summary: No checkbox to install updates in the shutdown dialog
Product: Red Hat Enterprise Linux 8 Reporter: Michael Catanzaro <mcatanza>
Component: PackageKitAssignee: Michael Catanzaro <mcatanza>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.3CC: bcotton, extras-qa, fmuellner, gnome-sig, jadahl, jeischma, jkoten, klember, mcatanza, mkrajnak, otaylor, philip.wyett, tpelka
Target Milestone: rcKeywords: CommonBugs
Target Release: 8.0   
Hardware: All   
OS: Linux   
Whiteboard: https://fedoraproject.org/wiki/Common_F32_bugs#shutdown-no-offlineadd 1805265 (update prompt on shutdown menu missing in GNOME)
Fixed In Version: PackageKit-1.1.12-5.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1805265 Environment:
Last Closed: 2020-11-04 01:34:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1805265    
Bug Blocks:    

Description Michael Catanzaro 2020-03-18 17:45:17 UTC
+++ This bug was initially created as a clone of Bug #1805265 +++

When gnome-software/packagekitd prepared packages for offline updates there was a checkbox in the shutdown dialog to perform offline updates before shutdown/reboot.

It was a convenient way for users to do updates and a reminder they have updates waiting without which many users fail to ever install updates.

Since (probably) F31 it no longer works. The checkbox doesn't show up when there are updates. To make the checkbox appear you have to open GNOME Software, go to the Updates screen, click "Reboot and install", click Cancel and then open the shutdown dialog.

This is most likely caused by suspending the packagekitd process. GNOME Shell then cannot check the status of updates and can't show the checkbox.

Proposed solutions:
1) revert the change to suspend the packagekitd process when it's not needed.

2) resume the packagekitd process to get the updates status before the shutdown dialog is shown.

The option 2) would be preferred if it significantly doesn't delay the shutdown dialog because 1) would result in constantly higher consumption of memory.

--- Additional comment from Ben Cotton on 2020-02-26 12:26:09 CST ---

Deferring a decision on Prioritized Bug status until after we consult with the Workstation WG. https://meetbot.fedoraproject.org/fedora-meeting/2020-02-26/fedora_prioritized_bugs_and_issues.2020-02-26-16.00.log.html#l-105

Workstation WG ticket created: https://pagure.io/fedora-workstation/issue/133

--- Additional comment from Michael Catanzaro on 2020-02-26 12:39:48 CST ---

We think it's been broken since Fedora 29.

--- Additional comment from Ben Cotton on 2020-03-11 12:06:21 CDT ---

This is accepted as a Priortized Bug: https://meetbot.fedoraproject.org/fedora-meeting/2020-03-11/fedora_prioritized_bugs_and_issues.2020-03-11-15.00.log.html#l-73

--- Additional comment from Michael Catanzaro on 2020-03-17 18:40:36 CDT ---

BTW: this regressed in PackageKit 1.1.11 (nice version number). So Fedora 29 was indeed the first broken version.

Comment 2 Michael Catanzaro 2020-04-29 18:32:33 UTC
(In reply to Michael Catanzaro from comment #0)
> BTW: this regressed in PackageKit 1.1.11 (nice version number). So Fedora 29
> was indeed the first broken version.

We're going to revert the change in PackageKit, so makes sense to do that for RHEL 8, rather than patch gnome-shell.

Comment 16 errata-xmlrpc 2020-11-04 01:34:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: GNOME security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:4451