Bug 1309753

Summary: Gnome update notifications are disabled for all users
Product: [Fedora] Fedora Reporter: Alan Jenkins <alan.christopher.jenkins>
Component: gnome-softwareAssignee: Richard Hughes <rhughes>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: klember, rhughes
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-20 10:45:39 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:

Description Alan Jenkins 2016-02-18 15:41:32 UTC
Description of problem:
I've not been seeing update notifications from GNOME for at least the past few weeks, probably months.

I struggle to troubleshoot update issues, but it looks like GNOME is failing to show notifications even when updates are visible in `pkcon get-updates`.

Any help would be appreciated :).

I can manage to manually prod gnome-software into downloading updates, and that works ok.



Version-Release number of selected component (if applicable):
gnome-software-3.18.3-1.fc23.x86_64
gnome-shell-3.18.3-1.fc23.x86_64
gnome-session-3.18.1.2-2.fc23.x86_64
PackageKit-1.0.11-1.fc23.x86_64

How reproducible:
Haven't seen a notification in weeks.

Steps to Reproduce:
1. See updates in `dnf check-updates`.  (`--refresh` may be used if the update is very recent, but I never noticed it being necessary.)
2. See updates in `pkcon -c -1 refresh force && pkcon -c -1 get-updates`.  The force may be necessary to make sure recent updates are seen.
3. Then expect to see a desktop notification.  I also tried the hurry-up instructions at https://fedoraproject.org/wiki/QA:Testcase_desktop_update_notification and the suggestion to look at pkmon to see if it's downloading in the background.


Actual results:
Update notification doesn't appear.

pkmon doesn't show any transaction that says updates (or downloading of packages).  I do see a "resolve" transaction and then some "get-details".


Expected results:

The QA Testcase refers to Fedora 24.  I expect the hurry-up instructions are up to date, therefore I shouldn't have to wait more than ten minutes to see some downloading activity in pkmon.

Additional info:
I also tried testing a fresh user in case my GNOME settings were borked.

Before I found https://fedoraproject.org/wiki/QA:Testcase_desktop_update_notification, I tried just setting the date forward a couple of days.

Comment 1 Alan Jenkins 2016-02-18 15:48:43 UTC
I read bug 1043176 (listed as F22).  I have various fc22 packages on my fc23 system, most likely all from rpmfusion.  So I guess that bug might explain it.

Comment 2 Alan Jenkins 2016-02-20 10:45:39 UTC
Proximate causes found :).

$ gsettings get org.gnome.software download-updates
false

_I see the same result for a newly created user_.  Google leads me to:

# cat /usr/share/glib-2.0/schemas/org.gnome.software.gschema.override
[org.gnome.software]
download-updates=false


the Google result was to do with Fedora Live (the Live system doesn't show update notifications for obvious reasons).  And now I remember, during install I had some shenanigans where the install still thought it was a live system.  (It auto-logged in to liveuser & showed the try/install choice window).

I should probably re-install, in case there's anything else lurking!  (I didn't want to do that until I was sure it wasn't going to break again).