Your message dated Thu, 03 Sep 2009 10:05:44 +0000
with message-id <[email protected]>
and subject line Bug#522546: fixed in mon 0.99.2-14
has caused the Debian Bug report #522546,
regarding mon: [PATCH] /etc/init.d/mon accept ENABLED values: yes, true, 1
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
522546: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522546
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mon
Version: 0.99.2-13
Severity: wishlist
Tags: patch
Patch: in /etc/init.d/mon, accept ENABLED values: yes, true, 1
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
>From 8e55cd2c65dda3e5ac717817578969cd67068d40 Mon Sep 17 00:00:00 2001
From: Jari Aalto <[email protected]>
Date: Sat, 4 Apr 2009 20:56:34 +0300
Subject: [PATCH] mon.init.d: Accept ENABLED values yes true and 1
Signed-off-by: Jari Aalto <[email protected]>
---
mon.cf | 3 +++
mon.init.d | 7 ++++++-
2 files changed, 9 insertions(+), 1 deletions(-)
mode change 100644 => 100755 mon.init.d
diff --git a/mon.cf b/mon.cf
index 739b0c6..8a086c6 100644
--- a/mon.cf
+++ b/mon.cf
@@ -13,3 +13,6 @@
#
# serverbind = localhost
# trapbind = localhost
+
+# To disbale service at boot, uncomment following
+# ENABLED="no"
diff --git a/mon.init.d b/mon.init.d
old mode 100644
new mode 100755
index 05041a5..34951c6
--- a/mon.init.d
+++ b/mon.init.d
@@ -36,7 +36,12 @@ fi
#
# Read /etc/default/mon settings
#
-if [ $ENABLED != "yes" ] ; then
+if [ $ENABLED = "yes" ] ||
+ [ $ENABLED = "true" ] ||
+ [ $ENABLED = "1" ]
+then
+ :
+else
log_warning_msg "mon is disabled by /etc/default/mon directive
(ENABLE=\"$ENABLED\")"
exit 0
fi
--
1.6.1.3
--- End Message ---
--- Begin Message ---
Source: mon
Source-Version: 0.99.2-14
We believe that the bug you reported is fixed in the latest version of
mon, which is due to be installed in the Debian FTP archive:
mon_0.99.2-14.diff.gz
to pool/main/m/mon/mon_0.99.2-14.diff.gz
mon_0.99.2-14.dsc
to pool/main/m/mon/mon_0.99.2-14.dsc
mon_0.99.2-14_i386.deb
to pool/main/m/mon/mon_0.99.2-14_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.
Dario Minnucci (midget) <[email protected]> (supplier of updated mon 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.8
Date: Thu, 03 Sep 2009 07:29:40 +0200
Source: mon
Binary: mon
Architecture: source i386
Version: 0.99.2-14
Distribution: unstable
Urgency: low
Maintainer: Dario Minnucci (midget) <[email protected]>
Changed-By: Dario Minnucci (midget) <[email protected]>
Description:
mon - monitor hosts/services/whatever and alert about problems
Closes: 422866 477164 500810 522546 538133
Changes:
mon (0.99.2-14) unstable; urgency=low
.
* debian/control:
debhelper compatibility updated to >=7
${misc:Depends} added to fix debhelper-but-no-misc-depends lintian warning.
Standards-Version bumped to 3.8.3: Added debian/README.source file.
* debian/rules:
deprecated dh_clean -k in favour of dh_prep
* debian/mon.dirs:
Remove creation dirs: usr/lib/mon/cgi-bin/, var/log/mon and var/run/mon
* debian/mon.init.d:
Was completely rewritten to be LSB compliant. (Closes: #538133)
Added support for ENABLED args: "yes", "true" or "1". (Closes: #522546)
Added dynamical control for recreation of /var/run/mon directory.
* debian/copyright: Fixed copyright-refers-to-symlink-license
* debian/README.Debian: Updated
Explanations on how to use local monitors (Closes: #477164)
* debian/NEWS.Debian: Removed
* Added 'set -e' to: mon.mon.preinst, mon.postinst, mon.prerm, mon.postrm
* debian/patches/05_manpage_fixes: Fixes typos in manpages
* debian/patches/06_add_scripts_for_ipvs: Add scripts for ipvs support.
Thanks to Richard Hartmann. (Closes: #500810)
* Do not apply debian/patches/02_enable_monshow_full_mode.dpatch anymore
to revert behaviour of 'monshow --full'. (Closes: #422866)
* debian/etc/mon/monshowrc: Provides an initial .monshowrc configuration
for monshow.cgi
* Symbolic links added:
monshow.cgi is a symbolic link of /usr/bin/monshow
.monshowrc is a symbolic link of /etc/mon/monshowrc
Checksums-Sha1:
a54208cf602003ab5b6da8d5471ae85130d0d777 1084 mon_0.99.2-14.dsc
3de407c170f5ed2aab2bdf8200b2c7f2e9c52c98 32232 mon_0.99.2-14.diff.gz
581974ffd3e2da412d0af918a9b397c5b28cfecf 181040 mon_0.99.2-14_i386.deb
Checksums-Sha256:
24784002100abc5f91a99c0abaa828f0a056a83b9bb87dd224f8fff0932a04c3 1084
mon_0.99.2-14.dsc
f9bf29e063b3bda451404664c3c84d172d95fb639e6d345b8fdf0dac2fdc4374 32232
mon_0.99.2-14.diff.gz
9d9860d82588a66d4175c98601150ea3de981c327b150f330cd2c251d63c993b 181040
mon_0.99.2-14_i386.deb
Files:
cf6a00a2d0c7a6954097c710408cb60e 1084 admin extra mon_0.99.2-14.dsc
917cba9e707b21187cd9be023d6751a8 32232 admin extra mon_0.99.2-14.diff.gz
4952b03c2adfdb4968fdbb3a98893012 181040 admin extra mon_0.99.2-14_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkqfj0kACgkQxRSvjkukAcOrmACfZBBF4jWo4t/GCJHyY4rZl+Ax
NvsAn3W+J7X7fxOJoanSXO0Tk0VGCTGd
=v1wt
-----END PGP SIGNATURE-----
--- End Message ---