Your message dated Fri, 12 May 2006 08:02:10 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#361239: fixed in nagios2 2.3-1
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
Version: 2.0-1
The process nagios2 cannot be started, if the /var directory is on a
tempfs, because the directory /var/run/nagios2 doesn't exists. This
directory will be created in the nagios2-common.postinst script. After
a reboot, the directory doesn't exists anymore. A second aspect is the
hardcoded path in the postinst script:
install -d -onagios -gnagios -m750 /var/run/nagios2
and the startup script will create the path dynamically from the
lock_file statement in the Nagios configuration file:
THEPIDFILE="$(grep lock_file $NAGIOSCFG | awk '{print $2}' FS="=")"
After a change of the lock_file statement, the nagios process cannot
start anymor.
This patch will correct this phenomenon:
diff -u nagios2.ORIG nagios2
--- nagios2.ORIG 2006-04-07 12:10:37.000000000 +0200
+++ nagios2 2006-04-07 12:35:51.000000000 +0200
@@ -96,6 +96,10 @@
[ "$PID" = '1' ] && unset PID
start () {
+ # /var/run and /var/lock could be on a tmpfs
+ DIRECTORY=`echo $THEPIDFILE | sed 's!/[^/]\+$!!'`
+ [ ! -d $DIRECTORY ] && mkdir $DIRECTORY
+ chown nagios:nagios $DIRECTORY
if ! check_started; then
if ! check_named_pipe; then
log_action_msg "named pipe exists - removing"
Best regards
Herbert Straub
--- End Message ---
--- Begin Message ---
Source: nagios2
Source-Version: 2.3-1
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.3-1_all.deb
to pool/main/n/nagios2/nagios2-common_2.3-1_all.deb
nagios2-doc_2.3-1_all.deb
to pool/main/n/nagios2/nagios2-doc_2.3-1_all.deb
nagios2_2.3-1.diff.gz
to pool/main/n/nagios2/nagios2_2.3-1.diff.gz
nagios2_2.3-1.dsc
to pool/main/n/nagios2/nagios2_2.3-1.dsc
nagios2_2.3-1_amd64.deb
to pool/main/n/nagios2/nagios2_2.3-1_amd64.deb
nagios2_2.3.orig.tar.gz
to pool/main/n/nagios2/nagios2_2.3.orig.tar.gz
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: Fri, 12 May 2006 15:32:01 +0200
Source: nagios2
Binary: nagios2-doc nagios2-common nagios2
Architecture: source all amd64
Version: 2.3-1
Distribution: unstable
Urgency: high
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-doc - documentation for nagios2
Closes: 360778 360998 361239 361956 363152 366683
Changes:
nagios2 (2.3-1) unstable; urgency=high
.
* new upstream version
* Fix nagios2 restart in init script.
Thanks to Jim Jensen. (mh) Closes: #360778
* Fix /usr/share/doc/nagios2/html symlink.
Thanks to Matt Zagrabelny. (mh) Closes: #360998
* Create pid file directory dynamically in init script.
Thanks to Herbert Straub. (mh) Closes: #361239
* Honor locally set file/dir permissions in postinst, fixing policy
10.9.1 compliance. Thanks to Heiko Schlittermann. (mh) Closes: #361956
.
[sean finney]
* This upstream version addresses a security issue raised in CVE-2006-2162,
wrt malcious use of Content-Length headers on cgi scripts. This debian
release includes further refinement of this fix
(10_CVE-2006-2162_content-length.dpatch)
as we believe it's still theoretically possible to exploit the issue
via integer overflow. Closes: #366683.
* change eventhandlers dir to /usr/lib/nagios2/plugins/eventhandlers,
and make sure they're included (closes: #363152).
* security release, so urgency bumped.
Files:
5cc9b9cc79bdaa5a0240fb268beb8220 879 net optional nagios2_2.3-1.dsc
6d0a01ed778f81cc49d402884d25a933 1734837 net optional nagios2_2.3.orig.tar.gz
d183d1ba0e53c2c28640e4291a8faae7 21435 net optional nagios2_2.3-1.diff.gz
eac14cdd16c79fec9daafaed9741fe34 1102722 net optional nagios2_2.3-1_amd64.deb
3cd4fa6282e616cd7d902eb1e1d5ba7e 55988 net optional
nagios2-common_2.3-1_all.deb
a376b105dc826b254f9350aad9506003 1131480 doc optional nagios2-doc_2.3-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFEZJzjynjLPm522B0RAunlAJ9fI3DF5xjdqUCr1+sdAXuDmY8PjwCdFeQs
Kh37QO/YSY35EJ9dBbVrqJI=
=wo2R
-----END PGP SIGNATURE-----
--- End Message ---