Your message dated Sun, 29 Apr 2012 15:17:47 +0000
with message-id <[email protected]>
and subject line Bug#654656: fixed in dnsmasq 2.61-1
has caused the Debian Bug report #654656,
regarding /etc/init.d/dnsmasq should support the statistics dump trigger
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.)


-- 
654656: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654656
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dnsmasq
Version: 2.55-2
Severity: wishlist
Tags: patch


When it receives a SIGUSR1, dnsmasq writes statistics to the system log.
It writes the cache size, the number of names which have had to removed
from the cache before they expired in order to make room for new names
and the total number of names that have been inserted into the cache.
For each upstream server it gives the number of queries sent, and the
number which resulted in an error.

/etc/init.d/dnsmasq should provide a method to trigger that statistics
dump method.

Here is the patch to let /etc/init.d/dnsmasq provide a method to
trigger that statistics dump method:

root@arua:/etc/init.d# diff -pu dnsmasq.dist dnsmasq
--- dnsmasq.dist        2012-01-04 23:00:07.931824846 +0100
+++ dnsmasq     2012-01-04 23:25:50.059820719 +0100
@@ -256,8 +256,12 @@ case "$1" in
                *) log_success_msg "(unknown)" ; exit 4 ;;
        esac
        ;;
+  stats)
+       echo "Dumping stats to syslog..."
+        kill -s USR1 `cat /var/run/dnsmasq/$NAME.pid`
+       ;;
   *)
-       echo "Usage: /etc/init.d/$NAME 
{start|stop|restart|force-reload|status}" >&2
+       echo "Usage: /etc/init.d/$NAME 
{start|stop|restart|force-reload|status|stats}" >&2
        exit 3
        ;;
 esac



--- End Message ---
--- Begin Message ---
Source: dnsmasq
Source-Version: 2.61-1

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

dnsmasq-base_2.61-1_i386.deb
  to main/d/dnsmasq/dnsmasq-base_2.61-1_i386.deb
dnsmasq-utils_2.61-1_i386.deb
  to main/d/dnsmasq/dnsmasq-utils_2.61-1_i386.deb
dnsmasq_2.61-1.diff.gz
  to main/d/dnsmasq/dnsmasq_2.61-1.diff.gz
dnsmasq_2.61-1.dsc
  to main/d/dnsmasq/dnsmasq_2.61-1.dsc
dnsmasq_2.61-1_all.deb
  to main/d/dnsmasq/dnsmasq_2.61-1_all.deb
dnsmasq_2.61.orig.tar.gz
  to main/d/dnsmasq/dnsmasq_2.61.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.
Simon Kelley <[email protected]> (supplier of updated dnsmasq 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: Tue, 6 Mar 2012 19:45:43 +0000
Source: dnsmasq
Binary: dnsmasq dnsmasq-base dnsmasq-utils
Architecture: source i386 all
Version: 2.61-1
Distribution: unstable
Urgency: low
Maintainer: Simon Kelley <[email protected]>
Changed-By: Simon Kelley <[email protected]>
Description: 
 dnsmasq    - Small caching DNS proxy and DHCP/TFTP server
 dnsmasq-base - Small caching DNS proxy and DHCP/TFTP server
 dnsmasq-utils - Utilities for manipulating DHCP leases
Closes: 654656 668386
Changes: 
 dnsmasq (2.61-1) unstable; urgency=low
 .
    * New upstream.
    * Provide "dump-stats" initscript method. (closes: #654656)
    * Add (empty) build-indep and build-arch rules targets.
    * Bump standards-version to 3.9.3
    * Add port option to example dnsmasq.conf (closes: #668386)
Checksums-Sha1: 
 adfdf354cfa82fde9af10e4337b880e8690f3292 1150 dnsmasq_2.61-1.dsc
 006ba71b37734c51878b7ad15b0c41e029e0e5e2 535022 dnsmasq_2.61.orig.tar.gz
 2bc561d6979eca9fa63210228fb3cebc9bf580e5 18989 dnsmasq_2.61-1.diff.gz
 b6955f07dc1b804adc40be177e520b0110f17213 357850 dnsmasq-base_2.61-1_i386.deb
 f3c8a64d2977b039822a754a0df47d6c7b2764b4 17918 dnsmasq-utils_2.61-1_i386.deb
 39e413f697549a0668fb545bba6aa494f53c878c 16128 dnsmasq_2.61-1_all.deb
Checksums-Sha256: 
 3c93cdeb4e1af6920346bebf288b74192c8c57e6d4c5caac1fb3d0db2483a39e 1150 
dnsmasq_2.61-1.dsc
 ca02483f4c39a583300e4609abb9994c89089a0cea3494bf54512bcdd825f3cb 535022 
dnsmasq_2.61.orig.tar.gz
 b483cb2aefa47d6be0c0ee7038bf9f129768834b96776ee8786c717c4bedac25 18989 
dnsmasq_2.61-1.diff.gz
 a23aa7174261063b9fbfe257ced4a5301a73a3aa482337a4fb5cae4a61496ed2 357850 
dnsmasq-base_2.61-1_i386.deb
 375ebdb0b7d97dd041ea231b59071165496a167086ced40ecc5f0a5ac321eb24 17918 
dnsmasq-utils_2.61-1_i386.deb
 1d045300c2ff4883e35c870427b12247467d030f0fc7e77bc5e6103d59c26c1e 16128 
dnsmasq_2.61-1_all.deb
Files: 
 01cb6a10a852642b09ad13f104006589 1150 net optional dnsmasq_2.61-1.dsc
 4f372e24444e2d58412034b0967a09b4 535022 net optional dnsmasq_2.61.orig.tar.gz
 36fc7cbf92f7e425fcb823251c246ce5 18989 net optional dnsmasq_2.61-1.diff.gz
 dc6c25b47393d3b1cfd4da24d870eb6f 357850 net optional 
dnsmasq-base_2.61-1_i386.deb
 0275cd75ad0091654b0aa2cb29b9cad8 17918 net optional 
dnsmasq-utils_2.61-1_i386.deb
 e3e836baf10744a224e2194babfbbb37 16128 net optional dnsmasq_2.61-1_all.deb

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

iEUEARECAAYFAk+dWgwACgkQKPyGmiibgrdKfgCeK3vfkVJZxnp3ksUfj5l01kDO
4wwAmJowrQ0VQP6wQkC911X2WU2f9GE=
=Pw6C
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to