[Pkg-nagios-devel] Bug#278817: marked as done (check_mysql doesn't read my.cnf options)

Debian Bug Tracking System owner at bugs.debian.org
Fri Oct 7 21:18:19 UTC 2005

Your message dated Fri, 07 Oct 2005 14:02:04 -0700
with message-id <E1ENzLw-0004Of-00 at spohr.debian.org>
and subject line Bug#278817: fixed in nagios-plugins 1.4.2-2
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)

Received: (at submit) by bugs.debian.org; 29 Oct 2004 14:48:47 +0000
>From ian at penguinhosting.net Fri Oct 29 07:48:46 2004
Return-path: <ian at penguinhosting.net>
Received: from dev.coresense.com (coresense.com) [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CNY3a-00025g-00; Fri, 29 Oct 2004 07:48:46 -0700
Received: by coresense.com (Postfix, from userid 1000)
	id 3A3F4E6B06; Fri, 29 Oct 2004 10:47:57 -0400 (EDT)
Date: Fri, 29 Oct 2004 10:47:56 -0400
From: Ian Gulliver <ian at penguinhosting.net>
To: submit at bugs.debian.org
Subject: check_mysql doesn't read my.cnf options
Message-ID: <20041029144755.GA2346 at penguinhosting.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="DSayHWYpDlRfCAAQ"
Content-Disposition: inline
X-Operating-System: Linux puck 2.6.8-1-686 
User-Agent: Mutt/1.5.6+20040722i
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 

Content-Type: multipart/mixed; boundary="rS8CxjVDS/+yyDmU"
Content-Disposition: inline

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: nagios-plugins
Severity: normal
Tags: patch

The check_mysql plugin never reads client settings from my.cnf.  This
causes it to ignore settings in use in the official mysql-clients.  Most
importantly, it ignores SSL configuration, sending the password in
cleartext across the network even if SSL is used by other mysql

Patch to load [client] section from system default my.cnf on startup
attached; verified locally to cause check_mysql to use SSL.

Ian Gulliver
Penguin Hosting
"Failure is not an option; it comes bundled with your Microsoft products."

Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="nagios-plugins-"
Content-Transfer-Encoding: quoted-printable

diff -udr nagios-plugins- nagios-plugins-1.3.1=
--- nagios-plugins-	2003-02-10 19:47:47.000000=
000 -0500
+++ nagios-plugins-	2004-10-29 =
09:57:17.000000000 -0400
@@ -48,6 +48,8 @@
 	/* initialize mysql  */
 	mysql_init (&mysql);
+	mysql_options(&mysql,MYSQL_READ_DEFAULT_GROUP,"client");
 	/* establish a connection to the server and error checking */
 	if (!mysql_real_connect
 			(&mysql, db_host, db_user, db_pass, db, db_port, NULL, 0)) {


Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

Version: GnuPG v1.2.4 (GNU/Linux)



Received: (at 278817-close) by bugs.debian.org; 7 Oct 2005 21:08:39 +0000
>From katie at spohr.debian.org Fri Oct 07 14:08:39 2005
Return-path: <katie at spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1ENzLw-0004Of-00; Fri, 07 Oct 2005 14:02:04 -0700
From: sean finney <seanius at debian.org>
To: 278817-close at bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#278817: fixed in nagios-plugins 1.4.2-2
Message-Id: <E1ENzLw-0004Of-00 at spohr.debian.org>
Sender: Archive Administrator <katie at spohr.debian.org>
Date: Fri, 07 Oct 2005 14:02:04 -0700
Delivered-To: 278817-close at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: nagios-plugins
Source-Version: 1.4.2-2

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

  to pool/main/n/nagios-plugins/nagios-plugins_1.4.2-2.diff.gz
  to pool/main/n/nagios-plugins/nagios-plugins_1.4.2-2.dsc
  to pool/main/n/nagios-plugins/nagios-plugins_1.4.2-2_i386.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 278817 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
sean finney <seanius at debian.org> (supplier of updated nagios-plugins 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 ftpmaster at debian.org)

Hash: SHA1

Format: 1.7
Date: Fri, 07 Oct 2005 22:19:09 +0200
Source: nagios-plugins
Binary: nagios-plugins
Architecture: source i386
Version: 1.4.2-2
Distribution: unstable
Urgency: low
Maintainer: seanius at debian.org
Changed-By: sean finney <seanius at debian.org>
 nagios-plugins - Plugins for the nagios network monitoring and management system
Closes: 278817 306244 308458 312228 316534 316882 327212 332667
 nagios-plugins (1.4.2-2) unstable; urgency=low
   * Sean Finney:
     - ack, the perl plugins broke on the last upload, because "use lib"
       wasn't being properly substituted in.  fixed. (closes: #332667).
     - include upstream fix for check_ups temperature perfdata.  thanks
       to Chris AtLee for originally reporting this (closes: #316534).
     - stop mucking around with config.sub/config.guess in debian/rules.
     - last update in the changelog was missing a colon on the following:
       (closes: #312228, #306244, #308458, #327212, #316882).
     - have check_mysql read in defaults from my.cnf (closes: #278817).
 aaa7a8e305d1ea300d27fd4350379314 959 net extra nagios-plugins_1.4.2-2.dsc
 cabe99cfabace7af16464a00c14a02f3 28967 net extra nagios-plugins_1.4.2-2.diff.gz
 54bde448e6b541bf63a52676aa138b1d 354576 net extra nagios-plugins_1.4.2-2_i386.deb

Version: GnuPG v1.4.2 (GNU/Linux)


More information about the Pkg-nagios-devel mailing list