Bug 1137041

Summary: GDM hangs when cancelling ldap user login
Product: Red Hat Enterprise Linux 7 Reporter: Joe Wright <jwright>
Component: gnome-shellAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 7.0CC: james.faulkner, joboyer, mboisver, rstrode, tpelka, vbenes
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gnome-shell-3.8.4-37.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 13:21: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:
Embargoed:

Description Joe Wright 2014-09-03 22:18:37 UTC
Description of problem:
- gdm hangs when attempting to cancel a login from an LDAP user with user list disabled

Version-Release number of selected component (if applicable):
- RHEL 7
- gdm-3.8.4-28.el7_0.1

How reproducible:
- intermittent
- does not seem reproduceable with local or root users

Steps to Reproduce:
1. Enter user name at GDM login screen and press enter
2. type password (incorrect, correct or partial) and click Cancel
3. GDM hangs

Actual results:
- GDM hang

Expected results:
- Return to GDM login screen

Additional info:
This issue has been reported in the following external bugs:

- https://bugs.launchpad.net/ubuntu-gnome/+bug/1280217
- https://bugzilla.gnome.org/show_bug.cgi?id=724532

Comment 1 Joe Wright 2014-09-03 22:26:01 UTC
To disable the user list:

Create `/etc/dconf/db/gdm.d/01-custom` with the following contents:

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

Afterwards run `dconf update` to make the above setting live.

Comment 3 Ray Strode [halfline] 2014-09-30 16:36:06 UTC
looks like we need to just release the hold when erroring, but this is a gnome-shell bug not a gdm bug.

Comment 4 Ray Strode [halfline] 2014-10-07 18:57:16 UTC
So comment 3 was a little off.  The holds are only currently being used for timed login, so they aren't the issue at hand. It's actually just the login dialog disabling the widgets but never enabling them again.  Normally they get reenabled when the authprompt is hidden, but it's never hidden with disable-user-list.

I did notice one other issue related with network logon while I was debugging things:

   AuthPrompt.MessageType is undefined

I corrected that at the same time.

Should be all set

Comment 8 errata-xmlrpc 2015-03-05 13:21: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://rhn.redhat.com/errata/RHSA-2015-0535.html