RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1512662 - gnome-shell throws an exception every time user clicks system menu if logout is disabled
Summary: gnome-shell throws an exception every time user clicks system menu if logout ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gnome-shell
Version: 7.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Florian Müllner
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-13 19:36 UTC by Ray Strode [halfline]
Modified: 2018-05-17 14:39 UTC (History)
2 users (show)

Fixed In Version: gnome-shell-3.26.2-2.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-10 13:07:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 790306 0 Normal NEW system: don't throw an exception if power off disabled 2020-03-20 20:36:23 UTC
Red Hat Product Errata RHBA-2018:0770 0 None None None 2018-04-10 13:08:27 UTC

Description Ray Strode [halfline] 2017-11-13 19:36:32 UTC
If an admin disables logout for users using polkit:

╎❯ cat /etc/polkit-1/localauthority/90-mandatory.d/disable-shutdown.pkla
[Disallow shutdown]
Identity=unix-user:*
Action=org.freedesktop.login1.power-off*;org.freedesktop.login1.reboot*;org.freedesktop.login1.suspend*;org.freedesktop.login1.hibernate*;
ResultInactive=no
ResultActive=no

Then gnome-shell throws an exception when users click on the system menu:

Nov 13 13:56:01 localhost.localdomain gnome-shell[3346]: JS ERROR: TypeError: childToShow is null
                                                         AltSwitcher<._sync@resource:///org/gnome/shell/ui/status/system.js:70:13
                                                         wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                         SystemActions<._updatePowerOff@resource:///org/gnome/shell/misc/systemActions.js:335:9
                                                         wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
                                                         SystemActions<._updateHaveShutdown/<@resource:///org/gnome/shell/misc/systemActions.js:326:13
                                                         _proxyInvoker/asyncCallback@resource:///org/gnome/gjs/modules/overrides/Gio.js:90:13

Comment 6 errata-xmlrpc 2018-04-10 13:07:25 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, 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/RHBA-2018:0770


Note You need to log in before you can comment on or make changes to this bug.