← Back to team overview

touch-packages team mailing list archive

[Bug 1370852] Re: Scans all user accounts when not required

 

** 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
Touch seeded packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1370852

Title:
  Scans all user accounts when not required

Status in Light Display Manager:
  Fix Released
Status in Light Display Manager 1.10 series:
  Fix Released
Status in “lightdm” package in Ubuntu:
  Fix Released
Status in “lightdm” source package in Trusty:
  In Progress
Status in “lightdm” source package in Utopic:
  Fix Released

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.

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


References