Bug 1527143

Summary: TimedLogin via custom.conf no longer working (again)
Product: Red Hat Enterprise Linux 7 Reporter: Michael Boisvert <mboisver>
Component: gnome-shellAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.5CC: bgollahe, jkoten, lmiksik, mboisver, mclasen, tpelka
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
URL: https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/34
Whiteboard:
Fixed In Version: gnome-shell-3.26.2-4.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 13:08:48 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: 1527213    
Attachments:
Description Flags
var/log/gdm files
none
journalctl -ab none

Description Michael Boisvert 2017-12-18 16:05:41 UTC
Created attachment 1369578 [details]
var/log/gdm files

Description of problem: Timed login via the custom.conf method is not working anymore. 

How reproducible: 100%

Steps to Reproduce:

1. Add following lines into file:  /etc/gdm/custom.conf
          [daemon]
          TimedLoginEnable=true
          TimedLogin=$username
          TimedLoginDelay=10
2. Run "systemctl restart gdm"

Actual results: The timed login progress bar never appears and the user is never automatically logged in after 10 second. 

Expected results: The specified user is automatically logged in after the specified 10 seconds.

More info: Timed login works when the user list is disabled.

Comment 2 Michael Boisvert 2017-12-18 16:06:17 UTC
Created attachment 1369579 [details]
journalctl -ab

Comment 4 Ray Strode [halfline] 2018-02-13 19:16:33 UTC
seems to be a mistake introduced when one of the downstream patches got rebased:

+                                                          let currentTime = GLi
+.get_monotonic_time();

should be:

+                                                          let currentTime = GLib.get_monotonic_time();•

Comment 7 Michael Boisvert 2018-02-14 19:24:00 UTC
I can verify this now works on gnome-shell-3.26.2-4.el7.

Comment 10 errata-xmlrpc 2018-04-10 13:08:48 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