Bug 1373837

Summary: gdm not starting because of error in config
Product: Red Hat Enterprise Linux 7 Reporter: Martin Krajnak <mkrajnak>
Component: gdmAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.3CC: jkoten, mboisver, mclasen, tpelka, vbenes
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gdm-3.22.3-3.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 22:57:55 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:
Bug Depends On:    
Bug Blocks: 1370511    

Description Martin Krajnak 2016-09-07 08:55:54 UTC
Description of problem:
gdm was frozen right after start, because of misconfigured /etc/gdm/custom.conf where I had:

[daemon]
AutomaticLoginEnable = true
AutomaticLogin = test

There was no user named test in system. After commenting these lines everything solved the problem but gdm greeter should be shown despite the error in config and there should be no freezes.


Version-Release number of selected component (if applicable):
gdm-3.14.2-18.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. add user test
2. configure autologin
3. delete user test
4. restart system

Actual results:
System is frozen after gdm starts.

Expected results:
System should show gdm greeter screen or some error message without freezes.

Additional info:

Comment 1 Ray Strode [halfline] 2016-09-07 14:27:21 UTC
upstream bug has a patch, though, it also points out the patch is less than optimal.

We should probably fix this in 7.4 via rebase than in 7.3

Comment 2 Tomas Pelka 2016-09-07 14:42:20 UTC
(In reply to Ray Strode [halfline] from comment #1)
> upstream bug has a patch, though, it also points out the patch is less than
> optimal.
> 
> We should probably fix this in 7.4 via rebase than in 7.3

No one hit this issue except QE, so I guess it is save to fix in 7.4.

Comment 3 Ray Strode [halfline] 2016-09-07 14:53:59 UTC
right, it's not a regression or anything, i think it's been a problem since RHEL 3, but at least since RHEL 5.

We should fix it for 7.4 though.

Comment 4 Ray Strode [halfline] 2017-03-10 18:54:58 UTC
okay added the patch from the upstream bug.

Comment 6 Michael Boisvert 2017-05-25 15:12:35 UTC
The solution is pretty good actually. The system automatically logs into a new basic GNOME session that gets your name/username/password during the initial setup. After you complete it, you are logged into your new account.

Comment 7 errata-xmlrpc 2017-08-01 22:57:55 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/RHSA-2017:2128