Your message dated Sun, 12 Feb 2012 16:19:09 +0000
with message-id <[email protected]>
and subject line Bug#659152: fixed in mon 1.2.0-6
has caused the Debian Bug report #659152,
regarding report.monitor ignores command-line options
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.)


-- 
659152: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659152
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mon
Version: 1.2.0-1
Severity: normal
Tags: patch


Comments at the beginning of radius.monitor say you may use
--username, --password, --port, etc.

--port & --attempts are respected by the script, but username,
password, secret, and dictionary command-line options are all
overwritten by the defaults in the script.


Expected behavior: success, no output
Actual behavior: fails, says it tried user "username"
$ ./radius.monitor --username=monitor --password=xxxxxxx \
    --secret=xxxxxxx --port=1812 --attempts=1 radius
radius

radius failed for user username: bad response authenticator



My patch follows the example of the --port option by using the "||="
operator in place of "=". I'm not a perl guy so not sure if this is
the best way or not.


-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages mon depends on:
ii  adduser                       3.112+nmu2 add and remove users and groups
ii  libc6                         2.11.3-2   Embedded GNU C Library: Shared lib
ii  libtime-period-perl           1.20-8     Perl library for testing if a time
ii  mon-client                    1.2.0-1    modules for interfacing with the m

Versions of packages mon recommends:
ii  fping                 2.4b2-to-ipv6-16.1 sends ICMP ECHO_REQUEST packets to
ii  libauthen-pam-perl    0.16-2             Perl interface to PAM library
ii  libcrypt-ssleay-perl  0.57-2             Support for https protocol in LWP
ii  libfilesys-diskspace- 0.05-13            fetch filesystem size and usage in
ii  libnet-dns-perl       0.66-2             Perform DNS queries from a Perl sc
ii  libnet-ldap-perl      1:0.4001-2         client interface to LDAP servers
ii  libnet-telnet-perl    3.03-3             Script telnetable connections
ii  libsnmp-perl          5.4.3~dfsg-2       SNMP (Simple Network Management Pr
ii  libstatistics-descrip 3.0200-1           Perl module for basic descriptive
ii  libtime-modules-perl  2006.0814-2        Various Perl modules for time/date
ii  perl-modules [libnet- 5.10.1-17squeeze3  Core Perl modules

mon suggests no packages.

-- Configuration Files:
/etc/mon/auth.cf changed [not included]
/etc/mon/mon.cf changed [not included]

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/lib/mon/mon.d/snmpvar.monitor (from mon package)

*** ~/patch
--- radius.monitor      2004-11-15 06:45:19.000000000 -0800
+++ radius.monitor      2012-02-07 18:51:16.000000000 -0800
@@ -60,10 +60,10 @@
 # uncomment these three lines and replace with appropriate info if you'd prefer
 # not to pass sensitive information on the command line
 #
-$options{"username"} = "username";
-$options{"password"} = "password";
-$options{"secret"} = "radius-secret";
-$options{"dictionary"} = "/etc/radius/dictionary";
+$options{"username"} ||= "username";
+$options{"password"} ||= "password";
+$options{"secret"} ||= "radius-secret";
+$options{"dictionary"} ||= "/etc/radius/dictionary";

 Authen::Radius->load_dictionary( $options{dictionary} );



--- End Message ---
--- Begin Message ---
Source: mon
Source-Version: 1.2.0-6

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_1.2.0-6.debian.tar.gz
  to main/m/mon/mon_1.2.0-6.debian.tar.gz
mon_1.2.0-6.dsc
  to main/m/mon/mon_1.2.0-6.dsc
mon_1.2.0-6_i386.deb
  to main/m/mon/mon_1.2.0-6_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 <[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: SHA256

Format: 1.8
Date: Sun, 12 Feb 2012 17:00:45 +0100
Source: mon
Binary: mon
Architecture: source i386
Version: 1.2.0-6
Distribution: unstable
Urgency: low
Maintainer: Dario Minnucci <[email protected]>
Changed-By: Dario Minnucci <[email protected]>
Description: 
 mon        - monitor hosts/services/whatever and alert about problems
Closes: 655357 656351 659152
Changes: 
 mon (1.2.0-6) unstable; urgency=low
 .
   * debian/control: Really set debhelper compat to >=9.
   * debian/copyright: Source URL updated.
     - Thanks to Jari Aalto <[email protected]> (Closes: #655357)
   * debian/patches:
     - 04-fix-659152-report.monitor-ignores-command-line-options.diff
       Fix for report.monitor ignores command-line options. Thanks to
       Kevin McCormick <[email protected]> (Closes: #659152)
   * debian/mon.postrm: Fix to not remove user 'mon' twice.
     (Closes: #656351)
Checksums-Sha1: 
 2b7f9abf8d79ccd9652e20593bdcb20732823507 1791 mon_1.2.0-6.dsc
 b0afa0709852c3a85b4885aee0f4dc654806d00d 19681 mon_1.2.0-6.debian.tar.gz
 5297acfe8a70eb5d6bd8bafd44ec537e32696de6 316800 mon_1.2.0-6_i386.deb
Checksums-Sha256: 
 b2deb168d769f81dcd5d0cf263972e219a7b3d2b8b62dc45b3d6a478eaf92170 1791 
mon_1.2.0-6.dsc
 6d7a932c5b50604da2d0234a85ac9b9f523959975a5e304dd55105e19070925e 19681 
mon_1.2.0-6.debian.tar.gz
 1985d14a3eabb07fdcabd7c4357a214e9a2338546e263bffdba24b327826f91b 316800 
mon_1.2.0-6_i386.deb
Files: 
 11d7e69f9d6e7aef19bc229ac7297953 1791 admin extra mon_1.2.0-6.dsc
 b7743ce2fda0d68bd7a9b545d1614d55 19681 admin extra mon_1.2.0-6.debian.tar.gz
 fce87fa3c1ebef05a8609248ecbb9a59 316800 admin extra mon_1.2.0-6_i386.deb

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

iQIcBAEBCAAGBQJPN+LJAAoJEKgvu4Pz1XAzqCUQAIqjqXImZHS//6BbPi+VmtVW
FEZ+88yX+tUS0b9zLOKjZ2cgGRH7U9wCHpG5r6A29Ob3sHXACdCfFYoxXww/uBv2
r2sZhTIZJHkFv6NqvTtobcKMOu/9SmQJ4ATd0+cEfEpGmPLtLSbdXH3XXKQDd/F0
DSFOFB1ow/RcMYhQBTmm0XzujXITi7GqzlipTkQsHoeAJJ9sP4PnAEjK85mrBifj
VcooBX48bbCnQtcqy9g2I73Uv5U3yb1gxAwFM15xaCNqDAWbrmSHxfy8YrE+d2G3
HEQLJpGBIb6+EoyfiCKb+/9V38vsFLqnnp1T9h2MqosBgJ7NubIVpKXGsySGnAs9
3sAbAg5NhFiYTSiFNETLWVxEd8QBxq9Aji/0GhxoWneaEeULpRjXr72H+PE8SJ4b
GFow0GR0szKEga7nQXmPR9ACz7Kkd+Pn2JVFlYx6mhivLEH7TylDntSn35GDTURN
xZhLc0uLp3dbgclLol2ZrF2LDt4IlZiXAvdRxEVo7FOzNaVHQ5z5af/xF6mOIyaP
mkuQF1BBQzlmw8LO7nL7DQgeGvUW6m/MPXjChZjTHAPclE9eY8Ks4/h+0otNNytC
oF9m/rUTM8w72Lpii0GM1ZEqeKChS1RRqO7EEhGraek26RA3NLVXzsfx/Rm17WY9
Bb/gDv6oTAdRU1ccN8jw
=ONDu
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to