Merge lp:~mterry/lightdm/respawn into lp:lightdm
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Robert Ancell | ||||
Approved revision: | 1980 | ||||
Merged at revision: | 1977 | ||||
Proposed branch: | lp:~mterry/lightdm/respawn | ||||
Merge into: | lp:lightdm | ||||
Diff against target: |
13 lines (+3/-0) 1 file modified
debian/lightdm.upstart (+3/-0) |
||||
To merge this branch: | bzr merge lp:~mterry/lightdm/respawn | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Ancell | Approve | ||
PS Jenkins bot | continuous-integration | Needs Fixing | |
Review via email: mp+217808@code.launchpad.net |
Commit message
Respawn lightdm if it dies unexpectedly.
Description of the change
Respawn lightdm if it dies unexpectedly.
Bug 1314659 notes that in Ubuntu Touch, the behavior if USC crashes is not great -- user is just left with a blank screen.
Right now, if USC crashes, lightdm also stops because its only display server died. But it doesn't come back up because 'respawn' isn't specified in its upstart file. I'd argue that it's correct to do so and is an easy way to fix the bug from an end-user perspective.
In Desktop land, if the user X dies, I believe we just shunt the user to the greeter, which isn't bad. But if the greeter is the only session up and its X dies, I think we'd be stuck in the same situation as Touch is now and would thus benefit from this change.
The one oddity is that Mir doesn't handle stale sockets well. This is a known issue, and most other mirservers (unity8 and unity8-greeter) just delete the socket before using it -- unity8 in its upstart job, the greeter in a wrapper script.
So I've added a line to remove the socket before use.
This is going to break fallback mode on desktop right?