Your message dated Sat, 24 Feb 2007 10:02:21 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#408136: fixed in nagios2 2.6-3
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-3
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-3_all.deb
to pool/main/n/nagios2/nagios2-common_2.6-3_all.deb
nagios2-dbg_2.6-3_i386.deb
to pool/main/n/nagios2/nagios2-dbg_2.6-3_i386.deb
nagios2-doc_2.6-3_all.deb
to pool/main/n/nagios2/nagios2-doc_2.6-3_all.deb
nagios2_2.6-3.diff.gz
to pool/main/n/nagios2/nagios2_2.6-3.diff.gz
nagios2_2.6-3.dsc
to pool/main/n/nagios2/nagios2_2.6-3.dsc
nagios2_2.6-3_i386.deb
to pool/main/n/nagios2/nagios2_2.6-3_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.
Marc Haber <[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: Sat, 24 Feb 2007 10:25:52 +0100
Source: nagios2
Binary: nagios2-doc nagios2-common nagios2-dbg nagios2
Architecture: source i386 all
Version: 2.6-3
Distribution: unstable
Urgency: low
Maintainer: Debian Nagios Maintainer Group <[EMAIL PROTECTED]>
Changed-By: Marc Haber <[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 408141 408231
Changes:
nagios2 (2.6-3) unstable; urgency=low
.
[Marc Haber]
* services_nagios2.cfg: add default notification_interval 0 clauses to
make it clear that nagios won't re-notify by default.
Thanks to Jan Wagner.
* Add symlink from /usr/share/nagios2/htdocs/docs to
/usr/share/doc/nagios2-doc/html as suggested by Mike O'Connor.
Closes: #408141
* init script: use awk -v FS. Thanks to Mike O'Connor. Closes: #408136
* init script: remove commented sleep-rekill loop which was confusing
to some users. It has never been enabled in nagios2 and is probably
left over from whatever package the original nagios2 init script
was taken from. Closes: #408231
* run debconf-updatepo and commit new files
.
[Sean Finney]
* added Build-Depends on dpkg-dev >= 1.13.19, since our use of
source:Version in debian/control requires it.
Files:
74d814c4753a29fe226b3c76fc46ddc4 927 net optional nagios2_2.6-3.dsc
ab138005b9158b9f7c47337be6624061 27347 net optional nagios2_2.6-3.diff.gz
ee278bfc18951e6da6e4d7beebf92edc 1014546 net optional nagios2_2.6-3_i386.deb
c4929f56fb5d5d037a64e6564048a657 1584568 net extra nagios2-dbg_2.6-3_i386.deb
aabfa348bda5a61a2ae22ffd293808d3 57134 net optional
nagios2-common_2.6-3_all.deb
56e57b93f8563f85b0e9dffea162834d 1133874 doc optional nagios2-doc_2.6-3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFF4AsHgZalRGu6PIQRAgBoAJ9LUagBGIQN15YZP3k+9Lef2xRCcgCgm6Ow
m9c4d7ngx02romNhtjSEVlM=
=AOU8
-----END PGP SIGNATURE-----
--- End Message ---