Bug 1090042

Summary: gnome updates notifcation not working
Product: [openSUSE] openSUSE Distribution Reporter: Ludwig Nussel <lnussel>
Component: GNOMEAssignee: Jonathan Kang <songchuan.kang>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P1 - Urgent CC: fcrozat, grace.wang, okurz, qkzhu, songchuan.kang, thehejik, yfjiang
Version: Leap 15.0   
Target Milestone: ---   
Hardware: Other   
OS: Other   
See Also: https://bugzilla.suse.com/show_bug.cgi?id=1007438
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Ludwig Nussel 2018-04-18 11:26:11 UTC
update notifications don't seem to work. Did we lose the fixes for bug 1007438 again?
Comment 5 Ludwig Nussel 2018-04-20 08:34:56 UTC
On part of the puzzle is that it looks like gnome-software does not work without fwupd installed. It shows an error. Please either make fwupd optional or add a require tag to the package.
Comment 6 Ludwig Nussel 2018-04-20 08:35:20 UTC
nevertheless gnome-software claims the system is up to date even though zypper patch shows updates.
Comment 7 Jonathan Kang 2018-04-20 08:55:18 UTC
(In reply to Ludwig Nussel from comment #6)
> nevertheless gnome-software claims the system is up to date even though
> zypper patch shows updates.

Yep, that's why GNOME Software's update notification didn't show up. And the
notification doesn't rely on fwupd.
Comment 9 Swamp Workflow Management 2018-04-23 10:00:05 UTC
This is an autogenerated message for OBS integration:
This bug (1090042) was mentioned in
https://build.opensuse.org/request/show/599939 Factory / gnome-software
Comment 10 Oliver Kurz 2018-04-24 06:04:56 UTC
I guess this bug is actually IN_PROGRESS, not NEW, right?

I checked manually on Leap 15.0 where the patch is not yet applied but I installed "fwupd" manually. Now, gnome software does not pop up an error anymore but still it reports "Software is up to date" though `zypper patch` reports available updates as Jonathan Kang explained.
Comment 11 Jonathan Kang 2018-04-24 08:03:10 UTC
(In reply to Oliver Kurz from comment #10)
> I guess this bug is actually IN_PROGRESS, not NEW, right?

Yep. In my 3 working P1 bugs :).
> 
> I checked manually on Leap 15.0 where the patch is not yet applied but I
> installed "fwupd" manually. Now, gnome software does not pop up an error
> anymore but still it reports "Software is up to date" though `zypper patch`
> reports available updates as Jonathan Kang explained.

Right. There is still an issue of GNOME Software not showing updates util
you run "pkcon update -d". I'm working on this.
Comment 13 Ludwig Nussel 2018-04-26 08:31:25 UTC
(In reply to Jonathan Kang from comment #11)
> (In reply to Oliver Kurz from comment #10)
> > I guess this bug is actually IN_PROGRESS, not NEW, right?
> 
> Yep. In my 3 working P1 bugs :).
> > 
> > I checked manually on Leap 15.0 where the patch is not yet applied but I
> > installed "fwupd" manually. Now, gnome software does not pop up an error
> > anymore but still it reports "Software is up to date" though `zypper patch`
> > reports available updates as Jonathan Kang explained.
> 
> Right. There is still an issue of GNOME Software not showing updates util
> you run "pkcon update -d". I'm working on this.

Any progress on that?
Comment 14 Ludwig Nussel 2018-04-26 08:32:19 UTC
btw, what is the update check algorithm? Are they always check on login or is there an interval? Is it configurable? how?
Comment 15 Jonathan Kang 2018-04-26 09:28:27 UTC
(In reply to Ludwig Nussel from comment #14)
> btw, what is the update check algorithm? Are they always check on login or
> is there an interval? Is it configurable? how?

updates will be checked 60 seconds after login, and then once per hour. But
it's not configurable.
Comment 16 Ludwig Nussel 2018-04-26 14:22:51 UTC
*** Bug 1090866 has been marked as a duplicate of this bug. ***
Comment 17 Jonathan Kang 2018-04-28 03:09:13 UTC
The problem is gsettings key "org.gnome.software.download-updates" in Leap 15
is set to false by default. It should be true by default, which is expected
and defined in gsettings schema file.

I'm not sure why it's set to false by default in Leap 15. I checked a few
branding packages and didn't find any clue.
Comment 18 Yifan Jiang 2018-05-03 03:10:08 UTC
The "false" was set in glib2-branding:

    glib2-branding/glib2-branding.gschema.override.in:@@IF_LEAP@@[org.gnome.software]
    glib2-branding/glib2-branding.gschema.override.in:@@IF_LEAP@@# Disable GNOME Software's automatic update notifications - openSUSE relies on
    glib2-branding/glib2-branding.gschema.override.in:@@IF_LEAP@@# gnome-settings-daemon's internal update plugin for update notifications.
    glib2-branding/glib2-branding.gschema.override.in:@@IF_LEAP@@download-updates = false

I have submitted to remove the lines in G:S, G:F and SLE-15:GA simultaneously because of the urgency.
Comment 20 Swamp Workflow Management 2018-05-03 14:00:10 UTC
This is an autogenerated message for OBS integration:
This bug (1090042) was mentioned in
https://build.opensuse.org/request/show/603689 Factory / glib2-branding
Comment 21 Jonathan Kang 2018-05-07 02:28:00 UTC
RESOLVED FIXED.