** Description changed:

- On startup LightDM gets the list of users in the shared data code. This
- causes all the user properties to be loaded, in the case of not using
- accounts service all the .dmrc files are accessed.
+ [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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1370852

Title:
  Scans all user accounts when not required

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1370852/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to