Merge lp:~mterry/lightdm/dbus-activate-logind into lp:lightdm
Proposed by
Michael Terry
Status: | Merged |
---|---|
Approved by: | Robert Ancell |
Approved revision: | 1988 |
Merged at revision: | 1987 |
Proposed branch: | lp:~mterry/lightdm/dbus-activate-logind |
Merge into: | lp:lightdm |
Diff against target: |
66 lines (+37/-5) 2 files modified
src/login1.c (+37/-1) tests/src/libsystem.c (+0/-4) |
To merge this branch: | bzr merge lp:~mterry/lightdm/dbus-activate-logind |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Approve | |
Robert Ancell | Approve | ||
Review via email: mp+219576@code.launchpad.net |
Commit message
DBus-activate logind
Description of the change
DBus-activate logind.
While debugging a bug introduced by some upstart changes in Touch, I noticed that if LightDM starts before logind happens to be dbus-activated somewhere else, it will think it isn't available.
LightDM currently only checks if logind is ALREADY started. But since logind is started via dbus-activation instead of upstart, we can't ensure that. So when we check if logind is available, we should instead see if it can be started.
To post a comment you must log in.
Oh, right. Let me change test system for this.