[Pkg-nagios-devel] Bug#339401: marked as done (Inconsistent paths in init script)

Debian Bug Tracking System owner at bugs.debian.org
Fri Dec 2 17:33:15 UTC 2005


Your message dated Fri, 02 Dec 2005 09:17:16 -0800
with message-id <E1EiEX6-00079W-SN at spohr.debian.org>
and subject line Bug#339401: fixed in nagios 2:1.3-cvs.20050402-9
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 16 Nov 2005 00:53:28 +0000
>From daniel at readytechnology.co.uk Tue Nov 15 16:53:28 2005
Return-path: <daniel at readytechnology.co.uk>
Received: from rutherford.zen.co.uk ([212.23.3.142])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1EcBYF-0007CE-Vw
	for submit at bugs.debian.org; Tue, 15 Nov 2005 16:53:28 -0800
Received: from [82.70.93.201] (helo=h1.trendhosting.net)
	by rutherford.zen.co.uk with esmtp (Exim 4.34)
	id 1EcBYE-0000cF-N9
	for submit at bugs.debian.org; Wed, 16 Nov 2005 00:53:27 +0000
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by h1.trendhosting.net (Postfix) with ESMTP id 6C453DED8A
	for <submit at bugs.debian.org>; Wed, 16 Nov 2005 00:53:26 +0000 (GMT)
Message-ID: <437A8302.2020909 at readytechnology.co.uk>
Date: Wed, 16 Nov 2005 00:53:22 +0000
From: Daniel Pocock <daniel at readytechnology.co.uk>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1
X-Accept-Language: en
MIME-Version: 1.0
To: submit at bugs.debian.org
Subject: Inconsistent paths in init script
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms050102070803070404000207"
X-Originating-Rutherford-IP: [82.70.93.201]
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

This is a cryptographically signed message in MIME format.

--------------ms050102070803070404000207
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Package: nagios-text
Version: 2:1.3-cvs.20050402-2.sarge.1

Looking at /usr/share/doc/nagios-common/NEWS.Debian.gz:

nagios (2:1.2-3.6) unstable; urgency=medium

  Some of the files was changed from /var/log/nagios to /var/cache/nagios
  directory. The following settings have to be updated in
  /etc/nagios/nagios.cfg file:

    temp_file=/var/cache/nagios/nagios.tmp
    status_file=/var/cache/nagios/status.log
    command_file=/var/cache/nagios/rw/nagios.cmd
    state_retention_file=/var/cache/nagios/status.sav

 -- Piotr Roszatycki <dexter at debian.org>  Mon, 27 Sep 2004 14:09:38 +0200

However, looking at /etc/init.d/nagios, I find this (notice /var/log 
instead of /var/cache):

        elif [ -f /usr/lib/nagios/plugins/check_nagios ]; then
                if ! /usr/lib/nagios/plugins/check_nagios -e 15 -F 
/var/log/nagios/status.log -C '/usr/sbin/nagios' > /dev/null; then
                        return 1    # isn't started


Perhaps the init script should attempt to do the following:

CHECK_NAGIOS=`grep '^nagios_check_command=' /etc/nagios/cgi.cfg | cut -b22-`
if ! ${CHECK_NAGIOS} ........

or alternatively:

STATUS_LOG=`grep '^nagios_check_command=' /etc/nagios/cgi.cfg | cut -d' 
' -f2`
if ! /usr/lib/nagios/plugins/check_nagios -e 15 -F ${STATUS_LOG} -C 
'/usr/sbin/nagios' > /dev/null; then




--------------ms050102070803070404000207
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s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eCQMfSBRP/9Gcq0JNwcVH3ho0kvslRRxlqU14muIx6izE7lGkkjbtd+mW7
B0lQqcd2cfjJ/azzeJtbrNepnVyATAAAAAAAAA==
--------------ms050102070803070404000207--

---------------------------------------
Received: (at 339401-close) by bugs.debian.org; 2 Dec 2005 17:21:16 +0000
>From katie at ftp-master.debian.org Fri Dec 02 09:21:16 2005
Return-path: <katie at ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
	id 1EiEX6-00079W-SN; Fri, 02 Dec 2005 09:17:16 -0800
