[Bug 1176020] [NEW] initctl status autofs gets stuck on stop/starting

Scott Duckworth 1176020 at bugs.launchpad.net
Fri May 3 12:59:18 UTC 2013


Public bug reported:

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 at www1:~# initctl status autofs
autofs stop/starting
root at www1:~# initctl stop autofs
initctl: Job has already been stopped: autofs
root at www1:~# initctl start autofs
^C  <-- hangs
root at 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-configuration but that didn't change anything.

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://askubuntu.com/questions/289103/initctl-status-
autofs-is-stuck-on-stop-starting before reporting a bug but I received
no suggestions.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: upstart 1.5-0ubuntu7.2
ProcVersionSignature: Ubuntu 3.2.0-40.64-virtual 3.2.40
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)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1176020

Title:
  initctl status autofs gets stuck on stop/starting

Status in “upstart” package in Ubuntu:
  New

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 at www1:~# initctl status autofs
  autofs stop/starting
  root at www1:~# initctl stop autofs
  initctl: Job has already been stopped: autofs
  root at www1:~# initctl start autofs
  ^C  <-- hangs
  root at 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-configuration but that didn't change
  anything.

  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://askubuntu.com/questions/289103/initctl-
  status-autofs-is-stuck-on-stop-starting before reporting a bug but I
  received no suggestions.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: upstart 1.5-0ubuntu7.2
  ProcVersionSignature: Ubuntu 3.2.0-40.64-virtual 3.2.40
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1176020/+subscriptions




More information about the foundations-bugs mailing list