Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1654446

Summary: Timedlogin fails when userlist is disabled after upgrading from RHEL 7.5 to 7.6
Product: Red Hat Enterprise Linux 7 Reporter: tfahl
Component: gnome-shellAssignee: Florian Müllner <fmuellner>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.6CC: bobd, David.M.Cooke, jadahl, tfahl, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1668895 (view as bug list) Environment:
Last Closed: 2021-03-15 07:31:47 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:    
Bug Blocks: 1668895    

Description tfahl 2018-11-28 20:06:24 UTC
Description of problem:
After upgrading from RHEL 7.5 to 7.6 the TimedLogin option for gdm is no longer working. The error only occurs when the user list is disabled. With the user list enabled Timedlogin works for users on the user list. 

Version-Release number of selected component (if applicable):
RHEL 7.6 
gdm-3.28.2-10.el7.x86_64
gnome-desktop3-3.28.2-2.el7.x86_64
gnome-shell-3.28.3-6.el7.x86_64

How reproducible:
Always reproducible

Steps to Reproduce:
1. Setup the Timedlogin option in /etc/gdm/custom.conf
[daemon]
TimedLoginEnable=true
TimedLogin=USER
TimedLoginDelay=10

2. Add dconf settings to disable the userlist on the login screen
Create the file: /etc/dconf/db/gdm.d/00-login-screen and add these options:

[org/gnome/login-screen]
disable-user-list=true

Update dconf via 'dconf update'

3. Restart gdm via 'systemctl restart gdm.service'

Actual results:
The user never logs in

Expected results:
After a timeout of 10 seconds the specified user is logged in.

Additional info:

The following error can be seen in journalctl

gnome-shell[36678]: JS ERROR: Exception in callback for signal: release: TypeError: this._timedLoginItem is null                                              _showTimedLoginAnimation@resource:///org/gnome/shell/gdm/loginDialog.js:1003:9                                               wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22                                             run@resource:///org/gnome/shell/gdm/batch.js:64:20                                             wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22                                             runTask@resource:///org/gnome/shell/gdm/batch.js:144:16                                            wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22                                             process@resource:///org/gnome/shell/gdm/batch.js:210:19                                             wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22                                              nextTask@resource:///org/gnome/shell/gdm/batch.js:161:9                                             wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22                                             process@resource:///org/gnome/shell/gdm/batch.js:222:12                                             wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22                                            nextTask@resource:///org/gnome/shell/gdm/batch.js:161:9                                              wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22                                             process/signalId<@resource:///org/gnome/shell/gdm/batch.js:217:16                                              _emit@resource:///org/gnome/gjs/modules/signals.js:128:27                                               release@resource:///org/gnome/shell/gdm/batch.js:102:13                                            wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22                                          _blockTimedLoginUntilIdle/this._timedLoginIdleTimeOutId<@resource:///org/gnome/shell/gdm/loginDialog.js:1022:17

Comment 2 Bob Dingman 2019-06-28 13:12:30 UTC
I encountered this as well but had not discovered the dependence on the login-screen "disable-user-list=true" setting. Thank you for posting!

It was confusing because AutomaticLogin still works (i.e., with RHEL 7.6 with the login-screen "disable-user-list=true" setting.)

Comment 5 RHEL Program Management 2021-03-15 07:31:47 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.