This bug is not fixed in lucid, even with the latest gdm
(2.30.2.is.2.30.0-0ubuntu5.2). Gdm still touches all user directories,
which means they all get mounted when /home is managed by automount.
This is very annoying because as soon as one home directory is not
available (because the NFS server is down, etc.), this bug makes it
impossible for anyone to login across the whole set of computers.

The (remaining) cause of the problem is the update_icon_monitor()
function in daemon/gdm-user.c. I disabled said function with the
attached patch, and now gdm does not cause all home directories to
become automounted, and people can still login even if someone else's
home directory is not available. The patch may not do the right thing
for users who care about the face browser, but it finally makes Lucid's
gdm usable in deployments with NFS and/or automounted home directories,
etc.

Please consider fixing this bug.

** Patch added: "Patch to disable update_icon_monitor() function in 
daemon/gdm-user.c"
   
https://bugs.launchpad.net/ubuntu/lucid/+source/gdm/+bug/562509/+attachment/3176480/+files/gdm.patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gdm in Ubuntu.
https://bugs.launchpad.net/bugs/562509

Title:
  Automounts users autofs home directories by default (face browser
  disabled)

Status in GDM: The Gnome Display Manager:
  Fix Released
Status in “gdm” package in Ubuntu:
  Fix Released
Status in “gdm” source package in Lucid:
  Fix Committed

Bug description:
  Binary package hint: gdm

  Even with the face browser disabled when GDM starts it mounts up to
  100 users autofs home dirs. This is an issue since having hundreds of
  desktops hosts automatically mount autofs home dirs when they'll most
  likely not be used could cause a resource issue on the file server.
  This is as a possible security too issue since the system is
  automatically mounting home dirs without authentication.

  Description:  Ubuntu lucid (development branch) - sync'd from main repos on 
April 13th
  Release:      10.04
  Package:
  gdm:
    Installed: 2.30.0-0ubuntu4
    Candidate: 2.30.0-0ubuntu4
    Version table:
   *** 2.30.0-0ubuntu4 0
          500 http://apt-dev/ubuntu/ lucid/main Packages
          100 /var/lib/dpkg/status

  What was done:
  Face browser disabled per: 
https://wiki.ubuntu.com/SecurityTeam/FAQ#GNOME%20Display%20Manager%20%28gdm%29
  sudo -u gdm gconftool-2 --set --type boolean 
/apps/gdm/simple-greeter/disable_user_list true

  Expected behavior:
  GDM displays username prompt with no filesystems mounted with the exception 
of those in /etc/fstab. Once a user logs in successfully their home dir should 
automount.

  Actual behavior:
  GDM displays username prompt, up to 100+ home dirs from /etc/autofs.home are 
mounted.

  There is a bug filed in upstream for this as well:
  https://bugzilla.gnome.org/show_bug.cgi?id=607728

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to