Bug 1789753

Summary: gnome-shell logs AuthList property defined with 'let' or 'const'
Product: Red Hat Enterprise Linux 7 Reporter: Divya <dbasant>
Component: gnome-shellAssignee: Florian Müllner <fmuellner>
Status: CLOSED CURRENTRELEASE QA Contact: Desktop QE <desktop-qa-list>
Severity: low Docs Contact:
Priority: low    
Version: 7.6CC: fmuellner, jadahl, mcatanza, mertensb.mazda, vchoudha, vpakolu
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1860946 (view as bug list) Environment:
Last Closed: 2020-07-30 13:38:33 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:
Attachments:
Description Flags
Patch to fix the problem dbasant: review?

Description Divya 2020-01-10 10:53:00 UTC
Created attachment 1651239 [details]
Patch to fix the problem

Description of problem:
Below message is logged in /var/log/messages on reboot:

gnome-shell: Some code accessed the property 'AuthList' on the module 'authList'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard

Version-Release number of selected component (if applicable):
gnome-shell-3.28.3-6.el7

How reproducible:
Always

Steps to Reproduce:
1. Reboot the system and notice the mentioned messages in the log

Actual results:
On reboot /var/log/mesaage logs the mentioned messages.

Expected results:
No such log messages should appear

Additional info:
Attached patch file solves the problem. A test patch was provided and has been verified by the customer

Comment 2 mertensb.mazda 2020-07-16 11:54:08 UTC
What information is needed for this issue?

I am seeing the same error on RHEL 8.2:
Jul 16 13:50:59 <hostname> gnome-shell[2891]: Some code accessed the property 'AuthList' on the module 'authList'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.

gnome-shell-extension-desktop-icons-3.32.1-10.el8.noarch
gnome-shell-extension-places-menu-3.32.1-10.el8.noarch
gnome-shell-extension-window-list-3.32.1-10.el8.noarch
gnome-shell-extension-apps-menu-3.32.1-10.el8.noarch
chrome-gnome-shell-10.1-6.el8.x86_64
gnome-shell-extension-launch-new-instance-3.32.1-10.el8.noarch
gnome-shell-3.32.2-14.el8.x86_64
gnome-shell-extension-common-3.32.1-10.el8.noarch
gnome-shell-extension-horizontal-workspaces-3.32.1-10.el8.noarch

Comment 4 Michael Catanzaro 2020-07-27 14:04:53 UTC
(In reply to mertensb.mazda from comment #2)
> What information is needed for this issue?

None, there's a patch in the first comment.

Comment 6 Florian Müllner 2020-07-30 13:38:33 UTC
This was already fixed as part of #1751121.

Comment 7 mertensb.mazda 2020-07-31 12:09:01 UTC
Bug #1751121 mentions version gnome-shell-3.28.3-29.el7.

The version of RHEL8 is gnome-shell-3.32.2-14.el8.x86_64.
I am still seeing this error on RHEL8:
[root@rh8desktop-1 ~]# journalctl -b | grep -i "authlist"
Jul 31 14:03:39 rh8desktop-1.anubex.internal gnome-shell[1992]: Some code accessed the property 'AuthList' on the module 'authList'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.

This with all current updates installed.

Comment 8 Michael Catanzaro 2020-07-31 12:39:52 UTC
It's not fixed in RHEL 8. I reported bug #1860946 for that.

Comment 9 Michael Catanzaro 2020-07-31 12:40:16 UTC
(It really is fixed in upcoming RHEL 7.9. This is the RHEL 7 bug.)