[Pkg-puppet-devel] Bug#685347: puppet: init script fails starting when puppet already started.
micah at riseup.net
Sat Sep 29 20:52:37 UTC 2012
> When managing puppet under puppet, service puppet fails to start
> because start-stop-daemon returns 1(process already runniing) instead of 0.
Your service definition for puppet should not be run if puppet is already
running. Can you provide me with your service definition? I suspect you do not
have the 'hasstatus => true' set.
> It could be fixed by adding "--oknodo" to the commandline of start-stop-daemon.
> # I wonder why "stop" has "--oknodo", while "start" doesn't have.
If you are running the puppet agent, and the puppet daemon is not running, and
--oknodo is set in the initscript for start, and you have a service definition
that attempts to start puppet, all that will happen is you will get a zero
result code when the service definition starts and puppet wont be run a second
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 801 bytes
Desc: Digital signature
More information about the Pkg-puppet-devel