[Pkg-nagios-devel] Bug#481334: nagios3 package upgrade leaves nagios3 stopped.

Stephane Chazelas stephane at artesyncp.com
Thu May 15 11:20:41 UTC 2008


Package: nagios3
Version: 3.0.1-1
Severity: important


Hiya,

I can see nagios3 is stopped in nagios3-common and nagios3
installation scripts but started only in nagios3-common. So if
one upgrades only "nagios3", nagios is stopped but not started
after the installation.

$ grep -r 'nagios3 st' **/*(*)
nagios3-common/DEBIAN/postinst:         invoke-rc.d nagios3 start || exit $?
nagios3-common/DEBIAN/postinst:         /etc/init.d/nagios3 start || exit $?
nagios3-common/DEBIAN/prerm:            invoke-rc.d nagios3 stop || exit $?
nagios3-common/DEBIAN/prerm:            /etc/init.d/nagios3 stop || exit $?
nagios3/DEBIAN/prerm:           invoke-rc.d nagios3 stop || true
nagios3/DEBIAN/prerm:           /etc/init.d/nagios3 stop || true

(note that the 3.0.1-1 above is nagios built by myself (with the
patch for another bug I had submitted) with perl-5.10
dependency, so would be equivalent to the +b1).

Best regards,
Stephane

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24.2
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages nagios3 depends on:
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  libgd1-noxpm           1.8.4.debian-1    GD Graphics Library (old version, 
ii  libglib2.0-0           2.16.3-2          The GLib library of C routines
ii  libjpeg62              6b-14             The Independent JPEG Group's JPEG 
ii  libltdl3               1.5.26-3          A system independent dlopen wrappe
ii  libperl5.10            5.10.0-10         Shared Perl library
ii  libpng12-0             1.2.26-1          PNG library - runtime
ii  nagios3-common         3.0.1-1           support files for nagios3
ii  perl                   5.10.0-10         Larry Wall's Practical Extraction 
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

nagios3 recommends no packages.

-- no debconf information





More information about the Pkg-nagios-devel mailing list