From: sean finney <seanius at debian.org>
To: 339401-close at bugs.debian.org
X-Katie: $Revision: 1.60 $
Subject: Bug#339401: fixed in nagios 2:1.3-cvs.20050402-9
Message-Id: <E1EiEX6-00079W-SN at spohr.debian.org>
Sender: Archive Administrator <katie at ftp-master.debian.org>
Date: Fri, 02 Dec 2005 09:17:16 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2

Source: nagios
Source-Version: 2:1.3-cvs.20050402-9

We believe that the bug you reported is fixed in the latest version of
nagios, which is due to be installed in the Debian FTP archive:

nagios-common_1.3-cvs.20050402-9_all.deb
  to pool/main/n/nagios/nagios-common_1.3-cvs.20050402-9_all.deb
nagios-mysql_1.3-cvs.20050402-9_i386.deb
  to pool/main/n/nagios/nagios-mysql_1.3-cvs.20050402-9_i386.deb
nagios-pgsql_1.3-cvs.20050402-9_i386.deb
  to pool/main/n/nagios/nagios-pgsql_1.3-cvs.20050402-9_i386.deb
nagios-text_1.3-cvs.20050402-9_i386.deb
  to pool/main/n/nagios/nagios-text_1.3-cvs.20050402-9_i386.deb
nagios_1.3-cvs.20050402-9.diff.gz
  to pool/main/n/nagios/nagios_1.3-cvs.20050402-9.diff.gz
nagios_1.3-cvs.20050402-9.dsc
  to pool/main/n/nagios/nagios_1.3-cvs.20050402-9.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 339401 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
sean finney <seanius at debian.org> (supplier of updated nagios package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster at debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 02 Dec 2005 09:41:08 -0500
Source: nagios
Binary: nagios-pgsql nagios-text nagios-mysql nagios-common
Architecture: source i386 all
Version: 2:1.3-cvs.20050402-9
Distribution: unstable
Urgency: low
Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel at lists.alioth.debian.org>
Changed-By: sean finney <seanius at debian.org>
Description: 
 nagios-common - A host/service/network monitoring and management system
 nagios-mysql - A host/service/network monitoring and management system
 nagios-pgsql - A host/service/network monitoring and management system
 nagios-text - A host/service/network monitoring and management system
Closes: 339366 339401
Changes: 
 nagios (2:1.3-cvs.20050402-9) unstable; urgency=low
 .
   * Sean Finney:
     - rework the init script use the same nagios_check_command
       as cgi.cfg, which should make life easier for people transitioning
       from earlier versions, users of db-flavored nagioses, and also
       anyone else who has a status log not where we think it ought to
       be (closes: #339401).
     - modified get_config to use arbitrary config files, so the
       above improvements were possible.
     - likewise, improved init script to get the location for
       the named pipe dynamically.
     - updated NEWS/README.* to reflect all this.
     - added error checking for writes to the status log, backported from
       the 2.x cvs tree (closes: #339366).
     - updated postgres build-dep according to martin pitt's recommendations.
Files: 
 12571d2292ebf2e15f3fc1a1a177c77b 937 net optional nagios_1.3-cvs.20050402-9.dsc
 eea41a9cf597f37e0d2791a38adbec03 68357 net optional nagios_1.3-cvs.20050402-9.diff.gz
 95b5f02cb88148b92417dee1986703f3 903058 net optional nagios-text_1.3-cvs.20050402-9_i386.deb
 65a7e3c5bed471c04c4d457dbae4333d 906250 net optional nagios-mysql_1.3-cvs.20050402-9_i386.deb
 42dd25b604bf8f36488e2d0f68a2c330 915648 net optional nagios-pgsql_1.3-cvs.20050402-9_i386.deb
 5c70eac233b4e17b253fd4b357abd791 1217744 net optional nagios-common_1.3-cvs.20050402-9_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDkH8rynjLPm522B0RApltAJ93ezBOPd3EHo3jgVAi9zggnEpFBQCggKdH
w4WvgRzxw4uDNietvT5egAY=
=n7k/
-----END PGP SIGNATURE-----




More information about the Pkg-nagios-devel mailing list