[Bug 1158708] Re: Services start/stop multiple times during boot
Steve Langasek
steve.langasek at canonical.com
Wed Oct 2 22:49:07 UTC 2013
This only shows the ssh service stopping and restarting once during
boot.
[ 15.912513] init: ssh state changed from post-start to running
[ 18.292483] init: ssh goal changed from start to stop
So roughly 2 seconds after ssh starts, something else stops it. But
this "something else" is not upstart. What other services do you see
this happening for? Does it happen on every boot?
I've never seen any behavior like this on any system; I think there must
be something particular to your environment that's triggering these
service restarts.
** Changed in: upstart (Ubuntu)
Status: Confirmed => Incomplete
--
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/1158708
Title:
Services start/stop multiple times during boot
Status in “upstart” package in Ubuntu:
Incomplete
Bug description:
I'm running a fresh installation of Ubuntu 12.04.2 LTS with all
updates from security/updates applied. While everything works as
expected after boot, I see that several services are started and
stopped multiple times. After adding "--verbose" to the kernel command
line in grub, I see the following in /var/log/dmesg (grep on "ssh",
but other services look similar):
[ 15.448785] init: ssh goal changed from stop to start
[ 15.448977] init: ssh state changed from waiting to starting
[ 15.722522] init: ssh state changed from starting to pre-start
[ 15.740479] init: ssh pre-start process (412)
[ 15.892560] init: ssh pre-start process (412) exited normally
[ 15.892697] init: ssh state changed from pre-start to spawned
[ 15.900573] init: ssh main process (427)
[ 15.900877] init: ssh state changed from spawned to post-start
[ 15.912513] init: ssh state changed from post-start to running
[ 18.292483] init: ssh goal changed from start to stop
[ 18.292723] init: ssh state changed from running to pre-stop
[ 18.292826] init: ssh state changed from pre-stop to stopping
[ 18.293129] init: ssh state changed from stopping to killed
[ 18.293236] init: Sending TERM signal to ssh main process (427)
[ 18.296505] init: ssh main process (427) exited normally
[ 18.296683] init: ssh state changed from killed to post-stop
[ 18.297359] init: ssh state changed from post-stop to waiting
[ 18.344245] init: ssh goal changed from stop to start
[ 18.344378] init: ssh state changed from waiting to starting
[ 18.344801] init: ssh state changed from starting to pre-start
[ 18.356479] init: ssh pre-start process (593)
[ 18.414658] init: ssh pre-start process (593) exited normally
[ 18.415023] init: ssh state changed from pre-start to spawned
[ 18.424710] init: ssh main process (596)
[ 18.424886] init: ssh state changed from spawned to post-start
[ 18.429089] init: ssh state changed from post-start to running
You can see that SSH is started 4 times. This seems unnecessary and
looks like a bug to me. I see this behaviour on other Ubuntu 12.04
systems as well.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: upstart 1.5-0ubuntu7.2
ProcVersionSignature: Ubuntu 3.5.0-26.42~precise1-generic 3.5.7.6
Uname: Linux 3.5.0-26-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
Date: Fri Mar 22 11:20:16 2013
InstallationMedia: Ubuntu-Server 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130214)
MarkForUpload: True
ProcEnviron:
SHELL=/bin/bash
TERM=xterm
PATH=(custom, no user)
LANG=de_DE.UTF-8
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/1158708/+subscriptions
More information about the foundations-bugs
mailing list