← Back to team overview

dx-packages team mailing list archive

[Bug 1257054] Re: accounts-daemon causes lightdm to hang when there's lots of entries in /etc/passwd

 

Looks like the upstream accounts-daemon devs added a feature which makes
the daemon look in /etc/login.defs for UID_MAX, and it won't try to look
at UIDs higher than that.

Setting that to a lower value fixes things for me, so we can consider
this issue closed.

** Changed in: accountsservice (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to accountsservice in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1257054

Title:
  accounts-daemon causes lightdm to hang when there's lots of entries in
  /etc/passwd

Status in “accountsservice” package in Ubuntu:
  Invalid

Bug description:
  Hello,

  I run ubuntu in an enterprise environment, and it requires that we
  have 2800+ users in /etc/passwd.

  The problem that I'm seeing, is that the login window hangs for 3-5
  minutes after entering a username into the 'username' field. While
  it's hung, you can see that the accounts-daemon seems to be looping
  through users in /etc/passwd (you see a new accounts-daemon process
  spawn as each user and run for a small amount of time). In previous
  versions of ubuntu, I've been able to work around this by enabling the
  manual login field (i.e. the username/password field instead of a
  dropdown with users).

  However, in 13.10, this hang occurs even with the manual
  username/password field, and the 3-5 minute delay between entering the
  username, and being able to type your password is making things
  unusable. Is there a way I can prevent the accounts daemon from doing
  this? Since our home folders are on network file servers, I'm worried
  about the load that this might be causing there (I'm seeing some
  indication that the accounts-daemon is going to look through each home
  folder for a ~/.profile, or something similar)

  Please let me know if there's any other information I can provide:

  Ubuntu Release: 13.10 (linux 3.11.0-12-generic)
  Lightdm Version 1.8.2-0ubuntu1
  accountsservice Version 0.6.34-0ubuntu6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1257054/+subscriptions


References