-
Committer:
Bileto Bot
-
Author(s):
Michael Terry
-
Date:
2016-08-05 20:36:17 UTC
-
mfrom:
(2377.1.3 trunk)
-
Revision ID:
ci-train-bot@canonical.com-20160805203617-jj1id21r27vlg8ic
There are two in-session bugs fixed here.
One is a lightdm crash when an in-session greeter tries to authenticate any user a second time.
The second fix stops lightdm from closing a session if a greeter tries to start a new authentication after already succeeding in authenticating a user.
== The crash ==
Fixed by r2378 in this branch. It seemed the seat was shutting down the greeter-session's authentication session. But the greeter wasn't watching its auth session to see when it got closed. And it would try to use it later.
So I've simply added a watch for that signal.
== Closing a session ==
Fixed by r2379 in this branch. If a greeter-session's authentication session becomes a real boy, we don't want to stop that session when doing a new authentication.
So if the auth session is running a command, I've changed the code to not close the session when resetting the greeter state.