Your message dated Sun, 04 Mar 2007 23:17:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#408136: fixed in nagios2 2.6-2+etch1
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)

--- Begin Message ---
Package: nagios2-common
Version: 2.6-2
Severity: serious
Tags: patch
Justification: prevents package installation

*** Please type your report below this line *** This is the first time
I've tried to install nagios2, the installation fails to configure
nagios2-common, here is the error:

:) [EMAIL PROTECTED]:~ $ sudo dpkg --configure -a
Setting up nagios2-common (2.6-2) ...
Reloading web server config...3406
.
awk: can't open file FS==
 source line number 1
invoke-rc.d: initscript nagios2, action "start" failed.
dpkg: error processing nagios2-common (--configure):
 subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of nagios2:
 nagios2 depends on nagios2-common (= 2.6-2); however:
  Package nagios2-common is not configured yet.
dpkg: error processing nagios2 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 nagios2-common
 nagios2

----

and here is a patch which fixes the init script:

diff -ru nagios2-2.6.orig/debian/nagios2-common.nagios2.init 
nagios2-2.6/debian/nagios2-common.nagios2.init
--- nagios2-2.6.orig/debian/nagios2-common.nagios2.init 2007-01-23 
13:26:04.000000000 -0500
+++ nagios2-2.6/debian/nagios2-common.nagios2.init      2007-01-23 
13:26:17.000000000 -0500
@@ -114,7 +114,7 @@
   exit 6
 fi
 
-THEPIDFILE="$(grep lock_file $NAGIOSCFG | awk '{print $2}' FS="=")"
+THEPIDFILE="$(grep lock_file $NAGIOSCFG | awk 'BEGIN{FS="="}{print $2}')"
 [ -n "$THEPIDFILE" ] || THEPIDFILE='/var/run/nagios2/nagios.pid'
 
 [ -e "$THEPIDFILE" ] && PID=$(cat $THEPIDFILE)


----

Thanks,
stew

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages nagios2-common depends on:
ii  adduser          3.99                    Add and remove users and groups
ii  apache2          2.2.3-3.1               Next generation, scalable, extenda
ii  apache2-mpm-pref 2.2.3-3.1               Traditional model for Apache HTTPD
ii  coreutils        5.97-5.1                The GNU core utilities
ii  debconf [debconf 1.5.8                   Debian configuration management sy
ii  lsb-base         3.1-19                  Linux Standard Base 3.1 init scrip
ii  mailx            1:8.1.2-0.20050715cvs-1 A simple mail user agent
ii  nagios-plugins-b 1.4.5-2                 Plugins for the nagios network mon
ii  nagios2-doc      2.6-2                   documentation for nagios2
ii  ucf              2.0016                  Update Configuration File: preserv

Versions of packages nagios2-common recommends:
ii  nagios-images                 0.3        Collection of images and icons for
ii  nagios-plugins                1.4.5-2    Plugins for the nagios network mon

-- debconf information excluded


--- End Message ---
--- Begin Message ---
Source: nagios2
Source-Version: 2.6-2+etch1

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

nagios2-common_2.6-2+etch1_all.deb
  to pool/main/n/nagios2/nagios2-common_2.6-2+etch1_all.deb
nagios2-dbg_2.6-2+etch1_i386.deb
  to pool/main/n/nagios2/nagios2-dbg_2.6-2+etch1_i386.deb
nagios2-doc_2.6-2+etch1_all.deb
  to pool/main/n/nagios2/nagios2-doc_2.6-2+etch1_all.deb
nagios2_2.6-2+etch1.diff.gz
  to pool/main/n/nagios2/nagios2_2.6-2+etch1.diff.gz
nagios2_2.6-2+etch1.dsc
  to pool/main/n/nagios2/nagios2_2.6-2+etch1.dsc
nagios2_2.6-2+etch1_i386.deb
  to pool/main/n/nagios2/nagios2_2.6-2+etch1_i386.deb



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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
sean finney <[EMAIL PROTECTED]> (supplier of updated nagios2 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 [EMAIL PROTECTED])


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

Format: 1.7
Date: Sun, 04 Mar 2007 23:49:05 +0100
Source: nagios2
Binary: nagios2-doc nagios2-common nagios2-dbg nagios2
Architecture: source i386 all
Version: 2.6-2+etch1
Distribution: testing-proposed-updates
Urgency: low
Maintainer: Debian Nagios Maintainer Group <[EMAIL PROTECTED]>
Changed-By: sean finney <[EMAIL PROTECTED]>
Description: 
 nagios2    - A host/service/network monitoring and management system
 nagios2-common - support files for nagios2
 nagios2-dbg - debugging symbols for nagios2
 nagios2-doc - documentation for nagios2
Closes: 408136
Changes: 
 nagios2 (2.6-2+etch1) testing-proposed-updates; urgency=low
 .
   [Sean Finney]
   * upload the previous version directly to testing-proposed-updates
     due to the uncordinated upload of libgd preventing nagios2 from
     propagating to testing (closes: #408136).
Files: 
 a4598905a0dc89ad69c0eb9c335cda03 939 net optional nagios2_2.6-2+etch1.dsc
 35d5663a8de12ea14660140e95ab0bfd 27942 net optional nagios2_2.6-2+etch1.diff.gz
 073298c5781a6a9535dff7d313ca2db4 1014538 net optional 
nagios2_2.6-2+etch1_i386.deb
 1a60dbe6a00ec231200a029e229629a2 1584616 net extra 
nagios2-dbg_2.6-2+etch1_i386.deb
 0a9f90088ffd08cf62bce2fede0a90a3 57210 net optional 
nagios2-common_2.6-2+etch1_all.deb
 cc8fd14eb493bfe093910f829b9b763b 1134012 doc optional 
nagios2-doc_2.6-2+etch1_all.deb

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

iD8DBQFF608kynjLPm522B0RAhVRAJ0SEyJIGgZYs5E21z9sLNesQlCzygCbBxFx
MXTD9jXfdOHOcOg+fJQSgVM=
=UQWf
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to