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

Laurent Bigonville bigon at debian.org
Fri Mar 2 17:35:59 UTC 2012


Package: puppetmaster
Version: 2.6.2-5+squeeze4
Severity: normal

Hi,

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.

Cheers

Laurent Bigonville

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





More information about the Pkg-puppet-devel mailing list