gdm doesn't load with large passwd file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdm (Ubuntu) |
Fix Released
|
Medium
|
Robert Ancell | ||
Lucid |
Fix Released
|
Low
|
Robert Ancell |
Bug Description
Binary package hint: gdm
Noticed an issue with the newest gdm available in Karmic. It appears that this gdm version does not want to load in our environment.
We have a very large passwd file:
cat /etc/passwd | wc -l
34113
with home directories being served out of NFS.
When gdm loads on this machine, it hangs forever, while the mount table goes up. It appears that gdm is attempting to mount and read every single home directory for every single user in the passwd file. Notices in syslog appear about being unable to read the .face file in each user's home directory.
I went ahead and disabled the user list using:
sudo gconftool-2 --direct --config-source xml:readwrite:
--type bool --set /apps/gdm/
stracing the process shows a bunch of these messages (usernames removed for security purposes):
[pid 13493] inotify_
[pid 13493] inotify_
[pid 13493] inotify_
[pid 13493] inotify_
[pid 13493] inotify_
[pid 13493] inotify_
[pid 13493] inotify_
[pid 13493] inotify_
[pid 13493] inotify_
[pid 13493] inotify_
[pid 13493] inotify_
And now no more errors appear about the .face files, however the mounting behavior is still happening. I highly doubt the automounter on this box will be able to handle 32K+ simultaneous mounts on it, and it seems very unnecessary.
Killing gdm on this machine immediately stops mounting the home directories, and then I have to go back and do a umount -t nfs -a to unmount them all.
lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
/usr/sbin/automount -V
Linux automount version 5.0.4
Directories:
config dir: /etc/default
maps dir: /etc
modules dir: /usr/lib/autofs
Compile options:
ENABLE_
WITH_LDAP WITH_SASL LIBXML2_WORKAROUND
apt-cache policy gdm
gdm:
Installed: (none)
Candidate: 2.28.1-0ubuntu1
Version table:
2.
500 http://
100 /var/lib/
Changed in gdm (Ubuntu): | |
importance: | Undecided → Medium |
Changed in gdm (Ubuntu): | |
status: | New → Confirmed |
Changed in gdm (Ubuntu Lucid): | |
importance: | Undecided → Low |
assignee: | nobody → Robert Ancell (robert-ancell) |
status: | New → Fix Committed |
tags: |
added: verification-done removed: verification-needed |
Changed in gdm (Ubuntu Lucid): | |
status: | Fix Committed → Fix Released |
Any updates on this? It happens on Lucid as well.