Scans all user accounts when not required
Bug #1370852 reported by
Robert Ancell
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
Fix Released
|
High
|
Robert Ancell | ||
1.10 |
Fix Released
|
High
|
Robert Ancell | ||
lightdm (Ubuntu) |
Fix Released
|
High
|
Robert Ancell | ||
Trusty |
Fix Released
|
High
|
Robert Ancell | ||
Utopic |
Fix Released
|
High
|
Robert Ancell |
Bug Description
[Impact]
When AccountsService is not present on startup LightDM scans all the user accounts and attempts to access the dmrc file for each user. It does not use any information from the dmrc files. If you have many users and/or the dmrc files are on a slow filesystem this creates a big startup delay.
[Test Case]
1. Start LightDM on a system that doesn't have AccountsService and has many users
Expected result:
LightDM starts quickly
Observed result:
LightDM takes a long time to start
[Regression potential]
Low. We now only access the dmrc files when information from them i s required (lazy load). Tested with regression tests.
Changed in lightdm (Ubuntu Trusty): | |
importance: | Undecided → High |
Changed in lightdm (Ubuntu Utopic): | |
importance: | Undecided → High |
Changed in lightdm: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in lightdm (Ubuntu Trusty): | |
status: | New → Triaged |
Changed in lightdm (Ubuntu Utopic): | |
status: | New → Triaged |
Changed in lightdm: | |
assignee: | nobody → Robert Ancell (robert-ancell) |
Changed in lightdm (Ubuntu Trusty): | |
assignee: | nobody → Robert Ancell (robert-ancell) |
Changed in lightdm (Ubuntu Utopic): | |
assignee: | nobody → Robert Ancell (robert-ancell) |
Changed in lightdm: | |
status: | Triaged → Fix Committed |
milestone: | none → 1.12.0 |
Changed in lightdm: | |
status: | Fix Committed → Fix Released |
description: | updated |
Changed in lightdm (Ubuntu Trusty): | |
status: | Triaged → In Progress |
Changed in lightdm (Ubuntu Trusty): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
This has occurred since LightDM 1.9.8