autofs does not start automatically after reboot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autofs5 (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
After rebooting and logging in, I am prompted with "no home for user. logging in with /". looking for a running autofs I find it not started. Executing "sudo service autofs start" starts autofs. After "cd ~" my home is mounted and available.
This error is erratic, but only on 12.04 systems. 10.04.4 LTS, 11.04, or 11.10 are not affected.
AFAICD autofs is sometimes started by upstart without the necessary services running (mainly DNS, just because Networking is not completely up) making autofs bail out. Starting it later it finds all necessities and starts.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: autofs (not installed)
ProcVersionSign
Uname: Linux 3.2.0-24-virtual x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Fri Jun 1 08:16:46 2012
InstallationMedia: Ubuntu-Server 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.2)
ProcEnviron:
TERM=xterm
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: autofs5
UpgradeStatus: Upgraded to precise on 2012-04-12 (49 days ago)
Changed in autofs5 (Ubuntu): | |
status: | Incomplete → Fix Released |
Hi Thomas.
been b
autofs5 starts when runlevel 2 is reached.
This means that it starts after any network connections that are configured in /etc/network/ interfaces have been brought up. That would include DNS configurations of any kind that a server would have.
If, however, you have configured your server's networking with something else, like network manager, or conman, its possible that the networking from those services was not up yet, leading to difficulties doing DNS lookups.
Can you confirm that your setup only uses /etc/network/ interfaces to configure network/DNS?