initctl status autofs gets stuck on stop/starting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autofs (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
We have an issue with Upstart not restarting the autofs job when the automount process dies, and the Upstart job status gets stuck in the "stop/starting" state. The process is not automatically restarted by Upstart like it is supposed to. Trying to manually control the job fails too:
root@www1:~# initctl status autofs
autofs stop/starting
root@www1:~# initctl stop autofs
initctl: Job has already been stopped: autofs
root@www1:~# initctl start autofs
^C <-- hangs
root@www1:~# initctl restart autofs
^C <-- hangs
Starting the automount process manually works just fine, but Upstart still does not recognize that the job is running.
I've tried initctl reload-
Rebooting has fixed the problem in the past, but is not a permanent solution since this is a production web server and we've seen this problem pop up a few times - often months apart from each other. We need to track down the problem and find a fix for it.
I tried posting at http://
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: upstart 1.5-0ubuntu7.2
ProcVersionSign
Uname: Linux 3.2.0-40-virtual x86_64
ApportVersion: 2.0.1-0ubuntu17.2
Architecture: amd64
Date: Fri May 3 08:55:16 2013
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 (20120424.1)
MarkForUpload: True
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: upstart
UpgradeStatus: No upgrade log present (probably fresh install)
affects: | upstart (Ubuntu) → autofs (Ubuntu) |
Changed in autofs (Ubuntu): | |
importance: | Undecided → Medium |
Status changed to 'Confirmed' because the bug affects multiple users.