[Pkg-puppet-devel] Bug#661927: Bug#661927: puppetmaster: init.d status script returns incorrect code when START=no

Russ Allbery rra at debian.org
Fri Mar 2 17:59:22 UTC 2012


Laurent Bigonville <bigon at debian.org> writes:

> When START is set to no in the /etc/default/puppetmaster file, the
> status command of the init script returns 0 which is incorrect.

> I should probably return 3 to express that the daemon is not running.

Confirmed at:

http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

The other actions should exit with status 0, but status has special status
code requirements.

-- 
Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>





More information about the Pkg-puppet-devel mailing list