[Pkg-nagios-devel] Bug#775924: nagios-nrpe-server: Init script should exit with return code 0 if INETD=1, not 1.

Clément Hermann (nodens) nodens at nodens.org
Wed Jan 21 16:07:18 UTC 2015


Package: nagios-nrpe-server
Version: 2.15-1
Severity: important

Hi,

the init script returns 1 when the INETD variable from
/etc/defauts/nagios-nrpe-server is set to 1.

This is an issue when upgrading a system that use (x)inetd for
nagios-nrpe-server : the package will always fail configuration, since
the init script will return 1.

Changing the return code to 0 when INETD=1 fixes the issue.


Cheers,

nodens


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages nagios-nrpe-server depends on:
ii  adduser      3.113+nmu3
ii  libc6        2.19-13
ii  libssl1.0.0  1.0.1k-1
ii  libwrap0     7.6.q-25
ii  lsb-base     4.1+Debian13+nmu1

Versions of packages nagios-nrpe-server recommends:
pn  nagios-plugins-basic | nagios-plugins  <none>

nagios-nrpe-server suggests no packages.



More information about the Pkg-nagios-devel mailing list