Public bug reported: This bug is very similar in nature to Bug #958704. In a nutshell, autofs is unable to initialize correctly on boot due to upstart not starting things in proper sequence. In my case, network drives are described in LDAP maps and autofs is most likely starting before the system is able to use the network to retrieve the proper maps from LDAP. That results in drives not being mountable unless I restart autofs. For example
root@bar:/localhome/jheck# cd /dat/foo bash: cd: /dat/foo: No such file or directory root@bar:/localhome/jheck# restart autofs autofs start/running, process 2188 root@bar:/localhome/jheck# cd /dat/foo root@bar:/dat/foo# So you see that for me to get my network drives working, I need to restart autofs after boot. This smacks of improper initialization sequencing. The following packages are installed on my system and in use to use autofs with LDAP maps autofs-ldap, ldap-utils, ldap-auth-client, nscd I think this problem should be easily solvable by having autofs wait for the proper network utilities to be started and running before it attempts to initialize. This has been a perennial problem for NIS and LDAP reliant networks for MANY versions of Ubuntu. I had similar problems back in 8.04 when our system used NIS and also in 10.04. Please straightnen this out, since Ubuntu needs to be useful in network environements that use these types of auto-configuring network topologies. nobody@bar:/data/network$ lsb_release -rd Description: Ubuntu 12.04 LTS Release: 12.04 nobody@bar:/data/network$ apt-cache policy autofs5 autofs5: Installed: 5.0.6-0ubuntu5 Candidate: 5.0.6-0ubuntu5 Version table: *** 5.0.6-0ubuntu5 0 500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages 100 /var/lib/dpkg/status ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: autofs5 5.0.6-0ubuntu5 ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14 Uname: Linux 3.2.0-24-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.0.1-0ubuntu7 Architecture: amd64 Date: Thu May 3 16:20:30 2012 InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425) ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: autofs5 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: autofs5 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/994212 Title: ubuntu 12.04 automounts (autofs) not working with ldap maps on boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/994212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs