Public bug reported:

Binary package hint: upstart


Version: 10.4 Beta, latest as of 21.04.2010.

Sometimes Upstart seems to get confused when "respawn" statement is used
for a service and respawns when process exits normally on explicit stop
event. Log then looks like this:

Apr 22 09:39:08 ubuntu1004alpha3crescendo init: Connection from private client
Apr 22 09:39:08 ubuntu1004alpha3crescendo init: sav-protect goal changed from 
start to stop
Apr 22 09:39:08 ubuntu1004alpha3crescendo init: sav-protect state changed from 
running to pre-stop
Apr 22 09:39:08 ubuntu1004alpha3crescendo init: sav-protect pre-stop process 
(3415)
Apr 22 09:39:09 ubuntu1004alpha3crescendo savd: savd.daemon: Sophos Anti-Virus 
daemon stopped.
Apr 22 09:39:09 ubuntu1004alpha3crescendo init: sav-protect main process (3379) 
exited normally
Apr 22 09:39:09 ubuntu1004alpha3crescendo init: sav-protect main process ended, 
respawning
Apr 22 09:39:09 ubuntu1004alpha3crescendo init: sav-protect goal changed from 
stop to respawn
Apr 22 09:39:10 ubuntu1004alpha3crescendo init: sav-protect pre-stop process 
(3415) exited normally
Apr 22 09:39:10 ubuntu1004alpha3crescendo init: sav-protect goal changed from 
respawn to start
Apr 22 09:39:10 ubuntu1004alpha3crescendo init: sav-protect state changed from 
pre-stop to stopping
Apr 22 09:39:10 ubuntu1004alpha3crescendo init: Handling stopping event
Apr 22 09:39:10 ubuntu1004alpha3crescendo init: sav-protect state changed from 
stopping to killed
Apr 22 09:39:10 ubuntu1004alpha3crescendo init: sav-protect state changed from 
killed to post-stop
Apr 22 09:39:10 ubuntu1004alpha3crescendo init: sav-protect state changed from 
post-stop to starting
Apr 22 09:39:10 ubuntu1004alpha3crescendo init: Handling starting event
Apr 22 09:39:10 ubuntu1004alpha3crescendo init: sav-protect state changed from 
starting to pre-start
Apr 22 09:39:10 ubuntu1004alpha3crescendo init: sav-protect pre-start process 
(3431)
Apr 22 09:39:11 ubuntu1004alpha3crescendo init: sav-protect pre-start process 
(3431) exited normally
Apr 22 09:39:11 ubuntu1004alpha3crescendo init: sav-protect state changed from 
pre-start to spawned
Apr 22 09:39:11 ubuntu1004alpha3crescendo init: sav-protect main process (3453)
Apr 22 09:39:11 ubuntu1004alpha3crescendo init: sav-protect state changed from 
spawned to post-start
Apr 22 09:39:11 ubuntu1004alpha3crescendo init: sav-protect post-start process 
(3454)
Apr 22 09:39:11 ubuntu1004alpha3crescendo init: sav-protect post-start process 
(3454) exited normally
Apr 22 09:39:11 ubuntu1004alpha3crescendo init: sav-protect state changed from 
post-start to running
Apr 22 09:39:11 ubuntu1004alpha3crescendo init: Handling started event
Apr 22 09:39:15 ubuntu1004alpha3crescendo savd: savd.daemon: Sophos Anti-Virus 
daemon started.

According to my observations this happens most of the time but not
always. Just this morning I got it to stop the service cleanly, then I
started, killed the service abnormally and after it respawned stop from
then on only respawns it. I though it may be related to abnormal killing
before, but even after fresh boot stopping the service only respawns
now.

** Affects: upstart (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Upstart respawn handling seems sometimes broken
https://bugs.launchpad.net/bugs/568288
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to