This seems to be also related to kernel version. Booting with a 2.6.38 kernel I can remove the changes to the lightdm.conf file and autofs works fine.
As another data point, with a linux kernel >3.0 on a Debian wheezy machine and a similar autofs setup I get a similar problem with autofs failing. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/830377 Title: autofs5 needs to start before lightdm Status in “autofs5” package in Ubuntu: New Status in “lightdm” package in Ubuntu: New Bug description: I use autofs to mount my $HOME. Since upgrading to oneiric and lightdm I can no longer login as the system hangs trying to mount my $HOME. I added an 'emit autofs' to /etc/init/autofs.conf and a 'and started autofs' to /etc/init/lightdm to force the ordering and now all works. ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: autofs5 5.0.6-0ubuntu2 ProcVersionSignature: Ubuntu 3.0.0-8.11-generic 3.0.1 Uname: Linux 3.0.0-8-generic i686 Architecture: i386 Date: Sun Aug 21 10:42:36 2011 ProcEnviron: PATH=(custom, user) LANG=en_AU.UTF-8 SHELL=/bin/bash SourcePackage: autofs5 UpgradeStatus: Upgraded to oneiric on 2011-03-13 (160 days ago) mtime.conffile..etc.init.autofs.conf: 2011-08-21T10:32:48.718150 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/830377/+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

