From mailman-bounces@oss.sgi.com Mon Oct 1 05:08:18 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,BAYES_00, J_CHICKENPOX_25 autolearn=no version=3.4.0-r929098 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q91A7o8W118777 for ; Mon, 1 Oct 2012 05:07:50 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: oss.sgi.com mailing list memberships reminder From: mailman-owner@oss.sgi.com To: pcp@oss.sgi.com X-No-Archive: yes Message-ID: Date: Mon, 01 Oct 2012 05:00:43 -0500 Precedence: bulk X-BeenThere: mailman@oss.sgi.com X-Mailman-Version: 2.1.11 List-Id: Mailman mail X-List-Administrivia: yes Sender: mailman-bounces@oss.sgi.com Errors-To: mailman-bounces@oss.sgi.com This is a reminder, sent out once a month, about your oss.sgi.com mailing list memberships. It includes your subscription info and how to use it to change it or unsubscribe from a list. You can visit the URLs to change your membership status or configuration, including unsubscribing, setting digest-style delivery or disabling delivery altogether (e.g., for a vacation), and so on. In addition to the URL interfaces, you can also use email to make such changes. For more info, send a message to the '-request' address of the list (for example, mailman-request@oss.sgi.com) containing just the word 'help' in the message body, and an email message will be sent to you with instructions. If you have questions, problems, comments, etc, send them to mailman-owner@oss.sgi.com. Thanks! Passwords for pcp@oss.sgi.com: List Password // URL ---- -------- pcp-announce@oss.sgi.com xE+IBctR http://oss.sgi.com/mailman/options/pcp-announce/pcp%40oss.sgi.com From thomas@suse.de Mon Oct 1 06:44:03 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q91Bi3nm123861 for ; Mon, 1 Oct 2012 06:44:03 -0500 X-ASG-Debug-ID: 1349091923-04bdf0289cecb80001-S8gJnT Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by cuda.sgi.com with ESMTP id b9WBQnbLPvdRACyf (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 01 Oct 2012 04:45:25 -0700 (PDT) X-Barracuda-Envelope-From: thomas@suse.de X-Barracuda-Apparent-Source-IP: 195.135.220.15 Received: from relay2.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 6CFC1A0FF5 for ; Mon, 1 Oct 2012 13:45:23 +0200 (CEST) Message-ID: <1349091920.14839.47.camel@spiral.ashpool.org> Subject: security issues and design of pmcd From: Thomas Biege X-ASG-Orig-Subj: security issues and design of pmcd To: pcp@oss.sgi.com Date: Mon, 01 Oct 2012 13:45:20 +0200 Organization: SUSE Linux Products GmbH Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-MOlowRbdKBTSd/bB9obk" X-Mailer: Evolution 3.4.4 Mime-Version: 1.0 X-Barracuda-Connect: cantor2.suse.de[195.135.220.15] X-Barracuda-Start-Time: 1349091924 X-Barracuda-Encrypted: AES256-SHA X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110097 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- --=-MOlowRbdKBTSd/bB9obk Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, we are currently in the process of updating pcp due to the recently discovered security issues. But I am not very happy with the design of pmcd.=20 Would it be possible to run the code that processes the network data without UID and GID 0? A small daemon that runs with a dedicated UID/GID that uses IPC to talk to another more intelligent service that collects/processes data might be a choice. Or a local service that creates uses a database/message queue that can be accessed by the daemon listening on the network. What do you think? Best regards, Thomas --=20 Thomas Biege, Project Manager Security, CSSLP SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer, HRB 21284 (AG N=C3=BCrnberg) -- Wer aufhoert besser werden zu wollen, hoert auf gut zu sein. -- Marie von Ebner-Eschenbach --=-MOlowRbdKBTSd/bB9obk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQEcBAABCAAGBQJQaYJQAAoJEJqHoVJVjr8Dbp4IAKkgVmB328kCD9zNn6vJFNJj /3kj0HapomLR63bYoTggiPI1l1q5D6dPwEQGyD7aHYoij3ZnqOqXKBTMM2+Ino5h B0Zx2BNwiFORr9Bu+gDwd8xvLv1dxQy/ET5Fn9V8XnPv6tOzuwQsrDojl6TkNh7e p5wanB0aSQAna0306R2vBtU8jqWuUwaAtAKtN30eUV22NHLLqQHxyjeUC0fQBMgL HWHUyfp71yA2Ib3u5qlegbRhiNti9q5Q9obG5OqGAYJioUeCAHRQ/CjhZS6zMVyo Jgb4TMI3RpcyS4Gf5IKLT06dN9YyDd0w76Ccp15nd6MHgCFHPTEwaXB+YA5sLJI= =oYLL -----END PGP SIGNATURE----- --=-MOlowRbdKBTSd/bB9obk-- From fche@redhat.com Mon Oct 1 14:54:56 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q91Jst3V178263 for ; Mon, 1 Oct 2012 14:54:56 -0500 X-ASG-Debug-ID: 1349121378-04cbb05e3d0f760001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id gmSzrjmmhSRwTKm8 for ; Mon, 01 Oct 2012 12:56:18 -0700 (PDT) X-Barracuda-Envelope-From: fche@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 X-ASG-Whitelist: Client Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q91JuItB016196 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 1 Oct 2012 15:56:18 -0400 Received: from fche.csb (vpn-8-91.rdu.redhat.com [10.11.8.91]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q91JuHPL016971; Mon, 1 Oct 2012 15:56:17 -0400 Received: by fche.csb (Postfix, from userid 2569) id B470B581BA; Mon, 1 Oct 2012 15:56:13 -0400 (EDT) To: Thomas Biege Cc: pcp@oss.sgi.com Subject: Re: security issues and design of pmcd References: <1349091920.14839.47.camel@spiral.ashpool.org> X-ASG-Orig-Subj: Re: security issues and design of pmcd From: fche@redhat.com (Frank Ch. Eigler) Date: Mon, 01 Oct 2012 15:56:13 -0400 In-Reply-To: <1349091920.14839.47.camel@spiral.ashpool.org> (Thomas Biege's message of "Mon, 01 Oct 2012 13:45:20 +0200") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1349121378 X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com thomas wrote: > [...] Would it be possible to run the code that processes the > network data without UID and GID 0? [...] We've started thinking about this problem some time ago, and will start working on it shortly. My favorite approach so far is to have pmcd run as an unprivileged user, talking to & managing differently-privileged PMDA processes as configured (or requested by an authenticated remote pmcd user). - FChE From tdohnale@redhat.com Tue Oct 2 13:37:58 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00,DATE_IN_PAST_03_06 autolearn=no version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q92Ibws3074460 for ; Tue, 2 Oct 2012 13:37:58 -0500 X-ASG-Debug-ID: 1349203162-04cbb05e3b3f750001-S8gJnT Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id V5jF9GKZQESRd7b5 for ; Tue, 02 Oct 2012 11:39:22 -0700 (PDT) X-Barracuda-Envelope-From: tdohnale@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.24 Received: from zmail19.collab.prod.int.phx2.redhat.com (zmail19.collab.prod.int.phx2.redhat.com [10.5.83.22]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q92ERYBr010009 for ; Tue, 2 Oct 2012 10:27:34 -0400 Date: Tue, 2 Oct 2012 10:27:34 -0400 (EDT) From: Tomas Dohnalek To: pcp@oss.sgi.com Message-ID: <930522175.1506714.1349188054716.JavaMail.root@redhat.com> Subject: [pcp] qa/041 fix MIME-Version: 1.0 X-ASG-Orig-Subj: [pcp] qa/041 fix Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.34.25.247] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24] X-Barracuda-Start-Time: 1349203162 X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 1.09 X-Barracuda-Spam-Status: No, SCORE=1.09 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=DATE_IN_PAST_03_06, DATE_IN_PAST_03_06_2 X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110219 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.01 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date 1.08 DATE_IN_PAST_03_06_2 DATE_IN_PAST_03_06_2 Hi, while testing I found this issue when running 041 test: 041 48s ... - output mismatch (see 041.out.bad) 21c21 < $PCP_RC_DIR/pmcd: Warning: Forcing pmcd to terminate! --- > /opt/rh/devtoolset-1.1/ root ... /etc/rc.d/init.d/pmcd: Warning: Forcing pmcd to terminate! This happens, when PCP_RC_DIR contains `root' string in path. See patch below. --- Replace `root' string in filter only in the beginning of line. diff --git a/qa/041 b/qa/041 index b24f4db..1f11778 100755 --- a/qa/041 +++ b/qa/041 @@ -24,7 +24,7 @@ _filter() -e '/UNAME/d' \ -e '/USER/d' \ -e '/host/s/host "[^"]*"/host SOMEHOST/' \ - -e 's/ *root[^/]*\// root ... \//' \ + -e 's/^ *root[^/]*\// root ... \//' \ -e 's/pmcd -.*/pmcd/' \ -e '/__pmGetPDU:.*illegal PDU len=0/d' \ | _filter_pcp_start \ -- Tomas Dohnalek QE Tools Intern IRC: tdohnale From thomas@suse.de Tue Oct 2 13:57:10 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q92IvAQE076463 for ; Tue, 2 Oct 2012 13:57:10 -0500 X-ASG-Debug-ID: 1349203450-04cbb05e3c3fae0001-S8gJnT Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by cuda.sgi.com with ESMTP id GvPIEkBbZqAZKEkh (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Tue, 02 Oct 2012 11:44:11 -0700 (PDT) X-Barracuda-Envelope-From: thomas@suse.de X-Barracuda-Apparent-Source-IP: 195.135.220.15 Received: from relay2.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 3A18EA329E; Tue, 2 Oct 2012 16:12:22 +0200 (CEST) Message-ID: <1349187129.6049.68.camel@aleph.suse.de> Subject: Re: security issues and design of pmcd From: Thomas Biege X-ASG-Orig-Subj: Re: security issues and design of pmcd To: "Frank Ch. Eigler" Cc: pcp@oss.sgi.com Date: Tue, 02 Oct 2012 16:12:09 +0200 In-Reply-To: <20121002135538.GB6525@redhat.com> References: <1349091920.14839.47.camel@spiral.ashpool.org> <1349168116.6049.55.camel@aleph.suse.de> <20121002135538.GB6525@redhat.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-gh6z2dvk3+00tl6mL1A9" X-Mailer: Evolution 3.4.4 Mime-Version: 1.0 X-Barracuda-Connect: cantor2.suse.de[195.135.220.15] X-Barracuda-Start-Time: 1349203451 X-Barracuda-Encrypted: AES256-SHA X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110219 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header --=-gh6z2dvk3+00tl6mL1A9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi. Am Dienstag, den 02.10.2012, 09:55 -0400 schrieb Frank Ch. Eigler: > Hi, Thomas - >=20 > > Can you estimate when this new design will be implemented and released? > > Even a rough estimation would be very helpful for me. [...] >=20 > It's hard to say; a couple of months for sure. Assistance would be welco= me. What kind of assistance would you need? Cheers, Thomas --=20 Thomas Biege , Project Manager Security, CSSLP=20 SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer, HRB 21284 (AG N=C3=BCrnberg) -- Wer aufhoert besser werden zu wollen, hoert auf gut zu sein. -- Marie von Ebner-Eschenbach --=-gh6z2dvk3+00tl6mL1A9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQEcBAABAgAGBQJQavY5AAoJEJqHoVJVjr8DADUIANUO+KaduFjhOSodPX2Tv8hp QF0xsAT+wReFqoQXs86SvGLFJOuLR5thYhZewuAb4CsQywMSynZiQ27FbsmXMa3w 3wyZVIRbO/LucOX4XCT0Z+PvsutNRkhelfm145SDuP2rZqHs1+Tr7AOXAuNrtcZG xPK8azD7xLIzekBg+X/5ZnDyi/QdZ3q4UjoaVJ6J3/88CUnvY72hLtc1izQNnszQ yl/QAIyOm9E1Jx9mtTfENJbbVfQm/iwunIIPHeIICATei8keClAwz889P0a6qS2h 82vqsJO+bSptCyoMf4xOHQQND6pNko7slfpt8mx4a4KxT1IwuAYmgQt8TUuLPig= =FnGP -----END PGP SIGNATURE----- --=-gh6z2dvk3+00tl6mL1A9-- From fche@redhat.com Tue Oct 2 13:57:14 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q92IvEuG076482 for ; Tue, 2 Oct 2012 13:57:14 -0500 X-ASG-Debug-ID: 1349204318-04bdf0556642b40001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id zpm1cbH3HP8x3XpB for ; Tue, 02 Oct 2012 11:58:38 -0700 (PDT) X-Barracuda-Envelope-From: fche@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 X-ASG-Whitelist: Client Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q92DtdgM000770 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 2 Oct 2012 09:55:43 -0400 Received: from fche.csb (vpn-8-91.rdu.redhat.com [10.11.8.91]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q92Dtc5j019478; Tue, 2 Oct 2012 09:55:39 -0400 Received: by fche.csb (Postfix, from userid 2569) id 707DE5819D; Tue, 2 Oct 2012 09:55:38 -0400 (EDT) Date: Tue, 2 Oct 2012 09:55:38 -0400 From: "Frank Ch. Eigler" To: Thomas Biege Cc: pcp@oss.sgi.com Subject: Re: security issues and design of pmcd Message-ID: <20121002135538.GB6525@redhat.com> X-ASG-Orig-Subj: Re: security issues and design of pmcd References: <1349091920.14839.47.camel@spiral.ashpool.org> <1349168116.6049.55.camel@aleph.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1349168116.6049.55.camel@aleph.suse.de> User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1349204318 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com Hi, Thomas - > Can you estimate when this new design will be implemented and released? > Even a rough estimation would be very helpful for me. [...] It's hard to say; a couple of months for sure. Assistance would be welcome. - FChE From tdohnale@redhat.com Tue Oct 2 14:03:38 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q92J3cJu077095 for ; Tue, 2 Oct 2012 14:03:38 -0500 X-ASG-Debug-ID: 1349204701-04bdf0556343270001-S8gJnT Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id KJIebaxZTHQMxmjl for ; Tue, 02 Oct 2012 12:05:02 -0700 (PDT) X-Barracuda-Envelope-From: tdohnale@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.25 Received: from zmail19.collab.prod.int.phx2.redhat.com (zmail19.collab.prod.int.phx2.redhat.com [10.5.83.22]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q92HbS4H012969 for ; Tue, 2 Oct 2012 13:37:28 -0400 Date: Tue, 2 Oct 2012 13:37:28 -0400 (EDT) From: Tomas Dohnalek To: pcp@oss.sgi.com Message-ID: <1451334599.1554619.1349199448080.JavaMail.root@redhat.com> In-Reply-To: <930522175.1506714.1349188054716.JavaMail.root@redhat.com> Subject: [pcp] qa/041 root filtering MIME-Version: 1.0 X-ASG-Orig-Subj: [pcp] qa/041 root filtering Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.36.116.56] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25] X-Barracuda-Start-Time: 1349204702 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110221 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Hi, while testing I found this issue when running 041 test: 041 48s ... - output mismatch (see 041.out.bad) 21c21 < $PCP_RC_DIR/pmcd: Warning: Forcing pmcd to terminate! --- > /opt/rh/devtoolset-1.1/ root ... /etc/rc.d/init.d/pmcd: Warning: Forcing pmcd to terminate! This happens, when PCP_RC_DIR contains `root' string in path. See patch below. --- Replace `root' string in filter only in the beginning of line. diff --git a/qa/041 b/qa/041 index b24f4db..1f11778 100755 --- a/qa/041 +++ b/qa/041 @@ -24,7 +24,7 @@ _filter() -e '/UNAME/d' \ -e '/USER/d' \ -e '/host/s/host "[^"]*"/host SOMEHOST/' \ - -e 's/ *root[^/]*\// root ... \//' \ + -e 's/^ *root[^/]*\// root ... \//' \ -e 's/pmcd -.*/pmcd/' \ -e '/__pmGetPDU:.*illegal PDU len=0/d' \ | _filter_pcp_start \ -- Tomas Dohnalek QE Tools Intern IRC: tdohnale From thomas@suse.de Tue Oct 2 17:18:29 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q92MISkS096498 for ; Tue, 2 Oct 2012 17:18:28 -0500 X-ASG-Debug-ID: 1349168129-04bdf0556325b10001-S8gJnT Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by cuda.sgi.com with ESMTP id e1eofovoWhmg1LYp (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Tue, 02 Oct 2012 01:55:30 -0700 (PDT) X-Barracuda-Envelope-From: thomas@suse.de X-Barracuda-Apparent-Source-IP: 195.135.220.15 Received: from relay2.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id D7A7A9A78E; Tue, 2 Oct 2012 10:55:28 +0200 (CEST) Message-ID: <1349168116.6049.55.camel@aleph.suse.de> Subject: Re: security issues and design of pmcd From: Thomas Biege X-ASG-Orig-Subj: Re: security issues and design of pmcd To: "Frank Ch. Eigler" Cc: pcp@oss.sgi.com Date: Tue, 02 Oct 2012 10:55:16 +0200 In-Reply-To: References: <1349091920.14839.47.camel@spiral.ashpool.org> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-iVU1iiQN2NVb3q/ipwe7" X-Mailer: Evolution 3.4.4 Mime-Version: 1.0 X-Barracuda-Connect: cantor2.suse.de[195.135.220.15] X-Barracuda-Start-Time: 1349168130 X-Barracuda-Encrypted: AES256-SHA X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110181 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header --=-iVU1iiQN2NVb3q/ipwe7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Frank, Am Montag, den 01.10.2012, 15:56 -0400 schrieb Frank Ch. Eigler: > thomas wrote: >=20 > > [...] Would it be possible to run the code that processes the > > network data without UID and GID 0? [...] >=20 > We've started thinking about this problem some time ago, and will > start working on it shortly. My favorite approach so far is to have > pmcd run as an unprivileged user, talking to & managing > differently-privileged PMDA processes as configured (or requested by > an authenticated remote pmcd user). This sounds good. Can you estimate when this new design will be implemented and released? Even a rough estimation would be very helpful for me. The process of going to a higher version of a package for our enterprise products is costly and it would be nice to avoid doing it twice in a short=20 timeframe. Thanks, Thomas --=20 Thomas Biege , Project Manager Security, CSSLP=20 SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer, HRB 21284 (AG N=C3=BCrnberg) -- Wer aufhoert besser werden zu wollen, hoert auf gut zu sein. -- Marie von Ebner-Eschenbach --=-iVU1iiQN2NVb3q/ipwe7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQEcBAABAgAGBQJQaqv0AAoJEJqHoVJVjr8D3poIAJUx4IvwO+tTZ9BnIjktTFVA Ue8rQCT2emPIeuNDSGwR7ligUJpkTcZfquc2WSCKwghn+rjJXhOYYrUqz2heLyuY MDAZCC5Gu4kzT2FtBUQQzBbbPHaRTZ9dy/5RPstAoBsSdgVXgHL4Y9BWj6GBFbar /iKi0m+s6uIOiOvtLvIfrw/FMCeO0jiC52n8iBx2JrGRbWiZI5U3nITJsXNqXeN3 uDYlNT7KBHrp4BJcckXzoQjJtI5K8+v1xpMDSsMN0suijXh6nbV2M+BJyMDwwJu8 HKq4Eie7B5dhasz6T92NZ+ULDo90523VTczwvrmvhVi+A0vNyeYeFJwhhgnls2o= =8t+j -----END PGP SIGNATURE----- --=-iVU1iiQN2NVb3q/ipwe7-- From nscott@redhat.com Tue Oct 2 17:56:29 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q92MuSx4101377 for ; Tue, 2 Oct 2012 17:56:29 -0500 X-ASG-Debug-ID: 1349218672-04cb6c283248f80001-S8gJnT Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id 7bchCoYb2Wo2qAic for ; Tue, 02 Oct 2012 15:57:52 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.24 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q92MvqKP005130; Tue, 2 Oct 2012 18:57:52 -0400 Date: Tue, 2 Oct 2012 18:57:52 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Cc: Tomas Dohnalek Message-ID: <2011020901.6018365.1349218672170.JavaMail.root@redhat.com> Subject: pcp updates: qa updates, win32 port fixes MIME-Version: 1.0 X-ASG-Orig-Subj: pcp updates: qa updates, win32 port fixes Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.48.250] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24] X-Barracuda-Start-Time: 1349218672 X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110237 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp.git dev GNUmakefile | 6 +++++- qa/041 | 4 ++-- src/include/pcp/platform_header.h.in | 1 + src/libpcp/src/auxconnect.c | 10 +++++----- src/libpcp_pmda/src/open.c | 2 +- 5 files changed, 14 insertions(+), 9 deletions(-) commit 5e687066e9943688e6f2ff10cae1b6dd5ee6cc89 Author: Tomas Dohnalek Date: Wed Oct 3 08:52:49 2012 +1000 In test qa/041, replace "root" in filter only at the beginning of a line. This resolves the following QA failure case: 041 48s ... - output mismatch (see 041.out.bad) 21c21 < $PCP_RC_DIR/pmcd: Warning: Forcing pmcd to terminate! --- > /opt/rh/devtoolset-1.1/ root ... /etc/rc.d/init.d/pmcd: Warning: Forcing pmcd to terminate! This happens, when PCP_RC_DIR contains `root' string in path. commit f41895733ff587301d9b04a3ac35c5a654dbf974 Author: Nathan Scott Date: Wed Oct 3 08:46:16 2012 +1000 Fix test 041 to not leave _filter_pmcd_log breadcrumbs behind commit 89027c5feb5214564395fdd1bf287392573fc472 Author: Nathan Scott Date: Fri Sep 28 13:49:26 2012 +1000 Slight tweak on Kens earlier Win32 fix for CLOEXEC, culling an ifdef commit 924639c950bda9dfe3b7f021140f78277bfddf66 Merge: 3e860be 7afea63 Author: Ken McDonell Date: Fri Sep 28 03:57:39 2012 +1000 Merge branch 'dev' of git://oss.sgi.com/pcp/pcp into dev commit 3e860be5094f329464a8d7ee8492ad50e137a01e Author: Ken McDonell Date: Fri Sep 28 03:48:22 2012 +1000 libpcp/auxconnect.c - secure connection changes don't compile on Windows FD_CLOEXEC is undefined on Windows ... not sure if the intent is known for this code on Windows ... this change makes it a no-op and allows building again on Windows. commit 3f27773dde72e221da0f97fe99d5ea59e6df9cbe Author: Ken McDonell Date: Fri Sep 28 03:46:32 2012 +1000 GNUmakefile - don't descend into qa for Windows There is no way this is going to work, ... yet. commit b53200eca893b587a4bfe0ddb39c22455d78de7c Author: Ken McDonell Date: Fri Sep 28 03:45:14 2012 +1000 libpcp_pmda/open.c - fix typo in Windows code block -- Nathan From nscott@redhat.com Tue Oct 2 17:58:20 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q92MwKfd101507 for ; Tue, 2 Oct 2012 17:58:20 -0500 X-ASG-Debug-ID: 1349218784-04bdf055634cac0001-S8gJnT Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id w0UohymhMHPM0hun for ; Tue, 02 Oct 2012 15:59:44 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.25 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q92MxhFg001300; Tue, 2 Oct 2012 18:59:43 -0400 Date: Tue, 2 Oct 2012 18:59:43 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: Tomas Dohnalek Cc: pcp@oss.sgi.com Message-ID: <514886531.6022032.1349218783904.JavaMail.root@redhat.com> In-Reply-To: <1451334599.1554619.1349199448080.JavaMail.root@redhat.com> Subject: Re: [pcp] qa/041 root filtering MIME-Version: 1.0 X-ASG-Orig-Subj: Re: [pcp] qa/041 root filtering Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.48.250] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25] X-Barracuda-Start-Time: 1349218784 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.01 X-Barracuda-Spam-Status: No, SCORE=0.01 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_SA_TO_FROM_DOMAIN_MATCH X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110237 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH Sender Domain Matches Recipient Domain Hi Tomas, ----- Original Message ----- > Hi, > while testing I found this issue when running 041 test: > > 041 48s ... - output mismatch (see 041.out.bad) > 21c21 > < $PCP_RC_DIR/pmcd: Warning: Forcing pmcd to terminate! > --- > > /opt/rh/devtoolset-1.1/ root ... /etc/rc.d/init.d/pmcd: Warning: > > Forcing pmcd to terminate! > > This happens, when PCP_RC_DIR contains `root' string in path. Thanks Tomas, merged now (although I didn't understand where the "root" was coming from until I looked a bit more closely at how DTS sets up its environment (with /opt/rh/devtoolset-1.1/root/). Also, thanks to this closer look, I found another issue that has been bugging me for awhile - one of the tests was leaving a file named _filter_pmcd_log behind, which was clearly in error ... it turns out to be test 041! So, I've fixed that at the same time. This was the old annoying behaviour (trouble was finding *which* test, after hundreds run, and all looked OK on the surface): $ ./check -q -l 041 041 47s ... Passed all 1 tests $ git status # Untracked files: # (use "git add ..." to include in what will be committed) # # _filter_pmcd_log So - a double thank you! Your efforts are much appreciated. In other news, I'd like to get a PCP point release out, sometime in the next week or so to a/ rollup all the QA fixes into something more official (and update DTS RPMs), and b/ get some small fixes and features out too. If you have a backlog of these little QA fixes, please push 'em through this week if you can (I'll also spend some time locally testing new DTS bits too, see if I can find any other issues). cheers. -- Nathan From nscott@redhat.com Tue Oct 2 19:36:28 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q930aSkZ115339 for ; Tue, 2 Oct 2012 19:36:28 -0500 X-ASG-Debug-ID: 1349224672-04cbb05e3c4de20001-S8gJnT Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id XCNdk5VJmZIa5sHe for ; Tue, 02 Oct 2012 17:37:52 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.24 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q930bpt6020070; Tue, 2 Oct 2012 20:37:51 -0400 Date: Tue, 2 Oct 2012 20:37:51 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: Thomas Biege Cc: pcp@oss.sgi.com Message-ID: <1385369748.6053225.1349224671821.JavaMail.root@redhat.com> In-Reply-To: <1349168116.6049.55.camel@aleph.suse.de> Subject: Re: [pcp] security issues and design of pmcd MIME-Version: 1.0 X-ASG-Orig-Subj: Re: [pcp] security issues and design of pmcd Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.48.250] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24] X-Barracuda-Start-Time: 1349224672 X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110243 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Hi Thomas, ----- Original Message ----- > Hello Frank, > > Am Montag, den 01.10.2012, 15:56 -0400 schrieb Frank Ch. Eigler: > > thomas wrote: > > > > > [...] Would it be possible to run the code that processes the > > > network data without UID and GID 0? [...] > > > > We've started thinking about this problem some time ago, and will > > start working on it shortly. My favorite approach so far is to > > have pmcd run as an unprivileged user, talking to & managing > > differently-privileged PMDA processes as configured (or requested > > by an authenticated remote pmcd user). > > This sounds good. *nod* - the difficulty is in figuring out how to make an unprivileged pmcd able to start these privileged child processes (which it usually communicates with via pipes). At startup it's relatively easy (pmcd starts initially as root, could then change its uid/gid after starting the agents) but pmcd also needs to be able to be sent SIGHUP and (re)- start its children. And without disruption to any of pmcd's existing client connections. Perhaps a setuid helper could do this bit somehow but this is the bit that's not really clear in my head at this stage. > Can you estimate when this new design will be implemented and > released? > Even a rough estimation would be very helpful for me. I'm finishing up work for a pcp-gui update at the moment with several new features; this is then the next big chunk of work I'll be looking at afterward. Any/all help you can offer would be appreciated too of course! > ... The process of > going to a higher version of a package for our enterprise products > is costly ... *nod*, understood. In order to assist, I'd recommend getting the PCP testsuite running locally (see list archive for details), and getting the tests passing on a current SLES setup. Then you guys'll be in a good place to start testing the new mode (and testing spec file tweaks to register a new "pcp" user/group, etc, which is likely to be needed). cheers. -- Nathan From tdohnale@redhat.com Wed Oct 3 02:36:55 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q937at5H157758 for ; Wed, 3 Oct 2012 02:36:55 -0500 X-ASG-Debug-ID: 1349249899-04cbb05e3d58fb0001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id 09DFwlKe5pmLOEG5 for ; Wed, 03 Oct 2012 00:38:19 -0700 (PDT) X-Barracuda-Envelope-From: tdohnale@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 X-ASG-Whitelist: Client Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q937cJ9c031721 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 3 Oct 2012 03:38:19 -0400 Received: from [10.36.116.51] (ovpn-116-51.ams2.redhat.com [10.36.116.51]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q937cGpT011892 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 3 Oct 2012 03:38:18 -0400 Message-ID: <506BEB68.1030507@redhat.com> Date: Wed, 03 Oct 2012 09:38:16 +0200 From: Tomas Dohnalek User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: Nathan Scott CC: pcp@oss.sgi.com Subject: Re: [pcp] qa/041 root filtering References: <514886531.6022032.1349218783904.JavaMail.root@redhat.com> X-ASG-Orig-Subj: Re: [pcp] qa/041 root filtering In-Reply-To: <514886531.6022032.1349218783904.JavaMail.root@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1349249899 X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com Dne 3.10.2012 00:59, Nathan Scott napsal(a): > Hi Tomas, > ... > If you have a backlog of these little QA fixes, please push 'em > through this week if you can (I'll also spend some time locally > testing new DTS bits too, see if I can find any other issues). > > cheers. > > -- > Nathan Hi, I will try to do something, but I am currently ill, so I no promises. Tomas -- Tomas Dohnalek QE Tools Intern Red Hat From nscott@redhat.com Wed Oct 3 02:48:04 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q937m4Q3159063 for ; Wed, 3 Oct 2012 02:48:04 -0500 X-ASG-Debug-ID: 1349250568-04bdf055655bea0001-S8gJnT Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id UJZJ5jd8O8UfFY14 for ; Wed, 03 Oct 2012 00:49:28 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.25 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q937nRZp025856; Wed, 3 Oct 2012 03:49:27 -0400 Date: Wed, 3 Oct 2012 03:49:27 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: Tomas Dohnalek Cc: pcp@oss.sgi.com Message-ID: <1934512294.6131600.1349250567907.JavaMail.root@redhat.com> In-Reply-To: <506BEB68.1030507@redhat.com> Subject: Re: [pcp] qa/041 root filtering MIME-Version: 1.0 X-ASG-Orig-Subj: Re: [pcp] qa/041 root filtering Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.38] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25] X-Barracuda-Start-Time: 1349250568 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.01 X-Barracuda-Spam-Status: No, SCORE=0.01 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_SA_TO_FROM_DOMAIN_MATCH X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110270 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH Sender Domain Matches Recipient Domain ----- Original Message ----- > Dne 3.10.2012 00:59, Nathan Scott napsal(a): > Hi, I will try to do something, but I am currently ill, so I no > promises. > No problem - rest up, will talk when you're back on your feet. cheers. -- Nathan From nscott@redhat.com Wed Oct 3 02:52:47 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q937qkxH159799 for ; Wed, 3 Oct 2012 02:52:47 -0500 X-ASG-Debug-ID: 1349250850-04cb6c283058e20001-S8gJnT Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id S7e0uNx6ssvAuq68 for ; Wed, 03 Oct 2012 00:54:10 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.24 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q937sA9E030872 for ; Wed, 3 Oct 2012 03:54:10 -0400 Date: Wed, 3 Oct 2012 03:54:10 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Message-ID: <308274517.6132497.1349250850006.JavaMail.root@redhat.com> In-Reply-To: <194676754.6132447.1349250829146.JavaMail.root@redhat.com> Subject: pcp-gui updates: mainly new event tracing code MIME-Version: 1.0 X-ASG-Orig-Subj: pcp-gui updates: mainly new event tracing code Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.38] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24] X-Barracuda-Start-Time: 1349250850 X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110272 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp-gui.git qwt6 src/chart/chart.cpp | 154 +++++++++++++---- src/chart/chart.h | 62 +++++-- src/chart/gadget.h | 2 src/chart/groupcontrol.cpp | 15 - src/chart/pmchart.desktop | 6 src/chart/sampling.cpp | 48 +---- src/chart/sampling.h | 20 -- src/chart/tracing.cpp | 353 ++++++++++++++++++++++++++--------------- src/chart/tracing.h | 77 ++++++-- src/libqwt/qwt_legend_item.cpp | 6 10 files changed, 470 insertions(+), 273 deletions(-) commit 1b855c3d98859cfc879d5f21fc73b45db361f8bd Author: Nathan Scott Date: Wed Oct 3 17:47:28 2012 +1000 Refactoring to get closer to working Y-axis for event trace IDs Not there yet though, but closer. Number of comments added around potential cleanups (Chart class still has alot of Tracing/Sampling knowledge which it really shouldn't... some kind of Engine/Runtime class with those specifics might help which can swap one form in to replace the other, dynamically. commit 073747764ab7acc59403a9bedc0344bbb6b8b900 Author: Nathan Scott Date: Wed Oct 3 14:04:05 2012 +1000 Improvements to the selection-display model for sampled data commit 161ee7d308a6869bb01f9d4ca2fe8cb004bdec95 Author: Nathan Scott Date: Wed Oct 3 13:43:24 2012 +1000 Resolve a legend visual change from qwt5->qwt6, now looks as before commit 002a7e8d2e520b1158da7d02c521943e4473399f Author: Nathan Scott Date: Wed Oct 3 10:48:59 2012 +1000 Update desktop file for pmchart After recently reading up on the desktop integration files, have made a couple of tweaks here - "Icon" entry should not have any suffix, added several more "Categories" that we're alike/in. commit d08d3b9e9ca8b5daae12b9c92dc6c3b7e049c519 Author: Nathan Scott Date: Tue Oct 2 18:24:14 2012 +1000 Get selection feedback working for event trace charts Ended up requiring an additional plotitem that will overlay the selections on top of other things to get the updates to happen immediately and in a sensible way. commit 4f83235d05a2c2f0be72cd65a1dddabcba92fe26 Author: Nathan Scott Date: Mon Oct 1 16:42:53 2012 +1000 Fixes to the ways event traces and their metadata are culled This resolves several issues in the way trace culling is performed from an active event trace chart. Realised we cannot handle range (drop/span) data with a common cull routine as they are inverse in terms of timestamps. Simplest to split 'em apart. With this fix, event traces now travel nicely across the window as time updates. commit 75b5c85a4bdec4264e2543807bbadffc84f06dbf Author: Nathan Scott Date: Mon Oct 1 15:17:38 2012 +1000 Pass updateValues() the actual update interval and visible points The current pmchart internal updateValues call for each plot, on each interval, had a wacky delta argument that was actually the time scale visible interval and not the real (time) delta. This should be pushed down, and the scale calculated only in the one spot that needs that, else confusion is sure to reign. From tdohnale@redhat.com Wed Oct 3 04:32:01 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q939W1mp173210 for ; Wed, 3 Oct 2012 04:32:01 -0500 X-ASG-Debug-ID: 1349256805-04cb6c282f5b9a0001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id Mjsf7FkaBuewu9pe for ; Wed, 03 Oct 2012 02:33:26 -0700 (PDT) X-Barracuda-Envelope-From: tdohnale@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 X-ASG-Whitelist: Client Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q939XPQE019189 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 3 Oct 2012 05:33:25 -0400 Received: from [10.36.116.39] (ovpn-116-39.ams2.redhat.com [10.36.116.39]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q939XNIR003499 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 3 Oct 2012 05:33:25 -0400 Message-ID: <506C0663.2000402@redhat.com> Date: Wed, 03 Oct 2012 11:33:23 +0200 From: Tomas Dohnalek User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: pcp@oss.sgi.com Subject: [pcp] qa/062 on ppc64 Content-Type: text/plain; charset=ISO-8859-2; format=flowed X-ASG-Orig-Subj: [pcp] qa/062 on ppc64 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1349256805 X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com Hi, I am getting bad results when running 062 on ppc and I believe, that it is caused because of little/big endian issue (specifically in 062.out.bad it is column "host-spec"): # diff 062.out 062.out.bad ... < n 0 0 0011009b ffffffff 0 155.0.17.0 ... > n 0 0 9b001100 ffffffff 0 155.0.17.0 ... PCP_PLATFORM is of course set to "linux", but correct results should be same as 062.out.irix. # diff 062.out.irix 062.out.bad # I am not really sure, how do you want to distinguish between ppc and the rest, so no patch here. Tomas -- Tomas Dohnalek QE Tools Intern Red Hat From nscott@redhat.com Wed Oct 3 05:02:51 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q93A2pjH179761 for ; Wed, 3 Oct 2012 05:02:51 -0500 X-ASG-Debug-ID: 1349258655-04cbb05e3d5cb00001-S8gJnT Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id 0SmV6Njvluv5T9OQ for ; Wed, 03 Oct 2012 03:04:15 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.25 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q93A4Ek9015451; Wed, 3 Oct 2012 06:04:15 -0400 Date: Wed, 3 Oct 2012 06:04:14 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Cc: Tomas Dohnalek Message-ID: <1512385726.6189991.1349258654870.JavaMail.root@redhat.com> Subject: pcp updates: make test 062 endian aware MIME-Version: 1.0 X-ASG-Orig-Subj: pcp updates: make test 062 endian aware Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.38] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25] X-Barracuda-Start-Time: 1349258655 X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110280 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp.git dev qa/062 | 19 qa/062.out.1234 | 1197 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ qa/062.out.4321 | 1197 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ qa/062.out.irix | 1197 ------------------------------------------------------- qa/062.out.linux | 1197 ------------------------------------------------------- 5 files changed, 2402 insertions(+), 2405 deletions(-) commit 8e1770a1b97f9f2d47f08140d0b31ff2e37ccf8e Author: Nathan Scott Date: Wed Oct 3 20:02:23 2012 +1000 Fix test 062 so that it works on big endian Linux hosts too Improves the initial test to use endianness of the QA host, rather than the operating system. Thanks to Tomas Dohnalek for diagnosing the underlying problem. From tdohnale@redhat.com Wed Oct 3 14:14:04 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q93JE3Bh000920 for ; Wed, 3 Oct 2012 14:14:04 -0500 X-ASG-Debug-ID: 1349291728-04bdf055657bf00001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id YVlpMDvQJQSTcByH for ; Wed, 03 Oct 2012 12:15:28 -0700 (PDT) X-Barracuda-Envelope-From: tdohnale@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 X-ASG-Whitelist: Client Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q93JFRCx006679 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 3 Oct 2012 15:15:28 -0400 Received: from [10.36.116.39] (ovpn-116-39.ams2.redhat.com [10.36.116.39]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q93JFQPM003209 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 3 Oct 2012 15:15:27 -0400 Message-ID: <506C8ECD.5020909@redhat.com> Date: Wed, 03 Oct 2012 21:15:25 +0200 From: Tomas Dohnalek User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: pcp@oss.sgi.com Subject: [pcp] qa/366 absolute paths Content-Type: text/plain; charset=ISO-8859-2; format=flowed X-ASG-Orig-Subj: [pcp] qa/366 absolute paths Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1349291728 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com Patch replaces absolute paths by paths with $PCP_VAR_LIB prefixes. diff --git a/qa/366 b/qa/366 index 68b9088..98d40e8 100755 --- a/qa/366 +++ b/qa/366 @@ -21,6 +21,11 @@ fi echo "QA output created by $seq" +_filter() +{ + sed -e "s;$PCP_VAR_DIR;\$PCP_VAR_DIR;g" +} + . ./localconfig rm -f $seq.out if [ -f $seq.$PCP_PLATFORM ] @@ -269,7 +274,7 @@ echo q \ cat $tmp.conf >$seq.full diff $tmp.orig $tmp.conf \ -| sed -e '/^[0-9]/d' +| sed -e '/^[0-9]/d' | _filter # success, all done exit diff --git a/qa/366.darwin b/qa/366.darwin index d2ca1d3..03c85cd 100644 --- a/qa/366.darwin +++ b/qa/366.darwin @@ -2,7 +2,7 @@ QA output created by 366 < #pmlogconf 1.0 --- > #pmlogconf 2.0 -> #+ groupdir /var/lib/pcp/config/pmlogconf +> #+ groupdir $PCP_VAR_DIR/config/pmlogconf > # < #+ I0:n:once: < ## hardware configuration [nodevis, osvis, oview, routervis, diff --git a/qa/366.linux b/qa/366.linux index 0f9597d..726cee1 100644 --- a/qa/366.linux +++ b/qa/366.linux @@ -2,7 +2,7 @@ QA output created by 366 < #pmlogconf 1.0 --- > #pmlogconf 2.0 -> #+ groupdir /var/lib/pcp/config/pmlogconf +> #+ groupdir $PCP_VAR_DIR/config/pmlogconf > # < #+ I0:n:once: < ## hardware configuration [nodevis, osvis, oview, routervis, diff --git a/qa/366.solaris b/qa/366.solaris index a3a1e13..fee27a5 100644 --- a/qa/366.solaris +++ b/qa/366.solaris @@ -2,7 +2,7 @@ QA output created by 366 < #pmlogconf 1.0 --- > #pmlogconf 2.0 -> #+ groupdir /var/lib/pcp/config/pmlogconf +> #+ groupdir $PCP_VAR_DIR/config/pmlogconf > # < #+ I0:n:once: < ## hardware configuration [nodevis, osvis, oview, routervis, -- Tomas Dohnalek QE Tools Intern Red Hat From tdohnale@redhat.com Wed Oct 3 15:43:26 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q93KhP3R010834 for ; Wed, 3 Oct 2012 15:43:26 -0500 X-ASG-Debug-ID: 1349297090-04cbb05e3d7a2a0001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id rTUMbv6tZkLyBrKP for ; Wed, 03 Oct 2012 13:44:50 -0700 (PDT) X-Barracuda-Envelope-From: tdohnale@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 X-ASG-Whitelist: Client Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q93Kiogp023210 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 3 Oct 2012 16:44:50 -0400 Received: from [10.36.116.39] (ovpn-116-39.ams2.redhat.com [10.36.116.39]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q93KimAY003713 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 3 Oct 2012 16:44:50 -0400 Message-ID: <506CA3C0.4020207@redhat.com> Date: Wed, 03 Oct 2012 22:44:48 +0200 From: Tomas Dohnalek User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: pcp@oss.sgi.com Subject: [pcp] qa/446 absolute path Content-Type: text/plain; charset=ISO-8859-2; format=flowed X-ASG-Orig-Subj: [pcp] qa/446 absolute path Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1349297090 X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com In $PCP_DIR/usr/share/pcp/demos/trace/Makefile.stub there is occurrence of using path /etc/pcp.conf without prefix $PCP_ETC_DIR and due to this test-case 446 fails when using non-standard path. Please check, if I edit correct Makefile, I was a little bit confused. diff --git a/src/pmdas/trace/GNUmakefile.stub b/src/pmdas/trace/GNUmakefile.stub index 949f092..8ac95ae 100644 --- a/src/pmdas/trace/GNUmakefile.stub +++ b/src/pmdas/trace/GNUmakefile.stub @@ -15,7 +15,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # -include /etc/pcp.conf +include $(PCP_ETC_DIR)/pcp.conf # need to deal with these ... # ELF style -- Tomas Dohnalek QE Tools Intern Red Hat From tdohnale@redhat.com Wed Oct 3 16:53:07 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q93Lr7Ee017541 for ; Wed, 3 Oct 2012 16:53:07 -0500 X-ASG-Debug-ID: 1349301271-04bdf05563830c0001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id BhagvWKysNIuXAG1 for ; Wed, 03 Oct 2012 14:54:31 -0700 (PDT) X-Barracuda-Envelope-From: tdohnale@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 X-ASG-Whitelist: Client Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q93LsVQo028505 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 3 Oct 2012 17:54:31 -0400 Received: from [10.36.116.39] (ovpn-116-39.ams2.redhat.com [10.36.116.39]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q93LEohX016256 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 3 Oct 2012 17:14:51 -0400 Message-ID: <506CAACA.7050005@redhat.com> Date: Wed, 03 Oct 2012 23:14:50 +0200 From: Tomas Dohnalek User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: pcp@oss.sgi.com Subject: [pcp] qa/601 absolute path Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-ASG-Orig-Subj: [pcp] qa/601 absolute path Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1349301271 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com Don't include absolute path /usr/include/pcp, but $(PCP_INC_DIR) variable instead. diff --git a/src/pmdas/trace/Makefile.proto b/src/pmdas/trace/Makefile.proto index e59bda6..8b7c9ea 100644 --- a/src/pmdas/trace/Makefile.proto +++ b/src/pmdas/trace/Makefile.proto @@ -28,7 +28,7 @@ F77DEMO = fapp1.f77 F90DEMO = fapp1.f90 JDEMO = japp1.class -CFLAGS = -DPMTRACE_DEBUG -I/usr/include/pcp +CFLAGS = -DPMTRACE_DEBUG -I$(PCP_INC_DIR) FFLAGS = JFLAGS = -- Tomas Dohnalek QE Tools Intern Red Hat From nscott@redhat.com Wed Oct 3 17:20:16 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q93MKGCB019918 for ; Wed, 3 Oct 2012 17:20:16 -0500 X-ASG-Debug-ID: 1349302900-04cb6c282f7f480001-S8gJnT Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id mqZK22xcM8SHquwF for ; Wed, 03 Oct 2012 15:21:40 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.24 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q93MLeXE007089; Wed, 3 Oct 2012 18:21:40 -0400 Date: Wed, 3 Oct 2012 18:21:40 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Cc: Tomas Dohnalek Message-ID: <1142799713.6573160.1349302900406.JavaMail.root@redhat.com> Subject: pcp updates: qa updates from Tomas MIME-Version: 1.0 X-ASG-Orig-Subj: pcp updates: qa updates from Tomas Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.38] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24] X-Barracuda-Start-Time: 1349302900 X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110330 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp.git dev qa/366 | 10 ++++++++-- qa/366.darwin | 2 +- qa/366.linux | 2 +- qa/366.solaris | 2 +- src/pmdas/trace/GNUmakefile.stub | 2 +- src/pmdas/trace/Makefile.proto | 2 +- 6 files changed, 13 insertions(+), 7 deletions(-) commit f1e0a476a7fa783c794189dcdfbbf661fc09a69c Author: Tomas Dohnalek Date: Thu Oct 4 08:17:06 2012 +1000 Fix qa/601 absolute paths Don't include absolute path /usr/include/pcp, use $(PCP_INC_DIR) variable instead. commit 30f1ce05a8ae16583be555d3c8f3d1bd49bc42cc Author: Tomas Dohnalek Date: Thu Oct 4 08:15:52 2012 +1000 Fix qa/446 absolute paths In $PCP_DIR/usr/share/pcp/demos/trace/Makefile.stub there is occurrence of using path /etc/pcp.conf without prefix $PCP_ETC_DIR and due to this test-case 446 fails when using non-standard path. commit f09a9e1dab847c1834e0116660e2b50dfa933f54 Author: Tomas Dohnalek Date: Thu Oct 4 08:12:31 2012 +1000 Fix qa/366 absolute paths Patch replaces absolute paths by paths with $PCP_VAR_LIB prefixes. From nscott@redhat.com Wed Oct 3 17:22:37 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q93MMb9x020166 for ; Wed, 3 Oct 2012 17:22:37 -0500 X-ASG-Debug-ID: 1349303042-04cb6c28317f550001-S8gJnT Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id yF2jQOtoBdKlSfTS for ; Wed, 03 Oct 2012 15:24:02 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.25 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q93MO28A002965; Wed, 3 Oct 2012 18:24:02 -0400 Date: Wed, 3 Oct 2012 18:24:02 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: Tomas Dohnalek Cc: pcp@oss.sgi.com Message-ID: <2123242140.6573461.1349303042036.JavaMail.root@redhat.com> In-Reply-To: <506CA3C0.4020207@redhat.com> Subject: Re: [pcp] qa/446 absolute path MIME-Version: 1.0 X-ASG-Orig-Subj: Re: [pcp] qa/446 absolute path Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.38] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25] X-Barracuda-Start-Time: 1349303042 X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.01 X-Barracuda-Spam-Status: No, SCORE=0.01 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_SA_TO_FROM_DOMAIN_MATCH X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110330 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH Sender Domain Matches Recipient Domain ----- Original Message ----- > ... > Please check, if I edit correct Makefile, I was a little bit > confused. > Looked correct to me - those are merged now, thanks Tomas. cheers. ps: for a sick guy, you're doing alot of work! I hope you're feeling better now. :) -- Nathan From nscott@redhat.com Thu Oct 4 00:34:31 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q945YVme098332 for ; Thu, 4 Oct 2012 00:34:31 -0500 X-ASG-Debug-ID: 1349328956-04cb6c283289f80001-S8gJnT Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id Y4IAERkWiZbOKOZx for ; Wed, 03 Oct 2012 22:35:56 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.25 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q945ZtON013254 for ; Thu, 4 Oct 2012 01:35:55 -0400 Date: Thu, 4 Oct 2012 01:35:55 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Message-ID: <704428464.6700313.1349328955596.JavaMail.root@redhat.com> Subject: pcp-gui updates: event tracing y-axis scaling MIME-Version: 1.0 X-ASG-Orig-Subj: pcp-gui updates: event tracing y-axis scaling Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.42] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25] X-Barracuda-Start-Time: 1349328956 X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110358 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp-gui.git qwt6 src/chart/chart.cpp | 23 +++++++---- src/chart/chart.h | 10 ++--- src/chart/tracing.cpp | 100 ++++++++++++++++++++++++++++---------------------- src/chart/tracing.h | 17 +++----- 4 files changed, 83 insertions(+), 67 deletions(-) commit 2f6fe76a936c8a3fbdb2fc8d130c0450b656cb4c Author: Nathan Scott Date: Thu Oct 4 15:33:14 2012 +1000 Work towards getting sensible values on a trace Y-axis This is now working nicely, for certain definitions of nice. When we get an event that indicates a parent, but no other event identifying as said parent has arrived yet, some funky behaviour results. But otherwise, streams of events are now identifiable on the left hand side. Which is nice! From nscott@redhat.com Thu Oct 4 00:36:14 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,J_CHICKENPOX_73 autolearn=no version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q945aDDY098535 for ; Thu, 4 Oct 2012 00:36:14 -0500 X-ASG-Debug-ID: 1349329058-04bdf055668ef10001-S8gJnT Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id hzwXErus9xxGELkv for ; Wed, 03 Oct 2012 22:37:38 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.24 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q945bcU4018021 for ; Thu, 4 Oct 2012 01:37:38 -0400 Date: Thu, 4 Oct 2012 01:37:38 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1714875443.6700431.1349329058254.JavaMail.root@redhat.com> In-Reply-To: <1133629337.6700155.1349328866118.JavaMail.root@redhat.com> Subject: pcp updates: small sar2pcp, pmdalogger additions MIME-Version: 1.0 X-ASG-Orig-Subj: pcp updates: small sar2pcp, pmdalogger additions Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.42] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24] X-Barracuda-Start-Time: 1349329058 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110358 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp.git dev CHANGELOG | 23 +++++++++++++++++++++++ VERSION.pcp | 2 +- build/rpm/pcp.spec.in | 2 +- src/pmdas/logger/event.c | 13 +++++++++---- src/pmdas/logger/event.h | 2 +- src/pmimport/sar2pcp/sar2pcp | 5 ++++- 6 files changed, 39 insertions(+), 8 deletions(-) commit 778d9991dfdef2adcf5bf190442ad716e6185421 Author: Nathan Scott Date: Thu Oct 4 10:10:50 2012 +1000 Bump version in dev branch for next point release (3.6.9) commit d34ab1f559c3cc1602a5c1427324e873e461bf45 Author: Nathan Scott Date: Thu Oct 4 09:57:21 2012 +1000 Add metrics to cover remaining iostat metrics in sar2pcp commit 428417f0d604db3382eb0afdd769fabc28fbd347 Author: Nathan Scott Date: Thu Oct 4 09:56:24 2012 +1000 Rework use of C99 "restrict" keyword in pmdalogger Michael Tautschnig reports: src/pmdas/logger/event.c, function event_config, uses "restrict" as a variable name. This collides with the fact that in C99 "restrict" is a keyword. Compilers that default to C99-mode, or gcc -std=c99, fail to compile this code. This is fixed in this commit by renaming the local variable (and the struct field it mirrors for good measure). While there noticed that we were being overly restrictive now and applying tight restrictions to all logfiles, even those that have not requested that - fixed. From tdohnale@redhat.com Thu Oct 4 04:15:03 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q949F3JS123741 for ; Thu, 4 Oct 2012 04:15:03 -0500 X-ASG-Debug-ID: 1349342188-04cbb05e3c90a90001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id j8vsCGSgzxPvmRl3 for ; Thu, 04 Oct 2012 02:16:28 -0700 (PDT) X-Barracuda-Envelope-From: tdohnale@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 X-ASG-Whitelist: Client Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q949GSYn029236 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 4 Oct 2012 05:16:28 -0400 Received: from [10.36.116.35] (ovpn-116-35.ams2.redhat.com [10.36.116.35]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q949GQhH027205 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 4 Oct 2012 05:16:27 -0400 Message-ID: <506D53EA.8050304@redhat.com> Date: Thu, 04 Oct 2012 11:16:26 +0200 From: Tomas Dohnalek User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: pcp@oss.sgi.com Subject: [pcp] qa - use of read when pipelining sudo command Content-Type: text/plain; charset=ISO-8859-2; format=flowed X-ASG-Orig-Subj: [pcp] qa - use of read when pipelining sudo command Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1349342188 X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com Hi, in the beginning I would like to show the way I am running test-cases. # scl enable devtoolset-1.1 bash # su -c "./check 110" pcpqa in many test-cases (e. g. 110) there is a structure similar to: echo 'both daemon socket' | $sudo ./Install -e >>$tmp.out 2>&1 which is from strange reason not working to me when running DTS-pcp on RHELs. I got results like: Please enter c(ollector) or m(onitor) or b(oth) [b] both < Install simple as a daemon or dso agent? [daemon] daemon < PMCD should communicate with the simple daemon via a pipe or a socket? [pipe] socket < Use Internet or Unix domain sockets? [Internet] Unix < Unix FIFO name? TMP.fifo-1 --- > Please enter c(ollector) or m(onitor) or b(oth) [b] > Install simple as a daemon or dso agent? [daemon] > PMCD should communicate with the simple daemon via a pipe or a socket? [pipe] This indicates to me, that the "both, daemon, socket" didn't "get through" to sudo Install command. If I rewrite it this way $sudo "echo 'both daemon socket' | ./Install -e" >>$tmp.out 2>&1 It's working then. Any suggestions what is wrong? Thanks Tomas -- Tomas Dohnalek QE Tools Intern Red Hat From nscott@redhat.com Thu Oct 4 04:43:16 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q949hG7b125771 for ; Thu, 4 Oct 2012 04:43:16 -0500 X-ASG-Debug-ID: 1349343881-04cb6c283292980001-S8gJnT Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id zcVgZ3btb9kM1NEn for ; Thu, 04 Oct 2012 02:44:41 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.25 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q949ifFo011662; Thu, 4 Oct 2012 05:44:41 -0400 Date: Thu, 4 Oct 2012 05:44:41 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: Tomas Dohnalek Cc: pcp@oss.sgi.com Message-ID: <1906792841.6784843.1349343881135.JavaMail.root@redhat.com> In-Reply-To: <506D53EA.8050304@redhat.com> Subject: Re: [pcp] qa - use of read when pipelining sudo command MIME-Version: 1.0 X-ASG-Orig-Subj: Re: [pcp] qa - use of read when pipelining sudo command Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.42] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25] X-Barracuda-Start-Time: 1349343881 X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.01 X-Barracuda-Spam-Status: No, SCORE=0.01 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_SA_TO_FROM_DOMAIN_MATCH X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110374 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.01 BSF_SC0_SA_TO_FROM_DOMAIN_MATCH Sender Domain Matches Recipient Domain ----- Original Message ----- > Hi, > in the beginning I would like to show the way I am running > test-cases. > > # scl enable devtoolset-1.1 bash (are you root at this point?) > # su -c "./check 110" pcpqa > FWIW, I tend to do: $ sudo su - pcpqa $ ./check ... > This indicates to me, that the "both, daemon, socket" didn't "get > through" to sudo Install command. It looks a bit like its closing stdin at some point, and the piped in text is being dropped on the floor. Not sure where/why though. > If I rewrite it this way > > $sudo "echo 'both > daemon > socket' | ./Install -e" >>$tmp.out 2>&1 > > It's working then. Any suggestions what is wrong? > Its a wierd one, not really sure, sorry. cheers. -- Nathan From tdohnale@redhat.com Thu Oct 4 04:52:21 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q949qLFw126422 for ; Thu, 4 Oct 2012 04:52:21 -0500 X-ASG-Debug-ID: 1349344426-04cbb05e3a91d40001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id 6b8MbzUTwKgBAmcJ for ; Thu, 04 Oct 2012 02:53:46 -0700 (PDT) X-Barracuda-Envelope-From: tdohnale@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 X-ASG-Whitelist: Client Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q949rkXM007895 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 4 Oct 2012 05:53:46 -0400 Received: from [10.36.116.35] (ovpn-116-35.ams2.redhat.com [10.36.116.35]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q949rhuc006362 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 4 Oct 2012 05:53:44 -0400 Message-ID: <506D5CA3.7020404@redhat.com> Date: Thu, 04 Oct 2012 11:53:39 +0200 From: Tomas Dohnalek User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: Nathan Scott CC: pcp@oss.sgi.com Subject: Re: [pcp] qa - use of read when pipelining sudo command References: <1906792841.6784843.1349343881135.JavaMail.root@redhat.com> X-ASG-Orig-Subj: Re: [pcp] qa - use of read when pipelining sudo command In-Reply-To: <1906792841.6784843.1349343881135.JavaMail.root@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1349344426 X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com Dne 4.10.2012 11:44, Nathan Scott napsal(a): > > ----- Original Message ----- >> Hi, >> in the beginning I would like to show the way I am running >> test-cases. >> >> # scl enable devtoolset-1.1 bash > (are you root at this point?) sure > >> # su -c "./check 110" pcpqa >> > FWIW, I tend to do: > > $ sudo su - pcpqa > $ ./check ... I know, but this is a script, so I cant use `su pcpqa` and I have many test-cases on blacklist so far, so it is iterating over all local tests what aren't on blacklist and each of them running like # su -c "./check $test_case" pcpqa (seems correct to me) > >> This indicates to me, that the "both, daemon, socket" didn't "get >> through" to sudo Install command. > It looks a bit like its closing stdin at some point, and the piped > in text is being dropped on the floor. Not sure where/why though. > >> If I rewrite it this way >> >> $sudo "echo 'both >> daemon >> socket' | ./Install -e" >>$tmp.out 2>&1 >> >> It's working then. Any suggestions what is wrong? >> > Its a wierd one, not really sure, sorry. > > cheers. > > -- > Nathan Too bad. Thanks anyway Tomas -- Tomas Dohnalek QE Tools Intern Red Hat From nscott@redhat.com Thu Oct 4 05:04:29 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q94A4S0u127885 for ; Thu, 4 Oct 2012 05:04:29 -0500 X-ASG-Debug-ID: 1349345153-04cb6c283193410001-S8gJnT Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id qEx62OIarIyOnWEp for ; Thu, 04 Oct 2012 03:05:53 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.25 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q94A5qW7015473; Thu, 4 Oct 2012 06:05:53 -0400 Date: Thu, 4 Oct 2012 06:05:52 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Cc: Stan Cox Message-ID: <1812122114.6791955.1349345152817.JavaMail.root@redhat.com> Subject: pcp updates: python big-pmapi-lock removal MIME-Version: 1.0 X-ASG-Orig-Subj: pcp updates: python big-pmapi-lock removal Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.42] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25] X-Barracuda-Start-Time: 1349345153 X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110376 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp.git dev debian/changelog | 5 man/man1/pmdabash.1 | 4 src/pmdas/bash/event.c | 2 src/python/pcp.py | 485 ++++++++++--------------------------------------- 4 files changed, 111 insertions(+), 385 deletions(-) commit acdc96573393bbbd68ea66f25e5bd3ad7262031f Author: Nathan Scott Date: Thu Oct 4 20:02:01 2012 +1000 Remove now-redundant locking layer from Python PMAPI wrapper We currently have two levels of locking for Python clients, due to the original python wrapper predating the threading work done in libpcp. This change removes all locking from the pcp.py layer (both the BigPythonLock & lastUsedContext). In doing this, several dormant bugs were exposed (and fixed at the same time), some quite subtle - happily the code is much simplified, so these stood out: - pmLookupDesc (error code not checked within the loop) - pmSetMode (incorrect status checking, spurious zeroing) - pmRecordSetup (missing unlock on error path) - pmRecordAddHost (missing unlock on error path x 2) I *think* (unrelated) issues remain in the following calls: pmErrStr_r, pmUnitsStr_r, pmIDStr_r, pmInDomStr_r (the calls do not match the C calling convention - can this be right? surely not? not sure though, maybe some Python magic happens under the covers here). commit a8550fe00e17b8b0ef43c64c76a302799b24e3a5 Author: Nathan Scott Date: Thu Oct 4 19:46:55 2012 +1000 Make a note that pmdabash is experimental commit ab3cf824e6e8a15e51eca3e64ff8eec30520fe10 Author: Nathan Scott Date: Thu Oct 4 19:45:39 2012 +1000 Bump version in debian changelog too, missed on previous From nscott@redhat.com Thu Oct 4 18:10:20 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q94NAKw8235920 for ; Thu, 4 Oct 2012 18:10:20 -0500 X-ASG-Debug-ID: 1349392305-04bdf05566be6b0001-S8gJnT Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id nDA7xhoMbM104iwP for ; Thu, 04 Oct 2012 16:11:45 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.24 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q94NBixF032394 for ; Thu, 4 Oct 2012 19:11:44 -0400 Date: Thu, 4 Oct 2012 19:11:44 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Message-ID: <150243603.7272918.1349392304759.JavaMail.root@redhat.com> In-Reply-To: <341910269.7271596.1349391585904.JavaMail.root@redhat.com> Subject: pcp updates: merge pmcollectl fix from Stan MIME-Version: 1.0 X-ASG-Orig-Subj: pcp updates: merge pmcollectl fix from Stan Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.59] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24] X-Barracuda-Start-Time: 1349392305 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110420 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp.git dev CHANGELOG | 1 + build/rpm/devtoolset.spec | 6 +++++- build/rpm/fedora.spec | 5 ++++- src/pmcollectl/pmcollectl.py | 2 -- 4 files changed, 10 insertions(+), 4 deletions(-) commit c9036d6d673596d52e31f24e652cf436b2ad54e3 Author: Nathan Scott Date: Fri Oct 5 08:58:37 2012 +1000 Update changelog with Stans fix, spec file tweaks too commit cc1f5352d02318053dc5ad1eb98529890013c8c2 Merge: 7310bae acdc965 Author: Stan Cox Date: Thu Oct 4 15:26:53 2012 -0400 Merge branch 'dev' into scox/dev commit 7310bae3d48095eb7b7f00b7f5a71f49c55f6cd1 Author: Stan Cox Date: Thu Oct 4 15:23:51 2012 -0400 Remove unused pmcollectl imports. * pmcollectl.py (import): Remove unused imports: unittest and argparse. From thomas@suse.de Fri Oct 5 01:27:39 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q956RcKk013997 for ; Fri, 5 Oct 2012 01:27:38 -0500 X-ASG-Debug-ID: 1349418542-04bdf05564c9050001-S8gJnT Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by cuda.sgi.com with ESMTP id Msz3gOXyWmdl3Zgn (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 04 Oct 2012 23:29:03 -0700 (PDT) X-Barracuda-Envelope-From: thomas@suse.de X-Barracuda-Apparent-Source-IP: 195.135.220.15 Received: from relay1.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 2062A9A78E; Fri, 5 Oct 2012 08:29:02 +0200 (CEST) Message-ID: <1349418538.14839.178.camel@spiral.ashpool.org> Subject: Re: [pcp] security issues and design of pmcd From: Thomas Biege X-ASG-Orig-Subj: Re: [pcp] security issues and design of pmcd To: Nathan Scott Cc: pcp@oss.sgi.com Date: Fri, 05 Oct 2012 08:28:58 +0200 In-Reply-To: <1385369748.6053225.1349224671821.JavaMail.root@redhat.com> References: <1385369748.6053225.1349224671821.JavaMail.root@redhat.com> Organization: SUSE Linux Products GmbH Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-RCNcvgAFgbrJdh0Z66vF" X-Mailer: Evolution 3.4.4 Mime-Version: 1.0 X-Barracuda-Connect: cantor2.suse.de[195.135.220.15] X-Barracuda-Start-Time: 1349418543 X-Barracuda-Encrypted: AES256-SHA X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110450 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- --=-RCNcvgAFgbrJdh0Z66vF Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi. Am Dienstag, den 02.10.2012, 20:37 -0400 schrieb Nathan Scott:=20 > Hi Thomas, >=20 > ----- Original Message ----- > > Hello Frank, > >=20 > > Am Montag, den 01.10.2012, 15:56 -0400 schrieb Frank Ch. Eigler: > > > thomas wrote: > > >=20 > > > > [...] Would it be possible to run the code that processes the > > > > network data without UID and GID 0? [...] > > >=20 > > > We've started thinking about this problem some time ago, and will > > > start working on it shortly. My favorite approach so far is to > > > have pmcd run as an unprivileged user, talking to & managing > > > differently-privileged PMDA processes as configured (or requested > > > by an authenticated remote pmcd user). > >=20 > > This sounds good. >=20 > *nod* - the difficulty is in figuring out how to make an unprivileged > pmcd able to start these privileged child processes (which it usually > communicates with via pipes). At startup it's relatively easy (pmcd > starts initially as root, could then change its uid/gid after starting > the agents) but pmcd also needs to be able to be sent SIGHUP and (re)- > start its children. Who should be able to send the SIGHUP? If it is only root, then you can use the solution with dropping privileges like you did during normal system boot. What should happen when a SIGHUP is received? Does restart mean "exit and exec" or just resetting the configuration of the running processes? Updating the config of the privileged client process could be done over a unix domain socket (and the clients have to verify the peers UID) or a dedicated pipe (not over the same pipe that is used to transfer client requests). > And without disruption to any of pmcd's existing > client connections. Perhaps a setuid helper could do this bit somehow > but this is the bit that's not really clear in my head at this stage. Hm, so if you want to not interrupt the client connections you don't want to exit the process I assume, or are you using UDP? What about two completely separate processes? The unprivileged one which handles the client connections could buffer client requests during the restart (exit/exec) of the privileged process. Apache might be a good source of a solution too. Unfortunately I don't know the technical details of the apache implementation. > > Can you estimate when this new design will be implemented and > > released? > > Even a rough estimation would be very helpful for me. >=20 > I'm finishing up work for a pcp-gui update at the moment with several > new features; this is then the next big chunk of work I'll be looking > at afterward. Any/all help you can offer would be appreciated too of > course! It looks like the init scripts also have tmp file issues. David, our maintainer, will send you the patch if done. > > ... The process of > > going to a higher version of a package for our enterprise products > > is costly ... >=20 > *nod*, understood. In order to assist, I'd recommend getting the PCP > testsuite running locally (see list archive for details), and getting > the tests passing on a current SLES setup. Then you guys'll be in a > good place to start testing the new mode (and testing spec file tweaks > to register a new "pcp" user/group, etc, which is likely to be needed). Thanks for the hint! Cheers, Thomas --=20 Thomas Biege, Project Manager Security, CSSLP SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer, HRB 21284 (AG N=C3=BCrnberg) -- Wer aufhoert besser werden zu wollen, hoert auf gut zu sein. -- Marie von Ebner-Eschenbach --=-RCNcvgAFgbrJdh0Z66vF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQEcBAABCAAGBQJQbn4qAAoJEJqHoVJVjr8DTjgH+gPJRCGPhNSwVnl6VNDGxIyN x738SUynBJHM87+NA5ZavsnrJtvsHK+Dowt2XfpeIxEI+vO6Fif9RfYwnSMDE0sK PJaI5voXPL8CQn96Z3XHKQjVAbM/gWGD48TZXafZ1cB3AM3FduNldD/M54qju9dn XllIZGcRUR5LMmqBqOqaDSJrtIb8myIsQBQ77U02fiT0xiNY8WdaSzzeR3Ub4py7 gizzBDfWbd0EGVFQcdUAY5sR5FDE2MKe0l/hbxPx6I0ucbte0R4MYsUbP/BmSF/W M1riLm1jBDkU+sk+EobuiUdqe5JnDNuTbTar8yysyb3fwqw5frMfzQrbgUA8/ts= =P07g -----END PGP SIGNATURE----- --=-RCNcvgAFgbrJdh0Z66vF-- From alexandra.sawyer1@gmail.com Mon Oct 8 00:00:31 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9850VK8012708 for ; Mon, 8 Oct 2012 00:00:31 -0500 X-ASG-Debug-ID: 1349672519-04cbb05e3b19aa50001-S8gJnT Received: from node-sl2733.smtp.com (node-sl2733.smtp.com [173.192.74.65]) by cuda.sgi.com with ESMTP id JUtDXer6pUUQfiuy for ; Sun, 07 Oct 2012 22:01:59 -0700 (PDT) X-Barracuda-Envelope-From: alexandra.sawyer1@gmail.com X-Barracuda-Apparent-Source-IP: 173.192.74.65 X-MSFBL: cGNwQG9zcy5zZ2kuY29tQDE3M18xOTJfNzRfNjVAc210cGNvbV81QA== DKIM-Signature: v=1; a=rsa-sha256; d=smtp.com; s=smtpcomcustomers; c=relaxed/simple; q=dns/txt; i=@smtp.com; t=1349672518; h=From:Subject:To:Date:Mime-Version:Content-type; bh=7JL14goTNxQ+lqZaiGMLP2XEarOP8uT/aHOwaKsgE84=; b=DDxkYfgH3Ee28a83iYX/UOQ3oIMCZqaqWcP+rfXwDxrv3vVUcSsDGP4DQDChUrYe 4e7BJpybDJD91mjoLgDzr7FpXxtt8rrslh4tlsN2FMTl/NCAuBJx0LSllR9VX7Gi SLpyu7nUDTY8t8sxaKzAwItA7p25miBojXM0h0Rc2l4=; Received: from [23.21.230.67] ([23.21.230.67:52797] helo=ezmailhosting.com) by sl-mta03 (envelope-from ) (ecelerity 3.3.2.44647 r(44647)) with ESMTPA id CD/CF-16894-64E52705; Mon, 08 Oct 2012 05:01:58 +0000 Received: from ezmailhosting.com (localhost [127.0.0.1]) by ezmailhosting.com (Postfix) with ESMTP id 10E1622C18 for ; Mon, 8 Oct 2012 04:53:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=ezmailhosting.com; h= message-id:mime-version:from:to:subject:date:content-type :content-transfer-encoding; s=postfix; bh=570Jgt4nJxqcQClGeF4AH/ TiosU=; b=dmDekj+KgXPfKE22eMNTL2yVoATZiDpzGtadiZ8tX2PEgtvRu3VRBo xJmFqSoDXgVhM/go6NxQIDDj6xd3ofUQhvZH+F8ha7Z5bHP+2PgksB+2V6cMTAES Pr3BHPJ0jH5d+HVkriQ+2lzyPxUXrcntQh4cJGzrehQL0qhPqw5fs= Message-Id: Mime-Version: 1.0 From: Alexandra Sawyer To: "Administrator" Subject: A Broken Link on Your Site About Drawing and Design Programs Date: Sun, 7 Oct 2012 22:01:59 -0700 X-ASG-Orig-Subj: A Broken Link on Your Site About Drawing and Design Programs X-Bounce-Tracking-Info: Content-type: text/plain; charset=iso-8859-1; format=flowed Content-transfer-encoding: quoted-printable X-SMTPCOM-Tracking-Number: 331780ed-e88e-4644-8985-1e3d225c9f9b X-SMTPCOM-Sender-ID: 445997 X-SMTPCOM-Spam-Policy: SMTP.com is a paid relay service. We do not tolerate UCE of any kind. Please report it ASAP to abuse@smtp.com X-Barracuda-Connect: node-sl2733.smtp.com[173.192.74.65] X-Barracuda-Start-Time: 1349672519 X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.20 X-Barracuda-Spam-Status: No, SCORE=0.20 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_SA074b, DKIM_SIGNED, DKIM_VERIFIED X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110724 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- -0.00 DKIM_VERIFIED Domain Keys Identified Mail: signature passes verification 0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature 0.20 BSF_SC0_SA074b Custom Rule SA074b Hi Administrator, I came across your website and wanted to notify you about a broken link on = your page in case you weren't aware of it=2E The link on oss=2Esgi=2Ecom/LD= P/HOWTO/HP-HOWTO/concepts=2Ehtml which links to http://www=2Ewizards= =2Edupont=2Ecom/cristy/ImageMagick=2Ehtml is no longer working=2E I've incl= uded a link to a useful page on Drawing and Design Programs that you could = replace the broken link with if you're interested in updating your website= =2E Thanks for providing a great resource! Link: http://www=2Eonlinebachelordegreeprograms=2Ecom/resources/bachelor-of= -fine-arts-in-graphic-design-drawing-and-design-programs/ Best, Alexandra Sawyer From nscott@redhat.com Mon Oct 8 00:30:58 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q985UvAQ015360 for ; Mon, 8 Oct 2012 00:30:58 -0500 X-ASG-Debug-ID: 1349674345-04bdf0556316ff80001-S8gJnT Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id V2zpFQdw4FicfjrY for ; Sun, 07 Oct 2012 22:32:25 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.25 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q985WP0W004484 for ; Mon, 8 Oct 2012 01:32:25 -0400 Date: Mon, 8 Oct 2012 01:32:25 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1316435915.8322522.1349674345004.JavaMail.root@redhat.com> Subject: pcp updates: event tracing from archives MIME-Version: 1.0 X-ASG-Orig-Subj: pcp updates: event tracing from archives Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.68] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25] X-Barracuda-Start-Time: 1349674345 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110726 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp.git dev CHANGELOG | 1 src/libpcp/src/interp.c | 8 +++--- src/pmdas/bash/bash.c | 15 ++++++++--- src/pmdas/bash/bashproc.sh | 14 ++++------- src/pmdas/bash/event.c | 57 +++++++++++++++++++++++++++++++++++++++------ src/pmevent/pmevent.c | 39 +----------------------------- 6 files changed, 75 insertions(+), 59 deletions(-) commit eee6d81df2247ed817b80c981d2792c0d7fa14cc Author: Nathan Scott Date: Mon Oct 8 16:31:17 2012 +1100 Allow event traces to be used in libpcp interpolate mode Two issues resolved here - firstly, __pmLogFetchInterp did not know that instances for event records are allowed now; secondly, it didn't copy out the event data and set up the pval pointer in the result structure appropriately. This modifies pmevent to use INTERP mode by default, like pmval (from which it descended) does. At some point soon I'm thinking these two tools should be merged back into a single pmval source with an installed back-compat symlink to pmevent. Would be a bit more user-friendly IMO. [This change was driven by pmchart initially, of course.] commit 6b8839032bc05922a026fc418d2af877b82e1ce0 Author: Nathan Scott Date: Mon Oct 8 16:18:14 2012 +1100 Ensure name and args of instrumented bash script not overwritten commit b4909649166c46eeec863f1b2964ba9c17451b48 Author: Nathan Scott Date: Sun Oct 7 10:22:59 2012 +1100 Updates to pmdabash, particularly improving script exit handling Move the cleanup of the named pipe files into the PMDA, otherwise we miss the final events. Also take great care in handling the actual unlink, as this results in instance domain updates (remove completed process) and must be coordinated with attached clients being sent the final events for that script. Ensure the ID and PARENT flags remain set when marking END events. Cull the pcp_trace instrumentation from the generated events, to make the stream a bit clearer. From nscott@redhat.com Mon Oct 8 00:45:34 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q985jXAr016770 for ; Mon, 8 Oct 2012 00:45:33 -0500 X-ASG-Debug-ID: 1349675222-04bdf05564170d10001-S8gJnT Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id 9X9uDjl5e0kGM5vX for ; Sun, 07 Oct 2012 22:47:02 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.25 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q985l1Q6007545 for ; Mon, 8 Oct 2012 01:47:01 -0400 Date: Mon, 8 Oct 2012 01:47:01 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Message-ID: <766414500.8325624.1349675221658.JavaMail.root@redhat.com> Subject: pcp-gui: merge qwt6 branch to dev MIME-Version: 1.0 X-ASG-Orig-Subj: pcp-gui: merge qwt6 branch to dev Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.68] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25] X-Barracuda-Start-Time: 1349675222 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110726 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp-gui.git dev dev/null |binary qa/20071023.08-06-36.folio | 8 ++++++++ qa/20071023.08-06-36.view | 19 +++++++++++++++++++ qa/20071023.08:06:36.folio | 8 -------- qa/20071023.08:06:36.view | 19 ------------------- qa/archives/20071023.08-06-36.0 |binary qa/archives/20071023.08-06-36.index |binary qa/archives/20071023.08-06-36.meta |binary qa/archives/GNUmakefile | 9 ++++----- qa/interact/chart-scaling-testcases | 2 +- src/chart/chart.cpp | 16 ++++++++++++++-- src/chart/pmchart.desktop | 6 +++--- src/chart/tracing.cpp | 34 ++++++++++++++++++++++++---------- src/chart/tracing.h | 1 + 14 files changed, 74 insertions(+), 48 deletions(-) commit 025008c9e2403ee756b3bda6abc4b6ca51571150 Merge: 8290f0c f619e97 Author: Nathan Scott Date: Mon Oct 8 16:43:44 2012 +1100 Merge branch 'qwt6' into dev commit f619e977c6d2da7ae845e0ff2fc291c890efcd4a Author: Nathan Scott Date: Mon Oct 8 16:43:29 2012 +1100 Rename QA archive to simplify Win32 build for kenj commit e8e3ea24111498d1fc5ac860bc61832c88c27d55 Author: Nathan Scott Date: Mon Oct 8 15:51:44 2012 +1100 Make the legend press function (hide/show) work for traces Trace charts are composed of more than one curve, thus we need to ensure changes to visible state are reflected in all curves (span/drop/selected too), not just the primary (points) curve. commit 8290f0c5842d418fb67cb0f471c59962fce000c8 Author: Nathan Scott Date: Wed Oct 3 10:48:59 2012 +1000 Update desktop file for pmchart After recently reading up on the desktop integration files, have made a couple of tweaks here - "Icon" entry should not have any suffix, added several more "Categories" that we're alike/in. From nscott@redhat.com Mon Oct 8 17:22:20 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q98MMJ1g152229 for ; Mon, 8 Oct 2012 17:22:20 -0500 X-ASG-Debug-ID: 1349735028-04bdf064d118520001-S8gJnT Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id 9bBkd674lfWSwvwE for ; Mon, 08 Oct 2012 15:23:49 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.25 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q98MNmM8022060; Mon, 8 Oct 2012 18:23:48 -0400 Date: Mon, 8 Oct 2012 18:23:48 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: Thomas Biege Cc: pcp@oss.sgi.com Message-ID: <713786349.8884829.1349735028028.JavaMail.root@redhat.com> In-Reply-To: <1349418538.14839.178.camel@spiral.ashpool.org> Subject: Re: [pcp] security issues and design of pmcd MIME-Version: 1.0 X-ASG-Orig-Subj: Re: [pcp] security issues and design of pmcd Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.109] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25] X-Barracuda-Start-Time: 1349735029 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110794 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Hey Thomas, ----- Original Message ----- > Hi. > > Who should be able to send the SIGHUP? If it is only root, then you > can > use the solution with dropping privileges like you did during normal > system boot. I guess you mean if we used seteuid originally (and not setuid) to set the user away from root? Such that pmcd can then switch back to root, temporarily, when SIGHUP arrives and it can (re)start child processes? > Does restart mean "exit and exec" Yeah, we can't do that - that'd terminate client connections (more detail on the issues that causes below). > or just resetting the configuration of the running processes? Yes, but thats not a "just", it involves starting child processes which may need to run as e.g. user "postgres". When pmcd runs as root this is not a problem, but as an unprivileged user it presents challenges of course. > > And without disruption to any of pmcd's existing > > client connections. Perhaps a setuid helper could do this bit > > somehow > > but this is the bit that's not really clear in my head at this > > stage. > > Hm, so if you want to not interrupt the client connections you don't > want to exit the process I assume, or are you using UDP? Correct, and it is TCP-based. In particular, for the PMDAs exporting event data, which involves per-client state, restarting pmcd (and all existing PMDAs) is particularly disruptive & so not really an option. Even for the "regular" PMDAs exporting sampled metrics, having to end all their connections means they will miss their next value while they reconnect and re-establish their state (rate converting counters means client side state held from previous sample, which gets messed up on a reconnect). Definitely we want to avoid client reconnects which means SIGHUP handling has to be smarter than just restarting pmnd. > What about two completely separate processes? The unprivileged one > which > handles the client connections could buffer client requests during > the restart (exit/exec) of the privileged process. Yeah, possibly, either way the solution is starting to get complex ... I guess we've circled back to my original point anyway, that its a bit of a non-trivial problem. :) cheers. -- Nathan From mgoodwin@redhat.com Mon Oct 8 19:15:46 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q990Fk5g164819 for ; Mon, 8 Oct 2012 19:15:46 -0500 X-ASG-Debug-ID: 1349741835-04cbb05e3d1cd930001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id GBDtCmUZmCjSBGsn for ; Mon, 08 Oct 2012 17:17:16 -0700 (PDT) X-Barracuda-Envelope-From: mgoodwin@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 X-ASG-Whitelist: Client Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q990HFn8000478 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 8 Oct 2012 20:17:15 -0400 Received: from fletch.usersys.redhat.com (vpn1-49-127.bne.redhat.com [10.64.49.127]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q990HDNo017232 for ; Mon, 8 Oct 2012 20:17:14 -0400 Message-ID: <50736D09.2000807@redhat.com> Date: Tue, 09 Oct 2012 11:17:13 +1100 From: Mark Goodwin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: pcp Subject: pcp-gui updates Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-ASG-Orig-Subj: pcp-gui updates Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1349741835 X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com Changes committed to git://oss.sgi.com/pcp/pcp-gui.git commit 862b7dccd658481af8305d6627619109520850d2 Author: Mark Goodwin Date: Tue Oct 9 11:11:13 2012 +1100 Bump maximumPoints (history) from 360 to 720. Needed when plotting a week of data, e.g. imported sadc data. The default visible points remains at 180. modified: src/chart/pmchart.h From mgoodwin@redhat.com Mon Oct 8 19:18:46 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q990IkCb165110 for ; Mon, 8 Oct 2012 19:18:46 -0500 X-ASG-Debug-ID: 1349742015-04cb6c283118f270001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id tYnIejhyGHbWzfsy for ; Mon, 08 Oct 2012 17:20:15 -0700 (PDT) X-Barracuda-Envelope-From: mgoodwin@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 X-ASG-Whitelist: Client Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q990KBV1011549 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 8 Oct 2012 20:20:15 -0400 Received: from fletch.usersys.redhat.com (vpn1-49-127.bne.redhat.com [10.64.49.127]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q990K7qe016594; Mon, 8 Oct 2012 20:20:10 -0400 Message-ID: <50736DB6.1030705@redhat.com> Date: Tue, 09 Oct 2012 11:20:06 +1100 From: Mark Goodwin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: pcp@oss.sgi.com CC: Nathan Scott Subject: Re: [pcp] pcp-gui updates References: <50736D09.2000807@redhat.com> X-ASG-Orig-Subj: Re: [pcp] pcp-gui updates In-Reply-To: <50736D09.2000807@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1349742015 X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com On 10/09/2012 11:17 AM, Mark Goodwin wrote: > Changes committed to git://oss.sgi.com/pcp/pcp-gui.git sorry - that should have been: Changes committed to git://oss.sgi.com/markgw/pcp/pcp-gui.git > > commit 862b7dccd658481af8305d6627619109520850d2 > Author: Mark Goodwin > Date: Tue Oct 9 11:11:13 2012 +1100 > > Bump maximumPoints (history) from 360 to 720. > > Needed when plotting a week of data, e.g. imported sadc data. > The default visible points remains at 180. > > modified: src/chart/pmchart.h > > _______________________________________________ > pcp mailing list > pcp@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/pcp From nscott@redhat.com Tue Oct 9 01:26:12 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q996QCxL235735 for ; Tue, 9 Oct 2012 01:26:12 -0500 X-ASG-Debug-ID: 1349764061-04cbb05e3a1d82f0001-S8gJnT Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id oBo9QkR5Np7pDgUO for ; Mon, 08 Oct 2012 23:27:41 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.25 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q996Rf7s031795 for ; Tue, 9 Oct 2012 02:27:41 -0400 Date: Tue, 9 Oct 2012 02:27:41 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1873472584.9012139.1349764061149.JavaMail.root@redhat.com> Subject: pcp-gui updates: build tweaks MIME-Version: 1.0 X-ASG-Orig-Subj: pcp-gui updates: build tweaks Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.109] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25] X-Barracuda-Start-Time: 1349764061 X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110826 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp-gui.git dev build/GNUmakefile | 6 ++-- build/rpm/fedora.spec | 8 +++--- build/rpm/pcp-gui.spec.in | 10 ++++---- debian/changelog | 5 ++-- dev/null |binary doc/CHANGES | 11 +++++++- qa/20071023-08-06-36.folio | 8 ++++++ qa/20071023-08-06-36.view | 19 +++++++++++++++ qa/20071023.08-06-36.folio | 8 ------ qa/20071023.08-06-36.view | 19 --------------- qa/GNUmakefile | 4 +-- qa/archives/20071023-08-06-36.0 |binary qa/archives/20071023-08-06-36.index |binary qa/archives/20071023-08-06-36.meta |binary qa/archives/GNUmakefile | 4 +-- qa/interact/chart-scaling-testcases | 2 - src/chart/view.cpp | 45 ++++++++++++++++++++++-------------- 17 files changed, 84 insertions(+), 65 deletions(-) commit ebc7127687c6b24d7b421f8e704a2fd98b5e5f4c Author: Nathan Scott Date: Tue Oct 9 17:26:09 2012 +1100 Do not include buildversion in src tarball, as in core pcp commit d354fdb2e6e5c2d04fbb5e6f4f93fbbec86dccb0 Author: Nathan Scott Date: Tue Oct 9 17:23:42 2012 +1100 Rename the datestamped QA archive again to fix gmake expansion commit c8899f43b7f08c6cf453faddd93e0eef3b580260 Author: Nathan Scott Date: Tue Oct 9 10:21:20 2012 +1100 Add event trace support into configuration files commit 5a827f1f8a7706d19f065187ebae1c4f012591c7 Author: Nathan Scott Date: Tue Oct 9 10:03:37 2012 +1100 Packaging updates in preparation for release later this week From nscott@redhat.com Tue Oct 9 17:49:01 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q99Mn0gL119304 for ; Tue, 9 Oct 2012 17:49:01 -0500 X-ASG-Debug-ID: 1349823030-04bdf064d575f40001-S8gJnT Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id U0cBZE4f7q6RshPX for ; Tue, 09 Oct 2012 15:50:30 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.24 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q99MoTk9025330 for ; Tue, 9 Oct 2012 18:50:30 -0400 Date: Tue, 9 Oct 2012 18:50:29 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1429109182.9565899.1349823029924.JavaMail.root@redhat.com> Subject: pcp-gui updates: pmchart MIME-Version: 1.0 X-ASG-Orig-Subj: pcp-gui updates: pmchart Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.109] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24] X-Barracuda-Start-Time: 1349823030 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110891 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp-gui.git dev src/chart/chart.cpp | 910 ++++++++++----------------------------------- src/chart/chart.h | 137 +++--- src/chart/gadget.h | 5 src/chart/groupcontrol.cpp | 102 +++-- src/chart/sampling.cpp | 535 +++++++++++++++++++++++++- src/chart/sampling.h | 47 ++ src/chart/tracing.cpp | 188 +++++++-- src/chart/tracing.h | 65 ++- 8 files changed, 1129 insertions(+), 860 deletions(-) commit 5b9d176e3cf3b56bba1efb002609e269fa399adb Merge: 00a4d17 ea9a95c Author: Nathan Scott Date: Wed Oct 10 09:44:02 2012 +1100 Merge branch 'dev' of git://oss.sgi.com/markgw/pcp/pcp-gui into dev commit 00a4d17a3ab4d75c750562968e5757ea840d0fb2 Author: Nathan Scott Date: Wed Oct 10 09:43:51 2012 +1100 Refactor Chart class, splitting into Chart and ChartEngine This is the second part of a large refactor to remove all logic specific to either Sampling or Tracing into their respective source files, such that the "core" Chart class does not have to have a boolean flag saying which mode it is currently operating under. Previous large refactor in this area split out ChartItem into separate tracing/sampling. This now completes the transition in the main Chart class (which covers all of the ChartItems). From nscott@redhat.com Wed Oct 10 00:56:54 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9A5urol226008 for ; Wed, 10 Oct 2012 00:56:54 -0500 X-ASG-Debug-ID: 1349848703-04bdf064d186d50001-S8gJnT Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id wCeTWTR63fBCqLbW for ; Tue, 09 Oct 2012 22:58:23 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.24 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9A5wNjg022616 for ; Wed, 10 Oct 2012 01:58:23 -0400 Date: Wed, 10 Oct 2012 01:58:23 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Message-ID: <2030346402.9627836.1349848703302.JavaMail.root@redhat.com> Subject: pcp-gui: pmchart updates, latest qwt6 fixes MIME-Version: 1.0 X-ASG-Orig-Subj: pcp-gui: pmchart updates, latest qwt6 fixes Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.109] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24] X-Barracuda-Start-Time: 1349848703 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.110919 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp-gui.git dev debian/GNUmakefile | 7 +----- debian/control | 13 +++++++++-- debian/pcp-gui-testsuite.dirs | 1 debian/rules | 12 ++++++---- debian/source.lintian-overrides | 2 + man/man1/pmchart.1 | 2 - qa/006.out | 30 +++++++------------------- qa/GNUmakefile | 12 +++++----- qa/archives/GNUmakefile | 4 +-- qa/interact/GNUmakefile | 4 +-- qa/src/GNUmakefile | 2 - qa/views/GNUmakefile | 4 +-- src/chart/GNUmakefile | 1 src/chart/chart.cpp | 2 - src/chart/pmchart.desktop | 1 src/chart/tracing.cpp | 15 +++++++------ src/chart/tracing.h | 4 ++- src/libqmc/qmc_metric.cpp | 37 ++++++++++++++++++++++++++++++--- src/libqmc/qmc_metric.h | 7 ++++-- src/libqwt/qwt_abstract_scale_draw.cpp | 2 - src/libqwt/qwt_magnifier.cpp | 2 - src/libqwt/qwt_plot_curve.h | 12 +++++----- src/libqwt/qwt_plot_renderer.h | 2 - src/libqwt/qwt_plot_scaleitem.cpp | 6 +++-- 24 files changed, 109 insertions(+), 75 deletions(-) commit be0497dcc33e6a2b68cf6d3feb666290ccf89042 Author: Nathan Scott Date: Wed Oct 10 16:55:01 2012 +1100 Remove the (really) old kmchart symlink to pmchart commit d17327a46c45d3def2e0cfb5a14829136174fa54 Author: Nathan Scott Date: Wed Oct 10 16:33:35 2012 +1100 Remake 006 output after pmchart mega-refactoring commit 875ac5206f90ec0efbe09030a52d5e1260816afc Author: Nathan Scott Date: Wed Oct 10 16:30:55 2012 +1100 Fix up installed permissions of QA scripts in pcp-gui-testsuite commit 5326f2cc45d8c1fcd2bcde164d57c0084485533e Author: Nathan Scott Date: Wed Oct 10 16:30:35 2012 +1100 Remove UTF-8 line from desktop file (default, required), lintian warns commit e24d4d0fb85c8c9872f333bb75d78403e7172bf8 Author: Nathan Scott Date: Wed Oct 10 16:29:31 2012 +1100 Update deb build after lintian checks completed commit ff6f07aea3a9301820eec6d17e580f42595cb221 Author: Nathan Scott Date: Wed Oct 10 16:10:03 2012 +1100 Make the selected-event popup show useful information commit 41f5aec5c1824902f4aed4bd07308483f6fb8e19 Author: Nathan Scott Date: Wed Oct 10 11:30:51 2012 +1100 Guard an unconditional diagnostic on legend check commit cfd946494ab9a9c628db34c4aec4a40c6e7af1ff Author: Nathan Scott Date: Wed Oct 10 10:03:46 2012 +1100 Merge latest stable Qwt6 updates From nscott@redhat.com Thu Oct 11 19:10:43 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9C0AhNu020127 for ; Thu, 11 Oct 2012 19:10:43 -0500 X-ASG-Debug-ID: 1350000734-04cb6c2830271800001-S8gJnT Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id h4KpFntxGkQrT3cp for ; Thu, 11 Oct 2012 17:12:14 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.24 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9C0CEY7019167 for ; Thu, 11 Oct 2012 20:12:14 -0400 Date: Thu, 11 Oct 2012 20:12:14 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Message-ID: <987006944.10725397.1350000734190.JavaMail.root@redhat.com> Subject: pcp-gui updates: About dialogs, y-axis scales MIME-Version: 1.0 X-ASG-Orig-Subj: pcp-gui updates: About dialogs, y-axis scales Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.212] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24] X-Barracuda-Start-Time: 1350000734 X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.111087 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp-gui.git dev dev/null |binary images/aboutqt.svg | 136 --------------------------- src/chart/GNUmakefile | 2 src/chart/aboutdialog.ui | 2 src/chart/pmchart.cpp | 5 src/chart/pmchart.h | 1 src/chart/pmchart.qrc | 1 src/chart/pmchart.ui | 15 ++ src/chart/seealsodialog.ui | 205 +++++++++++++++------------------------- src/chart/tracing.cpp | 10 + src/time/GNUmakefile | 2 src/time/aboutdialog.ui | 23 +--- src/time/pmtime.qrc | 1 src/time/pmtimearch.cpp | 5 src/time/pmtimearch.h | 1 src/time/pmtimearch.ui | 39 +++---- src/time/pmtimelive.cpp | 5 src/time/pmtimelive.h | 1 src/time/pmtimelive.ui | 39 +++---- src/time/seealsodialog.ui | 226 +++++++++++++++++---------------------------- 20 files changed, 253 insertions(+), 466 deletions(-) commit 715af50b7b658d6134f5061a1b774764223bda63 Author: Nathan Scott Date: Fri Oct 12 11:10:21 2012 +1100 Rework the See Also dialogs for pmchart and pmtime Bit of positive cross-polination here; noticed in the valgrind Qt UI (valkyrie) that there's a better way for managing the Qt ack window - allowing Qt to do it itself. Means we have fewer icons and copyright notices to look after - good stuff. commit 06a75c7a35a95745baa4ac61e72291a4bdab41dc Author: Nathan Scott Date: Fri Oct 12 10:17:10 2012 +1100 Update the About dialogs for pmtime and pmchart commit e4d3c613714c5576e114546b101719ab879234ba Author: Nathan Scott Date: Fri Oct 12 10:00:41 2012 +1100 Correct the trace chart y-axis label truncation From nscott@redhat.com Fri Oct 12 00:53:29 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9C5rSVW075479 for ; Fri, 12 Oct 2012 00:53:28 -0500 X-ASG-Debug-ID: 1350021300-04bdf064d41609f0001-S8gJnT Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id Xwhyj6YZDP8nBsBa for ; Thu, 11 Oct 2012 22:55:00 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.24 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9C5sxpo015258 for ; Fri, 12 Oct 2012 01:54:59 -0400 Date: Fri, 12 Oct 2012 01:54:59 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1464168857.10873186.1350021299914.JavaMail.root@redhat.com> In-Reply-To: <462865179.10849406.1350020838787.JavaMail.root@redhat.com> Subject: pcp updates: qa and build changes, toward a point release MIME-Version: 1.0 X-ASG-Orig-Subj: pcp updates: qa and build changes, toward a point release Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.212] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24] X-Barracuda-Start-Time: 1350021300 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.111109 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp.git dev CHANGELOG | 2 +- build/rpm/devtoolset.spec | 9 ++++++--- build/rpm/fedora.spec | 5 ++++- build/rpm/pcp.spec.in | 4 ++-- debian/changelog | 2 +- debian/control | 4 ++-- debian/rules | 14 +++++++------- qa/063 | 2 +- qa/707 | 2 +- qa/708 | 2 +- qa/GNUmakefile | 7 +++---- qa/pmdas/bigun/GNUmakefile.install | 2 +- qa/pmdas/broken/GNUmakefile.install | 2 +- qa/pmdas/dynamic/GNUmakefile.install | 2 +- qa/src/GNUlocaldefs | 7 ++++--- src/perl/LogSummary/.gitignore | 2 +- src/pmdas/simple/GNUmakefile.install | 2 +- src/pmdas/trivial/GNUmakefile.install | 2 +- src/pmdas/txmon/GNUmakefile.install | 2 +- 19 files changed, 40 insertions(+), 34 deletions(-) commit 943c0deaa89d276c3b06cac40bdb35387f3c55c2 Author: Nathan Scott Date: Fri Oct 12 16:53:29 2012 +1100 Fix test 063 for non-shared builds (need -l{pthread,dl,m}) commit 4db13889f8e00d1394f9a453456ee803f9d543ac Author: Nathan Scott Date: Fri Oct 12 16:43:13 2012 +1100 Update spec files, add DTS note about non-shared bz numbers commit 3cc245ec41ed872e3f04e94bbd16282ce78672cb Author: Nathan Scott Date: Fri Oct 12 16:42:11 2012 +1100 Fix installed PMDA makefiles for non-shared builds (need -l{pthread,dl,m}) commit 3d95bc6a1fb0946341da00a3570fa29ccb0ada1a Author: Nathan Scott Date: Fri Oct 12 16:09:29 2012 +1100 Resolve a new lintian error around location of init scripts commit 356786bff51f489e6b26863c7dc3b699316312e4 Author: Nathan Scott Date: Fri Oct 12 14:08:19 2012 +1100 Update changelogs with dates and bug details for 3.6.9 commit 43b02eaf08bc26dcca8a548011eb57a59efdea98 Author: Nathan Scott Date: Fri Oct 12 14:00:00 2012 +1100 Fix python dependencies for .deb package builds commit f287436f877f4cbf04f8fe81423729bcea30d73d Author: Nathan Scott Date: Thu Oct 11 11:31:17 2012 +1100 Workaround issues falling out of installing python scripts in QA Firstly, ensure we install the python scripts into pcp-testsuite package. The obvious way to do that would install them with the executable bit appropriately set. However, that means RPM finds them, and takes additional steps - like pre-compiling and adding new files into the install root. And the files installed depend on both rpm and python versions. So, leap over this rathole by using the same trick used by perl scripts in QA - don't set the execute bits and run the scripts in the tests with the interpreter prefix. Seems the best of a bad set of options. Note that this is only done for the QA scripts that are python code - the real python scripts in PCP (pmcollectl for example) must be run without a prefix to properly test the installed packages. commit c43fabf590cd792dc88f4791a89c4d9216b85612 Author: Nathan Scott Date: Thu Oct 11 08:56:23 2012 +1100 Fix perl module gitignore file reference to blib/ From nscott@redhat.com Sat Oct 13 00:20:41 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9D5Keq9071355 for ; Sat, 13 Oct 2012 00:20:41 -0500 X-ASG-Debug-ID: 1350105733-04cbb05e3d320950001-S8gJnT Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id JcFNB6g21BX2XNtE for ; Fri, 12 Oct 2012 22:22:13 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.25 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9D5M9gt014343; Sat, 13 Oct 2012 01:22:09 -0400 Date: Sat, 13 Oct 2012 01:22:09 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: Ken McDonell Cc: pcp@oss.sgi.com Message-ID: <784881246.11759577.1350105729295.JavaMail.root@redhat.com> In-Reply-To: <1502895691.11759081.1350104461446.JavaMail.root@redhat.com> Subject: Possible libpcp threading deadlock via pmlogger MIME-Version: 1.0 X-ASG-Orig-Subj: Possible libpcp threading deadlock via pmlogger Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.204] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25] X-Barracuda-Start-Time: 1350105733 X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.111200 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Hi Ken, I came across what looks like a threading-related deadlock while running QA earlier, keen to hear your thoughts. It happened during test 134 which exercises some pmlogger/pmlc scenarios around multi-volume logs. It had been stuck for many minutes (tens I think) when I intervened. Here's some gdb state I captured that tells some of the story... nathans@smash:/source/build/debug-info-path/git/pcp$ ps -ef | grep pcpqa root 8179 8154 0 14:43 pts/45 00:00:00 sudo su - pcpqa root 8180 8179 0 14:43 pts/45 00:00:00 su - pcpqa pcpqa 8181 8180 0 14:43 pts/45 00:00:00 -bash pcpqa 9304 10574 0 15:13 pts/45 00:00:00 sh 134 pcpqa 9319 9304 0 15:13 pts/45 00:00:00 pmlogger -L -c /dev/null -l /tmp/9304.log /tmp/9304 pcpqa 9481 9304 0 15:14 pts/45 00:00:00 pmlc 9319 pcpqa 10574 8181 0 14:44 pts/45 00:00:00 /bin/sh ./check -l nathans 12864 14971 0 15:59 pts/31 00:00:00 grep pcpqa nathans@smash:/source/build/debug-info-path/git/pcp$ sudo gdb -p 9319 GNU gdb (GDB) Red Hat Enterprise Linux (7.2-56.el6) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: . Attaching to process 9319 Reading symbols from /usr/libexec/pcp/bin/pmlogger...Reading symbols from /usr/lib/debug/usr/libexec/pcp/bin/pmlogger.debug...done. done. Reading symbols from /usr/lib64/libpcp.so.3...Reading symbols from /usr/lib/debug/usr/lib64/libpcp.so.3.debug...done. done. Loaded symbols for /usr/lib64/libpcp.so.3 Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done. [Thread debugging using libthread_db enabled] Loaded symbols for /lib64/libpthread.so.0 Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib64/libc.so.6 Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done. Loaded symbols for /lib64/libm.so.6 Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/libdl.so.2 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/libnss_files.so.2 0x00007f38daeeb054 in __lll_lock_wait () from /lib64/libpthread.so.0 Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.80.el6_3.5.x86_64 (gdb) bt #0 0x00007f38daeeb054 in __lll_lock_wait () from /lib64/libpthread.so.0 #1 0x00007f38daee63a3 in _L_lock_892 () from /lib64/libpthread.so.0 #2 0x00007f38daee6287 in pthread_mutex_lock () from /lib64/libpthread.so.0 #3 0x00007f38db105f7a in pmWhichContext () at context.c:172 #4 0x00007f38db114bd5 in pmAddProfile (indom=4294967295, instlist_len=0, instlist=0x0) at profile.c:205 #5 0x00007f38db576110 in log_callback (afid=, data=0x7f38dd71fca0) at callback.c:439 #6 0x00007f38db12bac7 in onalarm (dummy=) at AF.c:299 #7 #8 0x00007f38daee6281 in pthread_mutex_lock () from /lib64/libpthread.so.0 #9 0x00007f38db1390fc in __pmMultiThreaded (scope=2) at lock.c:128 #10 0x00007f38db12b7ae in __pmAFblock () at AF.c:491 #11 0x00007f38db5748a1 in main (argc=, argv=) at pmlogger.c:894 (gdb) #3 0x00007f38db105f7a in pmWhichContext () at context.c:172 172 PM_LOCK(__pmLock_libpcp); (gdb) l 167 * return curcontext, provided it is defined 168 */ 169 int sts; 170 171 PM_INIT_LOCKS(); 172 PM_LOCK(__pmLock_libpcp); 173 if (PM_TPD(curcontext) > PM_CONTEXT_UNDEF) 174 sts = PM_TPD(curcontext); 175 else 176 sts = PM_ERR_NOCONTEXT; (gdb) p __pmLock_libpcp $1 = {__data = {__lock = 2, __count = 0, __owner = 0, __nusers = 0, __kind = 1, __spins = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = "\002", '\000' , "\001", '\000' , __align = 2} (gdb) nathans@smash:/source/build/debug-info-path/git/pcp$ sudo gdb -p 9481 GNU gdb (GDB) Red Hat Enterprise Linux (7.2-56.el6) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: . Attaching to process 9481 Reading symbols from /usr/bin/pmlc...Reading symbols from /usr/lib/debug/usr/bin/pmlc.debug...done. done. Reading symbols from /usr/lib64/libpcp.so.3...Reading symbols from /usr/lib/debug/usr/lib64/libpcp.so.3.debug...done. done. Loaded symbols for /usr/lib64/libpcp.so.3 Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib64/libc.so.6 Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done. Loaded symbols for /lib64/libm.so.6 Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done. [Thread debugging using libthread_db enabled] Loaded symbols for /lib64/libpthread.so.0 Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/libdl.so.2 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/libnss_files.so.2 0x00000038edee8e82 in recv () from /lib64/libc.so.6 Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.80.el6_3.5.x86_64 (gdb) bt #0 0x00000038edee8e82 in recv () from /lib64/libc.so.6 #1 0x00007ffd333d6700 in pduread (fd=3, buf=, len=12, part=-1, timeout=0) at pdu.c:238 #2 0x00007ffd333d69a1 in __pmGetPDU (fd=3, mode=0, timeout=0, result=0x7fff7e92a368) at pdu.c:408 #3 0x00007ffd333f936e in __pmConnectLogger (hostname=, pid=0x60d5a0, port=0x60d5a4) at logconnect.c:172 #4 0x0000000000405b7e in ConnectLogger (hostname=0x7fff7e92a4e0 "smash", pid=0x60d5a0, port=0x60d5a4) at actions.c:129 #5 0x0000000000402527 in main (argc=, argv=) at pmlc.c:218 [ from the interrupted test log after killing pmlogger, has the line number from the test sh process: ] > 134: line 175: 9319 Killed pmlogger -L -c /dev/null -l $tmp.log $tmp cheers. -- Nathan From nscott@redhat.com Sat Oct 13 17:48:49 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9DMmnXV014574 for ; Sat, 13 Oct 2012 17:48:49 -0500 X-ASG-Debug-ID: 1350168620-04bdf064d51bcba0001-S8gJnT Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id QtQKJbBcl8fgHi9H for ; Sat, 13 Oct 2012 15:50:20 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.24 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9DMoKp1010612 for ; Sat, 13 Oct 2012 18:50:20 -0400 Date: Sat, 13 Oct 2012 18:50:20 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1810514652.11806752.1350168620142.JavaMail.root@redhat.com> Subject: pcp updates: qa testing MIME-Version: 1.0 X-ASG-Orig-Subj: pcp updates: qa testing Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.204] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24] X-Barracuda-Start-Time: 1350168620 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.111269 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp.git dev qa/.gitignore | 2 qa/110 | 2 qa/199 | 2 qa/348 | 2 qa/369 | 15 - qa/369.out | 500 ------------------------------------ qa/369.out.1 | 500 ++++++++++++++++++++++++++++++++++++ qa/369.out.2 | 530 +++++++++++++++++++++++++++++++++++++++ qa/406 | 15 - qa/406.out | 30 -- qa/406.out.1 | 30 ++ qa/406.out.2 | 47 +++ qa/446 | 2 qa/511.out | 8 qa/560 | 22 + qa/572 | 13 qa/707 | 2 qa/708 | 2 qa/710 | 4 qa/GNUmakefile | 4 qa/src/GNUlocaldefs | 4 qa/src/GNUmakefile | 4 qa/src/check_import.perl | 139 ++++++++++ qa/src/check_import.pl | 140 ---------- qa/src/check_import.py | 72 ----- qa/src/check_import.python | 71 +++++ qa/src/interp0.c | 20 + qa/src/test_pcp.py | 380 --------------------------- qa/src/test_pcp.python | 379 +++++++++++++++++++++++++++ qa/src/test_pmi.py | 100 ------- qa/src/test_pmi.python | 99 +++++++ src/pmdas/cisco/pmda.c | 3 src/pmdas/trace/GNUmakefile | 6 src/pmdas/trace/GNUmakefile.stub | 2 src/pmdas/trace/Makefile.proto | 10 src/pmevent/pmevent.c | 39 ++ 36 files changed, 1936 insertions(+), 1264 deletions(-) commit 500584820235ebb512e5904ff29685df12efcc02 Author: Nathan Scott Date: Sun Oct 14 09:45:05 2012 +1100 Update 369 to handle changes to LogImport libraries commit aac8e9469a11d73f7b5f17506f93fd95de14675d Author: Nathan Scott Date: Sat Oct 13 17:41:02 2012 +1100 Fix typo that somehow crept into trace stub makefile, 446 failed commit 3e4ff4b3dd69ccec224b3772b35b92180d319f49 Author: Nathan Scott Date: Sat Oct 13 17:34:34 2012 +1100 QA updates Install perl/python scripts named in such a way that rpm does not find them (and attempt to install additional oddments, in the case of python, depending on version); minor QA fixes to get back to the regular few hard-core failures (still TODO). commit 2b6314c458a044c0e9189a12e9a7ec50afd358bb Author: Nathan Scott Date: Sat Oct 13 09:28:15 2012 +1100 Revert pmevent change making it archive interp, more thought needed re semantics commit e54e7fd9c0f1cfce16c687aa93a02fb743036c2f Author: Nathan Scott Date: Fri Oct 12 20:44:42 2012 +1100 Additional QA filtering to handle static library builds commit 0f55365a99b16e3412e4defa8dadc79384eae52a Author: Nathan Scott Date: Fri Oct 12 20:28:05 2012 +1100 Cull a dopey helptext warning from pmdacisco parser commit 0c21f76707e0892c8b0973f82b22600ebef6895e Author: Nathan Scott Date: Fri Oct 12 20:27:41 2012 +1100 Make test 406 handle interp mode events ... needs further thought too commit d83427ed6c8da9ebe9131858421f088296fa02d1 Author: Nathan Scott Date: Fri Oct 12 19:14:46 2012 +1100 Resolve some minor QA issues around static library builds From pcp-announce-bounces@oss.sgi.com Sun Oct 14 04:44:11 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9E9haHL144017; Sun, 14 Oct 2012 04:43:36 -0500 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9E9gTRK143886 for ; Sun, 14 Oct 2012 04:42:29 -0500 X-ASG-Debug-ID: 1350207843-04bdf064d11ca0a0001-87ZIJf Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id bRFwjgtKCJ9Yu2Dz for ; Sun, 14 Oct 2012 02:44:03 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.25 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9E9i2mJ005081 for ; Sun, 14 Oct 2012 05:44:02 -0400 Date: Sun, 14 Oct 2012 05:44:02 -0400 (EDT) From: Nathan Scott To: pcp-announce@oss.sgi.com Message-ID: <1140076818.11861077.1350207842705.JavaMail.root@redhat.com> In-Reply-To: <179416036.11857024.1350204903485.JavaMail.root@redhat.com> MIME-Version: 1.0 X-ASG-Orig-Subj: pcp-3.6.9 release X-Originating-IP: [10.64.49.200] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25] X-Barracuda-Start-Time: 1350207843 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.111305 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Subject: [pcp-announce] pcp-3.6.9 release X-BeenThere: pcp-announce@oss.sgi.com X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Nathan Scott List-Id: pcp announcements List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: pcp-announce-bounces@oss.sgi.com Errors-To: pcp-announce-bounces@oss.sgi.com Hi all, A new bugfix release pcp-3.6.9 has been tagged and uploaded; you can find the source and binary packages for a number of platforms from the download link on: http://oss.sgi.com/projects/pcp/ pcp-3.6.9 (12 October 2012) - Python wrapper for the pmimport API - Make sar2pcp work with the sysstat versions from RHEL5, RHEL6, and all recent Fedora versions (which is almost all current versions of sysstat verified). - Added a number of additional metrics into the importer for people starting to use it to analyse sar data from real customer incidents. - Rework use of C99 "restrict" keyword in pmdalogger (Debian bug: 689552) - Alot of work on the PCP QA suite, special thanks to Tomas Dohnalek for all his efforts there. - Win32 build updates - Add "raw" disk active metrics so that existing tools like iostat can be emulated - Allow sar2pcp to accept XML input directly (.xml suffix), allowing it to not have to run on the same platform as the sadc/sadf that originally generated it. - Add PMI error codes into the PCP::LogImport perl module. - Fix a typo in pmiUnits man page synopsis section - Resolve pmdalinux ordering issue in NUMA/CPU indom setup (Redhat bug: 858384) - Remove unused pmcollectl imports (Redhat bug: 863210) - Allow event traces to be used in libpcp interpolate mode Enjoy! -- Nathan _______________________________________________ pcp-announce mailing list pcp-announce@oss.sgi.com http://oss.sgi.com/mailman/listinfo/pcp-announce From kenj@internode.on.net Sun Oct 14 13:47:12 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9EIlBW1214630 for ; Sun, 14 Oct 2012 13:47:12 -0500 X-ASG-Debug-ID: 1350240524-04bdf064d31dab00001-S8gJnT Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by cuda.sgi.com with ESMTP id 6ZSDBCIQzUolwCVv for ; Sun, 14 Oct 2012 11:48:44 -0700 (PDT) X-Barracuda-Envelope-From: kenj@internode.on.net X-Barracuda-Apparent-Source-IP: 150.101.137.145 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBAG4Ie1B20d1c/2dsb2JhbAANN4YSvQcBAQEEI1YQCxgCAiYCAlcGHIgGqSlukVaBIY9jgRIDlWyTMQ Received: from ppp118-209-221-92.lns20.mel6.internode.on.net (HELO [192.168.1.100]) ([118.209.221.92]) by ipmail06.adl6.internode.on.net with ESMTP; 15 Oct 2012 05:18:43 +1030 Message-ID: <1350240526.21128.7.camel@bozo.localdomain> Subject: Re: Possible libpcp threading deadlock via pmlogger From: Ken McDonell X-ASG-Orig-Subj: Re: Possible libpcp threading deadlock via pmlogger To: Nathan Scott Cc: pcp@oss.sgi.com Date: Mon, 15 Oct 2012 05:48:46 +1100 In-Reply-To: <784881246.11759577.1350105729295.JavaMail.root@redhat.com> References: <784881246.11759577.1350105729295.JavaMail.root@redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Barracuda-Connect: ipmail06.adl6.internode.on.net[150.101.137.145] X-Barracuda-Start-Time: 1350240524 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.111339 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- On Sat, 2012-10-13 at 01:22 -0400, Nathan Scott wrote: > Hi Ken, > > I came across what looks like a threading-related deadlock > while running QA earlier, keen to hear your thoughts. ... Both pmlogger and pmlc are single-threaded (unless there is some under the covers multi-threading in pmlogger as a consequence of the timer handling), and __pmLock_libpcp is a recursive lock so the only way that I know this could block is if we had unbounded lock recursion and ran into some implementation maximum locking depth in the pthread_mutex implementation. We had a case like this before in pmlogger but that related to the per context locks (which are also recursive) and this was fixed in commit 29d91a. Commit de185c6 added code to detect lock recursion, but it needs to be manually compiled into libpcp. I'll take a look when I get a chance. > ... It > happened during test 134 which exercises some pmlogger/pmlc > scenarios around multi-volume logs. It had been stuck for > many minutes (tens I think) when I intervened. Here's some > gdb state I captured that tells some of the story... > > nathans@smash:/source/build/debug-info-path/git/pcp$ ps -ef | grep pcpqa > root 8179 8154 0 14:43 pts/45 00:00:00 sudo su - pcpqa > root 8180 8179 0 14:43 pts/45 00:00:00 su - pcpqa > pcpqa 8181 8180 0 14:43 pts/45 00:00:00 -bash > pcpqa 9304 10574 0 15:13 pts/45 00:00:00 sh 134 > pcpqa 9319 9304 0 15:13 pts/45 00:00:00 pmlogger -L -c /dev/null -l /tmp/9304.log /tmp/9304 > pcpqa 9481 9304 0 15:14 pts/45 00:00:00 pmlc 9319 > pcpqa 10574 8181 0 14:44 pts/45 00:00:00 /bin/sh ./check -l > nathans 12864 14971 0 15:59 pts/31 00:00:00 grep pcpqa > nathans@smash:/source/build/debug-info-path/git/pcp$ sudo gdb -p 9319 > GNU gdb (GDB) Red Hat Enterprise Linux (7.2-56.el6) > Copyright (C) 2010 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "x86_64-redhat-linux-gnu". > For bug reporting instructions, please see: > . > Attaching to process 9319 > Reading symbols from /usr/libexec/pcp/bin/pmlogger...Reading symbols from /usr/lib/debug/usr/libexec/pcp/bin/pmlogger.debug...done. > done. > Reading symbols from /usr/lib64/libpcp.so.3...Reading symbols from /usr/lib/debug/usr/lib64/libpcp.so.3.debug...done. > done. > Loaded symbols for /usr/lib64/libpcp.so.3 > Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done. > [Thread debugging using libthread_db enabled] > Loaded symbols for /lib64/libpthread.so.0 > Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done. > Loaded symbols for /lib64/libc.so.6 > Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done. > Loaded symbols for /lib64/libm.so.6 > Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done. > Loaded symbols for /lib64/libdl.so.2 > Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. > Loaded symbols for /lib64/ld-linux-x86-64.so.2 > Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done. > Loaded symbols for /lib64/libnss_files.so.2 > 0x00007f38daeeb054 in __lll_lock_wait () from /lib64/libpthread.so.0 > Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.80.el6_3.5.x86_64 > (gdb) bt > #0 0x00007f38daeeb054 in __lll_lock_wait () from /lib64/libpthread.so.0 > #1 0x00007f38daee63a3 in _L_lock_892 () from /lib64/libpthread.so.0 > #2 0x00007f38daee6287 in pthread_mutex_lock () from /lib64/libpthread.so.0 > #3 0x00007f38db105f7a in pmWhichContext () at context.c:172 > #4 0x00007f38db114bd5 in pmAddProfile (indom=4294967295, instlist_len=0, instlist=0x0) at profile.c:205 > #5 0x00007f38db576110 in log_callback (afid=, data=0x7f38dd71fca0) at callback.c:439 > #6 0x00007f38db12bac7 in onalarm (dummy=) at AF.c:299 > #7 > #8 0x00007f38daee6281 in pthread_mutex_lock () from /lib64/libpthread.so.0 > #9 0x00007f38db1390fc in __pmMultiThreaded (scope=2) at lock.c:128 > #10 0x00007f38db12b7ae in __pmAFblock () at AF.c:491 > #11 0x00007f38db5748a1 in main (argc=, argv=) at pmlogger.c:894 > (gdb) #3 0x00007f38db105f7a in pmWhichContext () at context.c:172 > 172 PM_LOCK(__pmLock_libpcp); > (gdb) l > 167 * return curcontext, provided it is defined > 168 */ > 169 int sts; > 170 > 171 PM_INIT_LOCKS(); > 172 PM_LOCK(__pmLock_libpcp); > 173 if (PM_TPD(curcontext) > PM_CONTEXT_UNDEF) > 174 sts = PM_TPD(curcontext); > 175 else > 176 sts = PM_ERR_NOCONTEXT; > (gdb) p __pmLock_libpcp > $1 = {__data = {__lock = 2, __count = 0, __owner = 0, __nusers = 0, __kind = 1, __spins = 0, __list = {__prev = 0x0, > __next = 0x0}}, __size = "\002", '\000' , "\001", '\000' , __align = 2} > (gdb) > > nathans@smash:/source/build/debug-info-path/git/pcp$ sudo gdb -p 9481 > GNU gdb (GDB) Red Hat Enterprise Linux (7.2-56.el6) > Copyright (C) 2010 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "x86_64-redhat-linux-gnu". > For bug reporting instructions, please see: > . > Attaching to process 9481 > Reading symbols from /usr/bin/pmlc...Reading symbols from /usr/lib/debug/usr/bin/pmlc.debug...done. > done. > Reading symbols from /usr/lib64/libpcp.so.3...Reading symbols from /usr/lib/debug/usr/lib64/libpcp.so.3.debug...done. > done. > Loaded symbols for /usr/lib64/libpcp.so.3 > Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done. > Loaded symbols for /lib64/libc.so.6 > Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done. > Loaded symbols for /lib64/libm.so.6 > Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done. > [Thread debugging using libthread_db enabled] > Loaded symbols for /lib64/libpthread.so.0 > Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done. > Loaded symbols for /lib64/libdl.so.2 > Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. > Loaded symbols for /lib64/ld-linux-x86-64.so.2 > Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done. > Loaded symbols for /lib64/libnss_files.so.2 > 0x00000038edee8e82 in recv () from /lib64/libc.so.6 > Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.80.el6_3.5.x86_64 > (gdb) bt > #0 0x00000038edee8e82 in recv () from /lib64/libc.so.6 > #1 0x00007ffd333d6700 in pduread (fd=3, buf=, len=12, part=-1, timeout=0) at pdu.c:238 > #2 0x00007ffd333d69a1 in __pmGetPDU (fd=3, mode=0, timeout=0, result=0x7fff7e92a368) at pdu.c:408 > #3 0x00007ffd333f936e in __pmConnectLogger (hostname=, pid=0x60d5a0, port=0x60d5a4) > at logconnect.c:172 > #4 0x0000000000405b7e in ConnectLogger (hostname=0x7fff7e92a4e0 "smash", pid=0x60d5a0, port=0x60d5a4) at actions.c:129 > #5 0x0000000000402527 in main (argc=, argv=) at pmlc.c:218 > > > [ from the interrupted test log after killing pmlogger, has the > line number from the test sh process: ] > > 134: line 175: 9319 Killed pmlogger -L -c /dev/null -l $tmp.log $tmp > > > cheers. > > -- > Nathan From nscott@redhat.com Sun Oct 14 16:21:05 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9ELL4d8260662 for ; Sun, 14 Oct 2012 16:21:05 -0500 X-ASG-Debug-ID: 1350249759-04bdf064d11ddee0001-S8gJnT Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id JBuvWIyA0XMGFqcq for ; Sun, 14 Oct 2012 14:22:39 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.24 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9ELMaqf028421; Sun, 14 Oct 2012 17:22:36 -0400 Date: Sun, 14 Oct 2012 17:22:36 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: Ken McDonell Cc: pcp@oss.sgi.com Message-ID: <1234430459.11999146.1350249756615.JavaMail.root@redhat.com> In-Reply-To: <1350240526.21128.7.camel@bozo.localdomain> Subject: Re: Possible libpcp threading deadlock via pmlogger MIME-Version: 1.0 X-ASG-Orig-Subj: Re: Possible libpcp threading deadlock via pmlogger Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.200] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24] X-Barracuda-Start-Time: 1350249759 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.111351 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- ----- Original Message ----- > On Sat, 2012-10-13 at 01:22 -0400, Nathan Scott wrote: > > Hi Ken, > > > > I came across what looks like a threading-related deadlock > > while running QA earlier, keen to hear your thoughts. ... > > Both pmlogger and pmlc are single-threaded (unless there is some > under > the covers multi-threading in pmlogger as a consequence of the timer > handling), and __pmLock_libpcp is a recursive lock so the only way > that > I know this could block is if we had unbounded lock recursion and ran > into some implementation maximum locking depth in the pthread_mutex > implementation. Or a missed unlock call somewhere, on some unusual code path? > We had a case like this before in pmlogger but that related to the > per > context locks (which are also recursive) and this was fixed in commit > 29d91a. > > Commit de185c6 added code to detect lock recursion, but it needs to > be manually compiled into libpcp. I'll enable that and see if I can hit it again. It is likely to be a race (perhaps interestingly, that pmlogger code is in the sigalarm handler, may be a clue) ... I've done alot of testing on this machine with this code and hadn't come across this to date. > I'll take a look when I get a chance. Thanks. -- Nathan From fche@redhat.com Sun Oct 14 17:11:40 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9EMBeT4007069 for ; Sun, 14 Oct 2012 17:11:40 -0500 X-ASG-Debug-ID: 1350252795-04bdf064d51defa0001-S8gJnT Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id 5k4WVC734aZskYzl for ; Sun, 14 Oct 2012 15:13:15 -0700 (PDT) X-Barracuda-Envelope-From: fche@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.28 X-ASG-Whitelist: Client Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q9EMDCVk020308 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 14 Oct 2012 18:13:12 -0400 Received: from fche.csb (vpn-9-65.rdu.redhat.com [10.11.9.65]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q9EMDBeF027413; Sun, 14 Oct 2012 18:13:12 -0400 Received: by fche.csb (Postfix, from userid 2569) id 688345814E; Sun, 14 Oct 2012 18:13:11 -0400 (EDT) To: Nathan Scott Cc: Ken McDonell , pcp@oss.sgi.com Subject: Re: Possible libpcp threading deadlock via pmlogger References: <1350240526.21128.7.camel@bozo.localdomain> <1234430459.11999146.1350249756615.JavaMail.root@redhat.com> X-ASG-Orig-Subj: Re: Possible libpcp threading deadlock via pmlogger From: fche@redhat.com (Frank Ch. Eigler) Date: Sun, 14 Oct 2012 18:13:11 -0400 In-Reply-To: <1234430459.11999146.1350249756615.JavaMail.root@redhat.com> (Nathan Scott's message of "Sun, 14 Oct 2012 17:22:36 -0400 (EDT)") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-Barracuda-Connect: mx1.redhat.com[209.132.183.28] X-Barracuda-Start-Time: 1350252795 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com Nathan Scott writes: > [...] (perhaps interestingly, that pmlogger code is in the sigalarm > handler, may be a clue) [...] Just checking - are you aware of the limitations of code that may legitimately invoked from a signal handler? It's quite restricted. fprintf(3) wouldn't wash, for example, and exit(3) doesn't either (probably due to atexit()). See also https://www.securecoding.cert.org/confluence/display/seccode/SIG30-C.+Call+only+asynchronous-safe+functions+within+signal+handlers - FChE From alexandra.sawyer1@gmail.com Wed Oct 17 13:39:56 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9HIduPT092703 for ; Wed, 17 Oct 2012 13:39:56 -0500 X-ASG-Debug-ID: 1350499293-04bdf064d329d910001-S8gJnT Received: from node-sl2734.smtp.com (node-sl2734.smtp.com [173.192.74.66]) by cuda.sgi.com with ESMTP id EynvdxQZ515sYLly for ; Wed, 17 Oct 2012 11:41:33 -0700 (PDT) X-Barracuda-Envelope-From: alexandra.sawyer1@gmail.com X-Barracuda-Apparent-Source-IP: 173.192.74.66 X-MSFBL: cGNwQG9zcy5zZ2kuY29tQDE3M18xOTJfNzRfNjZAc210cGNvbV8yQA== DKIM-Signature: v=1; a=rsa-sha256; d=smtp.com; s=smtpcomcustomers; c=relaxed/simple; q=dns/txt; i=@smtp.com; t=1350499293; h=From:Subject:To:Date:Mime-Version:Content-type; bh=he1sGle+xQNwfqmJNH3U34L0/Ju7nbHeN/wVAgtPVvo=; b=AuWx10MpLL1aCI1fvxccxRBWUbuFZcZAJTHKV+aw3b0w/NbkirpMsUe3asIOKZXR ZKVhr2/DQ/nq+pGLH2PwqxSdxFGerhpqKtS+Hxapf5OjfEl7cvSrM8Sh36T5jGlq GKHpJ2aXEZfNE8TQgpBLuT400ytVqA1wKNXIGgInf0A=; Received: from [23.21.230.67] ([23.21.230.67:41751] helo=ezmailhosting.com) by sl-mta03 (envelope-from ) (ecelerity 3.3.2.44647 r(44647)) with ESMTPA id DC/61-23256-DDBFE705; Wed, 17 Oct 2012 18:41:33 +0000 Received: from ezmailhosting.com (localhost [127.0.0.1]) by ezmailhosting.com (Postfix) with ESMTP id 3F94124954 for ; Wed, 17 Oct 2012 18:32:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=ezmailhosting.com; h= message-id:mime-version:from:to:subject:date:content-type :content-transfer-encoding; s=postfix; bh=nw/rv9GvNSEviFQjGm8l2S vm7oo=; b=r7Y+jTmoHI09TWdMJ0dVI5ZRfDLzBU/ha9GDNhvmm+rV0pQ5fOf9ND WN1imfb14npVuZW77etmcuDBVB7V3KqdH8e/b7//nh//gkwki/qCqnL/E/2ejrAa 7f0buvLyTdopE9UDDrblNSk92OQOCMUUiXN7cDMQcz4WsCvIkO4bI= Message-Id: <5H673O8E-6I73-LODD-6BXU-T6GAVNKYPHVB@gmail.com> Mime-Version: 1.0 From: Alexandra Sawyer To: "Administrator" Subject: A Broken Link on Your Site About Drawing and Design Programs - Follow-up Date: Wed, 17 Oct 2012 11:41:32 -0700 X-ASG-Orig-Subj: A Broken Link on Your Site About Drawing and Design Programs - Follow-up X-Bounce-Tracking-Info: Content-type: text/plain; charset=iso-8859-1; format=flowed Content-transfer-encoding: quoted-printable X-SMTPCOM-Tracking-Number: cc30ed5a-1fcc-41c2-b5b7-691079a3ea87 X-SMTPCOM-Sender-ID: 445997 X-SMTPCOM-Spam-Policy: SMTP.com is a paid relay service. We do not tolerate UCE of any kind. Please report it ASAP to abuse@smtp.com X-Barracuda-Connect: node-sl2734.smtp.com[173.192.74.66] X-Barracuda-Start-Time: 1350499293 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.20 X-Barracuda-Spam-Status: No, SCORE=0.20 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_SA074b, DKIM_SIGNED, DKIM_VERIFIED X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.111618 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- -0.00 DKIM_VERIFIED Domain Keys Identified Mail: signature passes verification 0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature 0.20 BSF_SC0_SA074b Custom Rule SA074b Hi Administrator, I wanted to follow up with you and make sure you had received my email I se= nt a little bit ago regarding the broken link on your site oss=2Esgi= =2Ecom/LDP/HOWTO/HP-HOWTO/concepts=2Ehtml which links to http://www=2Ewizar= ds=2Edupont=2Ecom/cristy/ImageMagick=2Ehtml=2E If you are still updating your website, I have a similar resource that you = can replace the broken link with if you are interested=2E Let me know! Link Replacement: http://www=2Eonlinebachelordegreeprograms=2Ecom/resources= /bachelor-of-fine-arts-in-graphic-design-drawing-and-design-programs/ Best regards, Alexandra Sawyer From nscott@redhat.com Thu Oct 18 18:55:02 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,J_CHICKENPOX_73 autolearn=no version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9INt1V8221539 for ; Thu, 18 Oct 2012 18:55:01 -0500 X-ASG-Debug-ID: 1350604599-04bdf02b2f56d20001-S8gJnT Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id qqbxy6SNzAIp0zIZ for ; Thu, 18 Oct 2012 16:56:39 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.24 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9INudH9028962; Thu, 18 Oct 2012 19:56:39 -0400 Date: Thu, 18 Oct 2012 19:56:39 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Cc: Tomas Dohnalek Message-ID: <693047593.14320350.1350604599261.JavaMail.root@redhat.com> Subject: pcp updates: python-related tweaks MIME-Version: 1.0 X-ASG-Orig-Subj: pcp updates: python-related tweaks Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.190] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24] X-Barracuda-Start-Time: 1350604599 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.111734 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp.git dev CHANGELOG | 4 ++++ VERSION.pcp | 2 +- build/rpm/devtoolset.spec | 8 +++++++- build/rpm/fedora.spec | 6 +++++- build/rpm/pcp.spec.in | 6 +++++- debian/changelog | 4 ++-- qa/src/test_pcp.python | 1 - qa/src/test_pmi.python | 3 --- 8 files changed, 24 insertions(+), 10 deletions(-) commit 372f1f32a4c97741252cccb2454e719f8b24e3d9 Author: Nathan Scott Date: Fri Oct 19 10:53:42 2012 +1100 Bump dev version number for a future point release commit 21fb3607b2ea76c54e3986b948361cb8bd6e7487 Author: Frank Ch. Eigler Date: Fri Oct 19 10:50:09 2012 +1100 Add missing python-ctypes Require clause to spec files commit ac8489b674686c6ba120becf3cd2718c3c949893 Author: Tomas Dohnalek Date: Fri Oct 19 10:38:45 2012 +1100 Remove unused (python version dependent) exports from test scripts From nscott@redhat.com Fri Oct 19 01:36:23 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9J6aNFI239970 for ; Fri, 19 Oct 2012 01:36:23 -0500 X-ASG-Debug-ID: 1350628681-04bdf02b2e62910001-S8gJnT Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id BLRFNXe1W3MzJGG9 for ; Thu, 18 Oct 2012 23:38:01 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.25 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9J6c1po032315 for ; Fri, 19 Oct 2012 02:38:01 -0400 Date: Fri, 19 Oct 2012 02:38:01 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Message-ID: <2145351224.14415263.1350628681150.JavaMail.root@redhat.com> In-Reply-To: <1532572195.14413990.1350628261986.JavaMail.root@redhat.com> Subject: pcp-gui updates: pmchart fixes, extenda-bah feature MIME-Version: 1.0 X-ASG-Orig-Subj: pcp-gui updates: pmchart fixes, extenda-bah feature Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.190] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25] X-Barracuda-Start-Time: 1350628681 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.111758 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp-gui.git dev build/rpm/fedora.spec | 2 - build/rpm/pcp-gui.spec.in | 2 - debian/changelog | 2 - doc/CHANGES | 4 +- src/chart/chart.cpp | 81 ++++++++++++++++++++++++++++++++++----------- src/chart/chart.h | 44 ++++++++++++++++++++---- src/chart/chartdialog.cpp | 4 +- src/chart/chartdialog.h | 2 - src/chart/gadget.cpp | 4 +- src/chart/gadget.h | 9 +++-- src/chart/groupcontrol.cpp | 58 +++++++++++++++++++++++++++----- src/chart/groupcontrol.h | 7 +++ src/chart/qcolorpicker.cpp | 12 +++--- src/chart/qcolorpicker.h | 8 ++-- src/chart/sampling.cpp | 10 ++--- src/chart/sampling.h | 2 - src/chart/tracing.cpp | 13 ++++++- src/chart/tracing.h | 2 - 18 files changed, 200 insertions(+), 66 deletions(-) commit fdfc413ff6e7331caba84878a5223642a82f04d5 Author: Nathan Scott Date: Fri Oct 19 17:35:45 2012 +1100 Update release notes for planned upcoming release commit da73c1a788ffff8b6df18d79d83f8a829c1ded5b Author: Nathan Scott Date: Fri Oct 19 17:20:47 2012 +1100 Ensure trace point selection only attempted on valid points commit 00ba55ae99fadba6460b3976df726fd867c55c7f Author: Nathan Scott Date: Fri Oct 19 17:17:23 2012 +1100 Handle missing metric values for non-explicit inst sampling case commit 5adafdb9c50cedf71155b57247e8cdd39657c937 Author: Nathan Scott Date: Fri Oct 19 15:38:27 2012 +1100 Implement the chart selection mega-extenda-bar On selection in one chart, pmchart now reflects that selection along the time axis (X) into all of the other charts. Implemented by simulation of mouse events in those other charts, in a cunning way that engages the picker state machine but does not perform a real actual selection in the other charts. commit d1377dd1f4ec15d206b9c0ba185793351f225809 Author: Nathan Scott Date: Fri Oct 19 13:15:04 2012 +1100 Implement the change-sample/visible-size for tracing too commit 9da98753ef13ab7a1c1348bd95c79ddbcd0ab411 Author: Nathan Scott Date: Tue Oct 16 09:29:48 2012 +1100 Add a mechanism for selection feedback into other charts This provides the mechanism for signalling a selection from a chart back to the groupcontrol of which it is part. Next step will be to push that selection down to the other chart objects. Cleanup some Qt4 slot/signal definitions (macro use) while there, as is done in Qwt. From nscott@redhat.com Fri Oct 19 17:51:34 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9JMpYOS065755 for ; Fri, 19 Oct 2012 17:51:34 -0500 X-ASG-Debug-ID: 1350687192-04cb6c48de8efd0001-S8gJnT Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id RgzRzv9QvoCmo7y4 for ; Fri, 19 Oct 2012 15:53:12 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.24 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9JMrCJn009136 for ; Fri, 19 Oct 2012 18:53:12 -0400 Date: Fri, 19 Oct 2012 18:53:12 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1997680624.15065870.1350687192349.JavaMail.root@redhat.com> Subject: pcp updates: qa and pmcollectl MIME-Version: 1.0 X-ASG-Orig-Subj: pcp updates: qa and pmcollectl Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.190] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24] X-Barracuda-Start-Time: 1350687192 X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.111823 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp.git dev build/rpm/devtoolset.spec | 6 +-- qa/062 | 2 - src/pmcollectl/pmcollectl.py | 76 ++++++++++++++++--------------------------- 3 files changed, 34 insertions(+), 50 deletions(-) commit 49d3c77aef7cf8583cb9c5fd0fcb7c39150d7534 Author: Nathan Scott Date: Sat Oct 20 09:51:36 2012 +1100 Update changelog in dts spec file about bug numbers fixed so far commit c0a2e403453630741a59ef375d17c91cfdbd82ad Merge: e23459a 515b7bc Author: Nathan Scott Date: Sat Oct 20 09:08:19 2012 +1100 Merge branch 'scox/dev' of git://sourceware.org/git/pcpfans into dev commit e23459a43a5f54cedefa23b4cb904b18ff641993 Author: Nathan Scott Date: Sat Oct 20 09:03:01 2012 +1100 Fix the handling of 64 bit big-endian machines in qa/062 commit 515b7bc5cf0c26bb834318297656ba683904f8d5 Author: Stan Cox Date: Fri Oct 19 16:44:05 2012 -0400 Don't use "if not" construct. Load interrupt names. * pmcollectl.py (get_atom_value): Use if/then/else instead of "if not" (interrupt): Use pcp to init the interrupt_metrics. Display the int name. From chandana@desilva.id.au Sun Oct 21 02:50:17 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9L7oHBk178536 for ; Sun, 21 Oct 2012 02:50:17 -0500 X-ASG-Debug-ID: 1350805917-04cb6c666d10760001-S8gJnT Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) by cuda.sgi.com with ESMTP id kJJPvXIihQimkyKz (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Sun, 21 Oct 2012 00:51:57 -0700 (PDT) X-Barracuda-Envelope-From: chandana@desilva.id.au X-Barracuda-Apparent-Source-IP: 204.13.248.66 Received: from d210-49-165-139.sun801.vic.optusnet.com.au ([210.49.165.139] helo=mail.desilva.id.au) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.72) (envelope-from ) id 1TPqKD-000PbE-4R for pcp@oss.sgi.com; Sun, 21 Oct 2012 07:51:57 +0000 Received: from [192.168.1.57] (unknown [192.168.1.57]) by mail.desilva.id.au (Postfix) with ESMTPSA id 348EE6EDC for ; Sun, 21 Oct 2012 18:48:18 +1100 (EST) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 210.49.165.139 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19fXQ7QjcJAo7PWovavPB4BhXLIfmVg5nE= Message-ID: <5083A99A.40101@desilva.id.au> Date: Sun, 21 Oct 2012 18:51:54 +1100 From: Chandana De Silva Reply-To: chandana@desilva.id.au User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: pcp@oss.sgi.com Subject: MySQL PMDA question Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-ASG-Orig-Subj: MySQL PMDA question Content-Transfer-Encoding: 7bit X-Barracuda-Connect: mho-03-ewr.mailhop.org[204.13.248.66] X-Barracuda-Start-Time: 1350805917 X-Barracuda-Encrypted: AES256-SHA X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.50 X-Barracuda-Spam-Status: No, SCORE=0.50 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC1_TG070 X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.111952 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_SC1_TG070 Custom Rule TG070 All, I am trying to monitor a MySQL slave using PCP. I have installed the MySQL PMDA, and can see some values using pminfo -f mysql The mysql.status.com_show_slave_statusseems to be a counter of some sort; mysql.status.com_show_slave_status Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff Semantics: counter Units: count What I am interested in seeing is this information below some form, as I need to specifically monitor the 'seconds behind master' value from pmie. Can someone help, please ? Thanks Chandana mysql> show slave status \G *************************** 1. row *************************** Slave_IO_State: Waiting for master to send event Master_Host: 192.168.7.172 Master_User: replicate Master_Port: 3306 Connect_Retry: 60 Master_Log_File: mysql-sol-bin.000001 Read_Master_Log_Pos: 3445937 Relay_Log_File: mysqld-relay-bin.000002 Relay_Log_Pos: 2755529 Relay_Master_Log_File: mysql-sol-bin.000001 Slave_IO_Running: Yes Slave_SQL_Running: Yes Replicate_Do_DB: Replicate_Ignore_DB: Replicate_Do_Table: Replicate_Ignore_Table: Replicate_Wild_Do_Table: Replicate_Wild_Ignore_Table: Last_Errno: 0 Last_Error: Skip_Counter: 0 Exec_Master_Log_Pos: 3445937 Relay_Log_Space: 2755529 Until_Condition: None Until_Log_File: Until_Log_Pos: 0 Master_SSL_Allowed: No Master_SSL_CA_File: Master_SSL_CA_Path: Master_SSL_Cert: Master_SSL_Cipher: Master_SSL_Key: Seconds_Behind_Master: 0 1 row in set (0.00 sec) From nscott@redhat.com Sun Oct 21 04:11:49 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9L9Bnoe188466 for ; Sun, 21 Oct 2012 04:11:49 -0500 X-ASG-Debug-ID: 1350810809-04cbb0427312870001-S8gJnT Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id XohelrAXr7KTGm8i for ; Sun, 21 Oct 2012 02:13:29 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.24 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9L9DS6H023484; Sun, 21 Oct 2012 05:13:28 -0400 Date: Sun, 21 Oct 2012 05:13:28 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: chandana@desilva.id.au Cc: pcp@oss.sgi.com Message-ID: <1595386913.15172783.1350810808517.JavaMail.root@redhat.com> In-Reply-To: <5083A99A.40101@desilva.id.au> Subject: Re: [pcp] MySQL PMDA question MIME-Version: 1.0 X-ASG-Orig-Subj: Re: [pcp] MySQL PMDA question Content-Type: multipart/mixed; boundary="----=_Part_15172781_1727885427.1350810808513" X-Originating-IP: [10.64.49.251] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24] X-Barracuda-Start-Time: 1350810809 X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, INFO_TLD X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.111955 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header 0.00 INFO_TLD URI: Contains an URL in the INFO top-level domain ------=_Part_15172781_1727885427.1350810808513 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi Chandana, ----- Original Message ----- > All, > > I am trying to monitor a MySQL slave using PCP. I have installed the > MySQL PMDA, and can see some values using pminfo -f mysql Ah, good stuff, that's half the battle with the database PMDAs. > The mysql.status.com_show_slave_statusseems to be a counter of some > sort; > mysql.status.com_show_slave_status > Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff > Semantics: counter Units: count That'd be a row from "show status". It might be the number of times "show slave status" has been called? Not sure - if you find out, lemme know, we could add in some metric help text. > What I am interested in seeing is this information below some form, > as I > need to specifically monitor the 'seconds behind master' value from > pmie. Can someone help, please ? > > mysql> show slave status \G I don't have a setup to test this, but I can take you through what is needed. Its fairly straightfwd, I've attached a little patch to show the approach, described below (top to bottom in the patch). Firstly, we'll need to extend mysql_connection_setup() to setup a cursor for reading the results from "show slave status" as this is a new SQL command to the PMDA. Then we'll need a mysql_slave_status_refresh() routine to harvest the results from the new query. Then we extend mysql_refresh() to associate the next free cluster of metrics (3) with our new value harvester. This is called once per pmFetch(3); in this case, it'll be the pmie sampling interval that defines the rate. Then we add a clause in the mysql_fetch_callback() to marshal the data from the last SQL query (which we stuck in %slave_status), into a form that can then be packed into the PDU sent back to the client (pmie). This can be called multiple times per pmFetch, if we are querying multiple metric values at once (hence, we don't want to do the SQL query here). Finally, we define the new metric - note it is in cluster 3. The name is important too, it must match the name stored earlier into the %slave_status hash as mysql_fetch_callback uses that as the hash key. So ... that should be pretty close to working, may have missed a thing or two - lemme know how it goes. Once that metric exists, the pmie rule should pretty much write itself; something like... bad_slave = (mysql.slave_status.seconds_behind_master > 5) -> system 10minutes "mail -s 'The slaves are revolting, %v sec lag' ; Sun, 21 Oct 2012 05:18:32 -0500 X-ASG-Debug-ID: 1350814811-04bdf0673715d10001-S8gJnT Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) by cuda.sgi.com with ESMTP id lq41DYPHwdkToNeR (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Sun, 21 Oct 2012 03:20:12 -0700 (PDT) X-Barracuda-Envelope-From: chandana@desilva.id.au X-Barracuda-Apparent-Source-IP: 204.13.248.66 Received: from d210-49-165-139.sun801.vic.optusnet.com.au ([210.49.165.139] helo=mail.desilva.id.au) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.72) (envelope-from ) id 1TPsdf-0002iy-DE; Sun, 21 Oct 2012 10:20:11 +0000 Received: from [192.168.1.57] (unknown [192.168.1.57]) by mail.desilva.id.au (Postfix) with ESMTPSA id 6076C6DA3; Sun, 21 Oct 2012 21:16:32 +1100 (EST) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 210.49.165.139 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18+vkavnVXTrIn1ecJlK6StO73FtG6QCDQ= Message-ID: <5083CC58.8070407@desilva.id.au> Date: Sun, 21 Oct 2012 21:20:08 +1100 From: Chandana De Silva Reply-To: chandana@desilva.id.au User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: Nathan Scott CC: pcp@oss.sgi.com Subject: Re: [pcp] MySQL PMDA question References: <1595386913.15172783.1350810808517.JavaMail.root@redhat.com> X-ASG-Orig-Subj: Re: [pcp] MySQL PMDA question In-Reply-To: <1595386913.15172783.1350810808517.JavaMail.root@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Barracuda-Connect: mho-03-ewr.mailhop.org[204.13.248.66] X-Barracuda-Start-Time: 1350814812 X-Barracuda-Encrypted: AES256-SHA X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.111961 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Nathan, Many thanks. I will get this working. Incidentally, if you are interested, I am building a puppet manifest to install pcp and pmda's. I will send it over when it is done. Regards Chandana On 21/10/12 20:13, Nathan Scott wrote: From nscott@redhat.com Sun Oct 21 22:58:30 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9M3wTB4028531 for ; Sun, 21 Oct 2012 22:58:29 -0500 X-ASG-Debug-ID: 1350878410-04bdf0673639e60001-S8gJnT Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id 7EZ79jiY3GtFtfX0 for ; Sun, 21 Oct 2012 21:00:10 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.24 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9M40A7A031020 for ; Mon, 22 Oct 2012 00:00:10 -0400 Date: Mon, 22 Oct 2012 00:00:10 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Message-ID: <620340187.15294644.1350878410071.JavaMail.root@redhat.com> Subject: pcp-gui updates: pmchart trace selections and spans MIME-Version: 1.0 X-ASG-Orig-Subj: pcp-gui updates: pmchart trace selections and spans Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.251] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24] X-Barracuda-Start-Time: 1350878410 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.112030 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp-gui.git dev qa/common.filter | 1 src/chart/chart.cpp | 4 + src/chart/pmchart.cpp | 2 src/chart/tracing.cpp | 127 ++++++++++++++++++++++++++++------------------ src/chart/tracing.h | 9 ++- src/libqmc/qmc_metric.cpp | 13 +++- src/libqmc/qmc_metric.h | 2 src/libqmc/qmc_source.cpp | 7 +- 8 files changed, 106 insertions(+), 59 deletions(-) commit 12fdb9f12c935f0b9b954cfb191e859c775f9dbf Author: Nathan Scott Date: Mon Oct 22 14:57:07 2012 +1100 Make the info displayed on event trace selection match the selections commit e8248f39574ecff47575b07965b38d5d3b03f29e Author: Nathan Scott Date: Mon Oct 22 14:56:08 2012 +1100 Remove a no-longer-needed cpp conditional on ancient qt version commit b115ab510b8c5f0ed35d26626e33a45b21e14c68 Author: Nathan Scott Date: Mon Oct 22 12:51:52 2012 +1100 Improvements to the display of trace spans (begin/end pairs) Bug fix preventing the span termination from working correctly, so simple trace spans are now correct, provided the event data is decoded correctly (currently, sometimes it is & other times it is not). Fix the min/max bounds so that the QwtPlot class does the right thing when rendering (resolves issue around use of DBL_MAX where span direction would be rendered incorrectly). commit ab86761e7e5908f58455707af77f9a00b83ad92a Author: Nathan Scott Date: Mon Oct 22 12:51:00 2012 +1100 Add filter to handle chkconfig pmlogger off in qa commit 0fd13c3d153f985ca0825a04397a61d7624706dc Author: Nathan Scott Date: Sun Oct 21 12:38:06 2012 +1100 Improve handling of dynamic instances Makes libqmc handle the situation where a metric has instances that arrive after metric initialisation - previously there was no logic to resize the value vector in this case, and it was silently ignored. commit 78c53be1b9116182793a07ed413fde27a1243553 Author: Nathan Scott Date: Sun Oct 21 12:35:41 2012 +1100 Remove unguarded use of diagnostic, debug leftover commit 8c097a469f84d42ab2cec85725861f8530d532db Author: Nathan Scott Date: Sat Oct 20 16:36:09 2012 +1100 Work towards getting the auto-scaling of the event trace y-axis commit 9d6b7f621a31c541f0732cc244576b0d8bb0e3d1 Author: Nathan Scott Date: Fri Oct 19 17:53:24 2012 +1100 Avoid spurious flashing updates to the status bar From nscott@redhat.com Mon Oct 22 00:52:02 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9M5q1Od049086 for ; Mon, 22 Oct 2012 00:52:02 -0500 X-ASG-Debug-ID: 1350885223-04cb6c666c39590001-S8gJnT Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id YmeQADCwf0GDEq9a for ; Sun, 21 Oct 2012 22:53:43 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.25 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9M5rfqP005376; Mon, 22 Oct 2012 01:53:41 -0400 Date: Mon, 22 Oct 2012 01:53:41 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: chandana@desilva.id.au Cc: pcp@oss.sgi.com Message-ID: <161602181.15309899.1350885221821.JavaMail.root@redhat.com> In-Reply-To: <5083CC58.8070407@desilva.id.au> Subject: Re: [pcp] MySQL PMDA question MIME-Version: 1.0 X-ASG-Orig-Subj: Re: [pcp] MySQL PMDA question Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.251] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25] X-Barracuda-Start-Time: 1350885223 X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.112038 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header ----- Original Message ----- > Nathan, > Many thanks. > > I will get this working. OK. Grab me on IRC (#pcp on freenode.net) if you need more interactive help. > Incidentally, if you are interested, Yep. > I am building a puppet manifest to > install pcp and pmda's. I will send it over when it is done. > Thanks! cheers. -- Nathan From kenj@internode.on.net Mon Oct 22 15:18:49 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9MKInYT136939 for ; Mon, 22 Oct 2012 15:18:49 -0500 X-ASG-Debug-ID: 1350937230-04cb6c666b58f30001-S8gJnT Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by cuda.sgi.com with ESMTP id q3OTePLFWhfPND1N for ; Mon, 22 Oct 2012 13:20:31 -0700 (PDT) X-Barracuda-Envelope-From: kenj@internode.on.net X-Barracuda-Apparent-Source-IP: 150.101.137.145 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoInADyqhVABm3saPGdsb2JhbAANOIYUhDq2dgEBAQE4gn5+DQImAkWwcW6CO5A1gSCOC4IRgRIDm3eNNg Received: from unknown (HELO [10.230.55.219]) ([1.155.123.26]) by ipmail06.adl6.internode.on.net with ESMTP; 23 Oct 2012 06:50:29 +1030 Message-ID: <1350937231.21261.2.camel@bozo-laptop.localdomain> Subject: PCP build badness in the QA directory From: Ken McDonell X-ASG-Orig-Subj: PCP build badness in the QA directory To: pcp@oss.sgi.com Date: Tue, 23 Oct 2012 07:20:31 +1100 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Barracuda-Connect: ipmail06.adl6.internode.on.net[150.101.137.145] X-Barracuda-Start-Time: 1350937230 X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.112094 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Anyone else seeing this sort of badness with a stock PCP build? == src-link, log is in /home/kenj/src/pcp/Logs/pcp cp 041 041.out cp 055 055.out cp 063 063.out cp 116 116.out cp 118 118.out cp 184 184.out cp 360 360.out cp 371 371.out cp 372 372.out cp 383 383.out cp 416 416.out cp 446 446.out cp 572 572.out cp 581 581.out cp 622 622.out cp 635 635.out cp 645 645.out test: 1: -ge: unexpected operator dpkg-source --before-build pcp-3.6.10 The cp commands are all wrong, and I have no idea where the bad test is coming from. From nscott@redhat.com Mon Oct 22 17:32:09 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9MMW8WW161330 for ; Mon, 22 Oct 2012 17:32:08 -0500 X-ASG-Debug-ID: 1350945230-04bdf0511300a50001-S8gJnT Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id cDRBsT3eWWW4jAxz for ; Mon, 22 Oct 2012 15:33:50 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.24 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9MMXl7Z004688; Mon, 22 Oct 2012 18:33:47 -0400 Date: Mon, 22 Oct 2012 18:33:47 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: Ken McDonell Cc: pcp@oss.sgi.com Message-ID: <1676360427.15900940.1350945227630.JavaMail.root@redhat.com> In-Reply-To: <1350937231.21261.2.camel@bozo-laptop.localdomain> Subject: Re: [pcp] PCP build badness in the QA directory MIME-Version: 1.0 X-ASG-Orig-Subj: Re: [pcp] PCP build badness in the QA directory Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.201] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24] X-Barracuda-Start-Time: 1350945230 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.112103 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Hi Ken, ----- Original Message ----- > Anyone else seeing this sort of badness with a stock PCP build? > > == src-link, log is in /home/kenj/src/pcp/Logs/pcp > cp 041 041.out > cp 055 055.out > cp 063 063.out > cp 116 116.out > cp 118 118.out > cp 184 184.out > cp 360 360.out > cp 371 371.out > cp 372 372.out > cp 383 383.out > cp 416 416.out > cp 446 446.out > cp 572 572.out > cp 581 581.out > cp 622 622.out > cp 635 635.out > cp 645 645.out > test: 1: -ge: unexpected operator > dpkg-source --before-build pcp-3.6.10 > > The cp commands are all wrong, and I have no idea where the bad test > is coming from. > Yes, I've seen this a couple of times too - I don't have a handle on the root cause yet though (on either issue). Extremely wierd in that its intermittent - only fails once in a blue moon for me. Still scratching my head on this one ... *any* insight would be most welcome! cheers. -- Nathan From nscott@redhat.com Tue Oct 23 17:15:08 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9NMF78o112044 for ; Tue, 23 Oct 2012 17:15:08 -0500 X-ASG-Debug-ID: 1351030610-04bdf051114d350001-S8gJnT Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id r3RhulT465J9pcMn for ; Tue, 23 Oct 2012 15:16:50 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.24 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9NMGoBM005179 for ; Tue, 23 Oct 2012 18:16:50 -0400 Date: Tue, 23 Oct 2012 18:16:50 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1287756107.16480971.1351030610656.JavaMail.root@redhat.com> Subject: pcp updates: qa testing MIME-Version: 1.0 X-ASG-Orig-Subj: pcp updates: qa testing Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.197] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24] X-Barracuda-Start-Time: 1351030610 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.112194 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp.git dev qa/126 | 2 +- qa/147 | 16 ++++------------ src/pmdas/linux/interrupts.c | 5 ++++- 3 files changed, 9 insertions(+), 14 deletions(-) commit 50a9f4e05c27ed11712fcb89fc1460c294df7261 Author: Tomas Dohnalek Date: Wed Oct 24 09:12:01 2012 +1100 Resolve quote abuse in test 147 diagnostics commit f5bb1f47e0a2edb60232ac6663e187c5b44e98b7 Author: Tomas Dohnalek Date: Wed Oct 24 09:08:34 2012 +1100 Improve test case 126 detection of RHEL5 boxen commit d153053cd373ab2ba98ffa1a3188964543e01d2f Author: Nathan Scott Date: Tue Oct 23 11:24:49 2012 +1100 Add a couple of edge cases in capturing interrupt error counts. From auditing current kernel code, noticed that the interrupt error count in /proc/interrupts is architecture-specific, and not all architectures display it the same way (most do, but ARM and a couple others differ subtley). This deals with the differences found. From nscott@redhat.com Tue Oct 23 22:06:55 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9O36t4X150630 for ; Tue, 23 Oct 2012 22:06:55 -0500 X-ASG-Debug-ID: 1351048117-04cbb0231056050001-S8gJnT Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id HEOmcR3aDoE2rOYY for ; Tue, 23 Oct 2012 20:08:37 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.25 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9O38bVE029731; Tue, 23 Oct 2012 23:08:37 -0400 Date: Tue, 23 Oct 2012 23:08:37 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Cc: Stan Cox Message-ID: <1210421182.16530814.1351048117002.JavaMail.root@redhat.com> Subject: pcp updates: python MIME-Version: 1.0 X-ASG-Orig-Subj: pcp updates: python Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.197] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25] X-Barracuda-Start-Time: 1351048117 X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.112214 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp.git dev qa/src/test_pcp.python | 28 +++++++++++++++++----------- src/pmcollectl/pmcollectl.py | 42 ++++++++++++++++++++++++++---------------- src/python/pcp.py | 40 ++++++++++++++++++++++++---------------- src/python/pmapi.c | 7 +++++-- 4 files changed, 72 insertions(+), 45 deletions(-) commit 46b5d8452f1ec4d5c545db65967b9dc63d61105a Author: Nathan Scott Date: Wed Oct 24 14:07:27 2012 +1100 Fix the python API wrappers for reentrant libpcp string routines The python wrappers for pmErrStr, pmIDStr, pmiErrStr, pmUnitsStr, pmInDomStr, pmTypeStr, and pmAtomStr were not correct - they were using the reentrant C interfaces but not passing in a buffer (nor a size). Imploded on ppc64. Adds in missing python dictionary symbols for maximum err string lengths, and uses these for the two error interfaces. commit 24f54c2e26e67e130eb0629bb9381fab49df333f Author: Nathan Scott Date: Wed Oct 24 13:20:12 2012 +1100 Python all() and any() test helpers not present on RHEL5 commit 8e2db09843acfbed6fe85234ee3d6b63ff2a96f8 Author: Nathan Scott Date: Wed Oct 24 13:17:18 2012 +1100 Python code backporting for RHEL5 in qa and pmcollectl From nscott@redhat.com Tue Oct 23 22:53:54 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9O3rreL156425 for ; Tue, 23 Oct 2012 22:53:54 -0500 X-ASG-Debug-ID: 1351050934-04bdf051115e400001-S8gJnT Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id C829cd9amhLBjHMX for ; Tue, 23 Oct 2012 20:55:34 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.25 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9O3tXfr001482 for ; Tue, 23 Oct 2012 23:55:33 -0400 Date: Tue, 23 Oct 2012 23:55:33 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1299449388.16534996.1351050933948.JavaMail.root@redhat.com> Subject: pcp updates: packaging MIME-Version: 1.0 X-ASG-Orig-Subj: pcp updates: packaging Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.49.197] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25] X-Barracuda-Start-Time: 1351050934 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.112218 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp.git dev Makepkgs | 4 configure |12699 ++++++++++++++++++++++++++++++++++++++++++++++------------- configure.in | 4 3 files changed, 9946 insertions(+), 2761 deletions(-) commit b9c267418444d09eb911b1fb69c7d454c737d893 Author: Nathan Scott Date: Wed Oct 24 14:54:43 2012 +1100 Translate cpu type powerpc[64] to ppc[64] for subsequent package builds commit 87068e62ba4169212a460469ae0dbf9091dc03d9 Author: Nathan Scott Date: Wed Oct 24 14:53:37 2012 +1100 Ensure the init scripts end up somewhere sensible by default From kenj@internode.on.net Wed Oct 24 05:07:21 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9OA7LB5221195 for ; Wed, 24 Oct 2012 05:07:21 -0500 X-ASG-Debug-ID: 1351073343-04bdf0483528170001-S8gJnT Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [150.101.137.129]) by cuda.sgi.com with ESMTP id 1EEXhorNo7KEvIsa for ; Wed, 24 Oct 2012 03:09:04 -0700 (PDT) X-Barracuda-Envelope-From: kenj@internode.on.net X-Barracuda-Apparent-Source-IP: 150.101.137.129 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApIBAJ69h1B20Yh6/2dsb2JhbAANN4YUvziBBQYCJgJyr1Rukl2BIIpACYM/ghGBEgOpL4FG Received: from ppp118-209-136-122.lns20.mel6.internode.on.net (HELO [192.168.1.101]) ([118.209.136.122]) by ipmail06.adl2.internode.on.net with ESMTP; 24 Oct 2012 20:39:02 +1030 Message-ID: <1351073340.1519.0.camel@bozo-laptop.localdomain> Subject: pcp updates - fix some build annoyances From: Ken McDonell X-ASG-Orig-Subj: pcp updates - fix some build annoyances To: pcp@oss.sgi.com Date: Wed, 24 Oct 2012 21:09:00 +1100 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Barracuda-Connect: ipmail06.adl2.internode.on.net[150.101.137.129] X-Barracuda-Start-Time: 1351073343 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.112242 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/kenj/pcp.git dev qa/GNUmakefile | 4 ++++ qa/src/GNUlocaldefs | 10 ++++++++++ qa/src/GNUmakefile | 1 - src/include/pcp/fault.h | 9 +++++++++ 4 files changed, 23 insertions(+), 1 deletion(-) commit ebd198edd2917b58acb3f5ade0f9df62f8b55151 Author: Ken McDonell Date: Wed Oct 24 21:01:08 2012 +1100 qa/src - problem with ../localconfig This commit fixes the "test: 1: -ge: unexpected operator" error in the build. The root cause was a hangover from merging the separate QA tree into the pcp tree ... localconfig is needed by qa/src/GNUmakefile but it is created by qa/GNUmakefile ... works for a build in place, but not the src-link step used by Makepkgs. Fixed with some gmake magic. commit 2a73ab1735a4398cbe888967d3020d22a01bd776 Author: Ken McDonell Date: Wed Oct 24 20:52:03 2012 +1100 qa/GNUmakefile - no implict rules Implicit rules were checking datestamps to see if 123.out needed to be recreated from 123 ... the root cause of the mysterious cp 123 123.out bogus commands in the build, especially after "git pull" when some of the 123 scripts could be "newer" then their 123.out counterparts. commit 4af314c9a832012830f803c867f6886ce9e5567f Author: Ken McDonell Date: Wed Oct 24 20:47:34 2012 +1100 fault.h - add cpp guards For some compilers, some of the routines we're redefining are already really #defined, so #undef them first if needed. From thomas@suse.de Wed Oct 24 08:50:34 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9ODoYUn008824 for ; Wed, 24 Oct 2012 08:50:34 -0500 X-ASG-Debug-ID: 1351086737-04cbb0231172f00001-S8gJnT Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by cuda.sgi.com with ESMTP id VIsTj72PXjQq2bTp (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 24 Oct 2012 06:52:18 -0700 (PDT) X-Barracuda-Envelope-From: thomas@suse.de X-Barracuda-Apparent-Source-IP: 195.135.220.15 Received: from relay1.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id F2829A2111; Wed, 24 Oct 2012 15:52:16 +0200 (CEST) Message-ID: <1351086733.5633.22.camel@spiral.ashpool.org> Subject: Re: [pcp] security issues and design of pmcd From: Thomas Biege X-ASG-Orig-Subj: Re: [pcp] security issues and design of pmcd To: Nathan Scott Cc: pcp@oss.sgi.com Date: Wed, 24 Oct 2012 15:52:13 +0200 In-Reply-To: <713786349.8884829.1349735028028.JavaMail.root@redhat.com> References: <713786349.8884829.1349735028028.JavaMail.root@redhat.com> Organization: SUSE Linux Products GmbH Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-i7xp8jfiH3rAtJPxPmmJ" X-Mailer: Evolution 3.4.4 Mime-Version: 1.0 X-Barracuda-Connect: cantor2.suse.de[195.135.220.15] X-Barracuda-Start-Time: 1351086738 X-Barracuda-Encrypted: AES256-SHA X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.112258 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- --=-i7xp8jfiH3rAtJPxPmmJ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi. I am sorry for the late answer, too much work left on my desk after I returned from a trip. Am Montag, den 08.10.2012, 18:23 -0400 schrieb Nathan Scott:=20 > Hey Thomas, >=20 > ----- Original Message ----- > > Hi. > >=20 > > Who should be able to send the SIGHUP? If it is only root, then you > > can > > use the solution with dropping privileges like you did during normal > > system boot. >=20 > I guess you mean if we used seteuid originally (and not setuid) to set > the user away from root? Such that pmcd can then switch back to root, > temporarily, when SIGHUP arrives and it can (re)start child processes? I was really thinking about dropping the privileges completely with setgid() and setuid(). An init/rc scripts executed by root/init could restart the client processes that needs UID=3D0 and the network process that does not need UID 0. Maybe using fscaps instead of UID=3D0 is another option to reduce the privileges of pcp. >=20 > > Does restart mean "exit and exec" >=20 > Yeah, we can't do that - that'd terminate client connections (more > detail on the issues that causes below). >=20 > > or just resetting the configuration of the running processes? >=20 > Yes, but thats not a "just", it involves starting child processes which > may need to run as e.g. user "postgres". When pmcd runs as root this > is not a problem, but as an unprivileged user it presents challenges of > course. Do fscaps help here? >=20 > > > And without disruption to any of pmcd's existing > > > client connections. Perhaps a setuid helper could do this bit > > > somehow > > > but this is the bit that's not really clear in my head at this > > > stage. > >=20 > > Hm, so if you want to not interrupt the client connections you don't > > want to exit the process I assume, or are you using UDP? >=20 > Correct, and it is TCP-based. In particular, for the PMDAs exporting > event data, which involves per-client state, restarting pmcd (and all > existing PMDAs) is particularly disruptive & so not really an option. > Even for the "regular" PMDAs exporting sampled metrics, having to end > all their connections means they will miss their next value while they > reconnect and re-establish their state (rate converting counters means > client side state held from previous sample, which gets messed up on a > reconnect). Definitely we want to avoid client reconnects which means > SIGHUP handling has to be smarter than just restarting pmnd. Does a SIGHUP occur often, so that the pain is high enough to take care of it? Which part of pcp needs to update the configuration? The network process or the privileged child processes? > > What about two completely separate processes? The unprivileged one > > which > > handles the client connections could buffer client requests during > > the restart (exit/exec) of the privileged process. >=20 > Yeah, possibly, either way the solution is starting to get complex ... > I guess we've circled back to my original point anyway, that its a bit > of a non-trivial problem. :) Yes, looks like it is complex and rewriting it needs special care of the design. Bye Thomas --=20 Thomas Biege, Project Manager Security, CSSLP SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer, HRB 21284 (AG N=C3=BCrnberg) -- Wer aufhoert besser werden zu wollen, hoert auf gut zu sein. -- Marie von Ebner-Eschenbach --=-i7xp8jfiH3rAtJPxPmmJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQEcBAABCAAGBQJQh/KNAAoJEJqHoVJVjr8D8G8IAK59uU2eghjNfDHnFlwtivY2 owJ/Toec9G3EwRY5hWCf1a8ytDqDrfii5gUFdwwfMSvN0kdQh20CpMKA4Ozc/74I UNt63P+PwZvt0/OW/wKEsuqUsP04IqFThI52ygLNHq3sHfVdIQpFUHcO2KDRUAnz PSLYtg+kZ05CIVwiviYxGBWG8gOJvX2L4LGFQedMVUB9yQZ0HKSJ/34g1a6I3HUZ dt3a6A+nfjh3Og0qQF8rwyf3RTbU4/yA90huz5x+wFSQlvp6E/AGjZJGxtCR5cJB /07k7qHh/WmFlkH0L5c++uEUVjToWsvuXy6fR54/adRBBJbysHz1jf7ao8MI2B8= =kECG -----END PGP SIGNATURE----- --=-i7xp8jfiH3rAtJPxPmmJ-- From nscott@redhat.com Wed Oct 24 18:25:48 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9ONPmr4061762 for ; Wed, 24 Oct 2012 18:25:48 -0500 X-ASG-Debug-ID: 1351121251-04cb6c48d09f6a0001-S8gJnT Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id LjOuY2FmFjLEhSmZ for ; Wed, 24 Oct 2012 16:27:31 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.24 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9ONRVOn017612 for ; Wed, 24 Oct 2012 19:27:31 -0400 Date: Wed, 24 Oct 2012 19:27:31 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1118308472.17029134.1351121251271.JavaMail.root@redhat.com> Subject: pcp updates: kenj, scox merges MIME-Version: 1.0 X-ASG-Orig-Subj: pcp updates: kenj, scox merges Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.176.205] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - GC12 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24] X-Barracuda-Start-Time: 1351121251 X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.112296 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp.git dev qa/GNUmakefile | 4 ++++ qa/src/GNUlocaldefs | 10 ++++++++++ qa/src/GNUmakefile | 1 - src/include/pcp/fault.h | 9 +++++++++ src/pmcollectl/pmcollectl.py | 38 ++++++++++++++++++++++++++++---------- 5 files changed, 51 insertions(+), 11 deletions(-) commit f2494f47f2eacd07bcc3e7f7ee9e50fbf831e3c8 Merge: 67d6ced ebd198e Author: Nathan Scott Date: Thu Oct 25 10:24:06 2012 +1100 Merge branch 'dev' of git://oss.sgi.com/kenj/pcp into dev commit 67d6ced14dc7472aebb3a2d0fc612eec0743adcd Author: Stan Cox Date: Wed Oct 24 16:45:49 2012 -0400 Parameterize cpu count use in interrupt subsys. * pmcollectl.py (_interrupt.print): Use len (interrupt_metric_value) for ncpu. (print_brief, print_detail): Likewise. commit ebd198edd2917b58acb3f5ade0f9df62f8b55151 Author: Ken McDonell Date: Wed Oct 24 21:01:08 2012 +1100 qa/src - problem with ../localconfig This commit fixes the "test: 1: -ge: unexpected operator" error in the build. The root cause was a hangover from merging the separate QA tree into the pcp tree ... localconfig is needed by qa/src/GNUmakefile but it is created by qa/GNUmakefile ... works for a build in place, but not the src-link step used by Makepkgs. Fixed with some gmake magic. commit 2a73ab1735a4398cbe888967d3020d22a01bd776 Author: Ken McDonell Date: Wed Oct 24 20:52:03 2012 +1100 qa/GNUmakefile - no implict rules Implicit rules were checking datestamps to see if 123.out needed to be recreated from 123 ... the root cause of the mysterious cp 123 123.out bogus commands in the build, especially after "git pull" when some of the 123 scripts could be "newer" then their 123.out counterparts. commit 4af314c9a832012830f803c867f6886ce9e5567f Author: Ken McDonell Date: Wed Oct 24 20:47:34 2012 +1100 fault.h - add cpp guards For some compilers, some of the routines we're redefining are already really #defined, so #undef them first if needed. From nscott@redhat.com Fri Oct 26 00:51:38 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9Q5pc89206340 for ; Fri, 26 Oct 2012 00:51:38 -0500 X-ASG-Debug-ID: 1351230803-04bdf05111da820001-S8gJnT Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id h77yVhMilXWgixIb for ; Thu, 25 Oct 2012 22:53:23 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.24 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9Q5rNBm007454 for ; Fri, 26 Oct 2012 01:53:23 -0400 Date: Fri, 26 Oct 2012 01:53:23 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1290690597.17577614.1351230803048.JavaMail.root@redhat.com> Subject: pcp-gui updates: prep for release, tracing fixes MIME-Version: 1.0 X-ASG-Orig-Subj: pcp-gui updates: prep for release, tracing fixes Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.50.4] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24] X-Barracuda-Start-Time: 1351230803 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.112416 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp-gui.git dev build/rpm/GNUmakefile | 2 - build/rpm/fedora.spec | 59 ++++++++++++++++++++++------------------------ build/rpm/pcp-gui.spec.in | 7 +++-- debian/changelog | 2 - doc/CHANGES | 2 - qa/GNUmakefile | 4 +++ src/chart/chart.cpp | 5 +++ src/chart/tracing.cpp | 2 - 8 files changed, 46 insertions(+), 37 deletions(-) commit 50885be65fef36161704dc6af056d12b56703d52 Author: Nathan Scott Date: Fri Oct 26 16:51:08 2012 +1100 Merge Kens pcp fix to avoid implicit make rules in QA commit 5da5ff5020490e252a857409eef178e0a381b204 Author: Nathan Scott Date: Fri Oct 26 16:50:23 2012 +1100 Update pcp-gui release/packaging related files commit e7e0ec1e6ba0360ebbdb4f7c488e45888846f180 Author: Nathan Scott Date: Fri Oct 26 11:29:47 2012 +1100 Clean up the simple popup event display - cull extra eol markers commit 5cf3b5f0614a85b6fe20cbc5a66a7dfb3fbc4f36 Author: Nathan Scott Date: Fri Oct 26 11:08:40 2012 +1100 Resolve a performance problem in rendering selections We were iterating over all points in the graph when updating a selection (in the "clear previous selection" phase), instead of just visiting the selected ones and updating those. From chandana@desilva.id.au Fri Oct 26 17:18:10 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9QMI9wU002975 for ; Fri, 26 Oct 2012 17:18:10 -0500 X-ASG-Debug-ID: 1351289978-04bdf04835bdaf0001-S8gJnT Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) by cuda.sgi.com with ESMTP id do9Ut8DWzdbDkQ1K (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Fri, 26 Oct 2012 15:19:38 -0700 (PDT) X-Barracuda-Envelope-From: chandana@desilva.id.au X-Barracuda-Apparent-Source-IP: 204.13.248.66 Received: from d110-33-163-129.sun801.vic.optusnet.com.au ([110.33.163.129] helo=mail.desilva.id.au) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.72) (envelope-from ) id 1TRsFd-0002LH-Bz; Fri, 26 Oct 2012 22:19:37 +0000 Received: from [192.168.1.57] (unknown [192.168.1.57]) by mail.desilva.id.au (Postfix) with ESMTPSA id 0ADA8702C; Sat, 27 Oct 2012 09:16:00 +1100 (EST) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 110.33.163.129 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18vbwEziiMWUO0E76v1CPcpUvMFUfI21q4= Message-ID: <508B0C75.6070405@desilva.id.au> Date: Sat, 27 Oct 2012 09:19:33 +1100 From: Chandana De Silva Reply-To: chandana@desilva.id.au User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: chandana@desilva.id.au CC: Nathan Scott , pcp@oss.sgi.com Subject: Re: [pcp] MySQL PMDA question References: <161602181.15309899.1350885221821.JavaMail.root@redhat.com> <508B05B9.1020906@desilva.id.au> X-ASG-Orig-Subj: Re: [pcp] MySQL PMDA question In-Reply-To: <508B05B9.1020906@desilva.id.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Barracuda-Connect: mho-03-ewr.mailhop.org[204.13.248.66] X-Barracuda-Start-Time: 1351289978 X-Barracuda-Encrypted: AES256-SHA X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 1.00 X-Barracuda-Spam-Status: No, SCORE=1.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO, BSF_SC0_SA_TO_FROM_ADDR_MATCH, BSF_SC1_TG070 X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.112470 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header 0.50 BSF_SC1_TG070 Custom Rule TG070 0.50 BSF_SC0_SA_TO_FROM_ADDR_MATCH Sender Address Matches Recipient Address Sending the changes as a diff, as the sgi mail server refused an attachment. diff /tmp/pmdamysql.pl /var/lib/pcp/pmdas/mysql/pmdamysql.pl 35,36c35,36 < use vars qw( $pmda %status %variables @processes %slave_status ); < use vars qw( $dbh $sth_variables $sth_status $sth_processes $sth_slave_status ); --- > use vars qw( $pmda %status %variables @processes ); > use vars qw( $dbh $sth_variables $sth_status $sth_processes ); 51d50 < $sth_slave_status = $dbh->prepare('show slave status'); 105,118d103 < sub mysql_slave_status_refresh < { < # $pmda->log("mysql_slave_status_refresh\n"); < < %slave_status = (); # clear any previous contents < if (defined($dbh)) { < $sth_slave_status->execute(); < my $result = $sth_slave_status->fetchrow_hashref(); < while ( my ($key, $value) = each(%$result) ) { < $slave_status{lc $key} = $value; < } < } < } < 127d111 < elsif ($cluster == 3) { mysql_slave_status_refresh; } 164,169d147 < elsif ($cluster == 3) { < $mysql_name =~ s/^mysql\.slave_status\.//; < $value = $slave_status{$mysql_name}; < if (!defined($value)) { return (PM_ERR_APPVERSION, 0); } < return ($value, 1); < } 1657,1753d1634 < $pmda->add_metric(pmda_pmid(3,0), PM_TYPE_STRING, PM_INDOM_NULL, < PM_SEM_INSTANT, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.slave_io_state', '', ''); < $pmda->add_metric(pmda_pmid(3,1), PM_TYPE_STRING, PM_INDOM_NULL, < PM_SEM_INSTANT, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.slave_io_running', '', ''); < $pmda->add_metric(pmda_pmid(3,2), PM_TYPE_STRING, PM_INDOM_NULL, < PM_SEM_INSTANT, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.slave_sql_running', '', ''); < $pmda->add_metric(pmda_pmid(3,3), PM_TYPE_U32, PM_INDOM_NULL, < PM_SEM_INSTANT, pmda_units(1,0,0,PM_TIME_SEC,0,0), < 'mysql.slave_status.seconds_behind_master', '', ''); < $pmda->add_metric(pmda_pmid(3,4), PM_TYPE_STRING, PM_INDOM_NULL, < PM_SEM_INSTANT, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.master_log_file', '', ''); < $pmda->add_metric(pmda_pmid(3,5), PM_TYPE_U32, PM_INDOM_NULL, < PM_SEM_INSTANT, pmda_units(0,0,1,0,0,PM_COUNT_ONE), < 'mysql.slave_status.read_master_log_pos', '', ''); < $pmda->add_metric(pmda_pmid(3,6), PM_TYPE_STRING, PM_INDOM_NULL, < PM_SEM_INSTANT, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.relay_master_log_file', '', ''); < $pmda->add_metric(pmda_pmid(3,7), PM_TYPE_U32, PM_INDOM_NULL, < PM_SEM_INSTANT, pmda_units(0,0,1,0,0,PM_COUNT_ONE), < 'mysql.slave_status.exec_master_log_pos', '', ''); < $pmda->add_metric(pmda_pmid(3,8), PM_TYPE_STRING, PM_INDOM_NULL, < PM_SEM_INSTANT, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.relay_log_file', '', ''); < $pmda->add_metric(pmda_pmid(3,9), PM_TYPE_U32, PM_INDOM_NULL, < PM_SEM_INSTANT, pmda_units(0,0,1,0,0,PM_COUNT_ONE), < 'mysql.slave_status.relay_log_pos', '', ''); < $pmda->add_metric(pmda_pmid(3,10), PM_TYPE_STRING, PM_INDOM_NULL, < PM_SEM_INSTANT, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.until_log_file', '', ''); < $pmda->add_metric(pmda_pmid(3,11), PM_TYPE_U32, PM_INDOM_NULL, < PM_SEM_INSTANT, pmda_units(0,0,1,0,0,PM_COUNT_ONE), < 'mysql.slave_status.until_log_pos', '', ''); < $pmda->add_metric(pmda_pmid(3,12), PM_TYPE_STRING, PM_INDOM_NULL, < PM_SEM_DISCRETE, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.master_ssl_cipher', '', ''); < $pmda->add_metric(pmda_pmid(3,13), PM_TYPE_STRING, PM_INDOM_NULL, < PM_SEM_DISCRETE, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.master_ssl_ca_file', '', ''); < $pmda->add_metric(pmda_pmid(3,14), PM_TYPE_U32, PM_INDOM_NULL, < PM_SEM_INSTANT, pmda_units(0,0,1,0,0,PM_COUNT_ONE), < 'mysql.slave_status.skip_counter', '', ''); < $pmda->add_metric(pmda_pmid(3,15), PM_TYPE_U32, PM_INDOM_NULL, < PM_SEM_INSTANT, pmda_units(0,0,1,0,0,PM_COUNT_ONE), < 'mysql.slave_status.relay_log_space', '', ''); < $pmda->add_metric(pmda_pmid(3,16), PM_TYPE_STRING, PM_INDOM_NULL, < PM_SEM_DISCRETE, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.until_condition', '', ''); < $pmda->add_metric(pmda_pmid(3,17), PM_TYPE_U32, PM_INDOM_NULL, < PM_SEM_DISCRETE, pmda_units(1,PM_TIME_SEC,0,0,0,0), < 'mysql.slave_status.connect_retry', '', ''); < $pmda->add_metric(pmda_pmid(3,18), PM_TYPE_STRING, PM_INDOM_NULL, < PM_SEM_DISCRETE, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.master_host', '', ''); < $pmda->add_metric(pmda_pmid(3,19), PM_TYPE_U32, PM_INDOM_NULL, < PM_SEM_INSTANT, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.last_errno', '', ''); < $pmda->add_metric(pmda_pmid(3,20), PM_TYPE_STRING, PM_INDOM_NULL, < PM_SEM_DISCRETE, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.master_ssl_cert', '', ''); < $pmda->add_metric(pmda_pmid(3,21), PM_TYPE_STRING, PM_INDOM_NULL, < PM_SEM_DISCRETE, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.replicate_do_db', '', ''); < $pmda->add_metric(pmda_pmid(3,22), PM_TYPE_STRING, PM_INDOM_NULL, < PM_SEM_DISCRETE, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.replicate_ignore_db', '', ''); < $pmda->add_metric(pmda_pmid(3,23), PM_TYPE_STRING, PM_INDOM_NULL, < PM_SEM_DISCRETE, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.master_user', '', ''); < $pmda->add_metric(pmda_pmid(3,24), PM_TYPE_STRING, PM_INDOM_NULL, < PM_SEM_DISCRETE, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.replicate_do_table', '', ''); < $pmda->add_metric(pmda_pmid(3,25), PM_TYPE_STRING, PM_INDOM_NULL, < PM_SEM_DISCRETE, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.replicate_wild_do_table', '', ''); < $pmda->add_metric(pmda_pmid(3,26), PM_TYPE_STRING, PM_INDOM_NULL, < PM_SEM_DISCRETE, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.replicate_wild_ignore_table', '', ''); < $pmda->add_metric(pmda_pmid(3,27), PM_TYPE_STRING, PM_INDOM_NULL, < PM_SEM_DISCRETE, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.replicate_ignore_table', '', ''); < $pmda->add_metric(pmda_pmid(3,28), PM_TYPE_STRING, PM_INDOM_NULL, < PM_SEM_DISCRETE, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.master_ssl_allowed', '', ''); < $pmda->add_metric(pmda_pmid(3,29), PM_TYPE_STRING, PM_INDOM_NULL, < PM_SEM_DISCRETE, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.master_ssl_ca_path', '', ''); < $pmda->add_metric(pmda_pmid(3,30), PM_TYPE_U32, PM_INDOM_NULL, < PM_SEM_DISCRETE, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.master_port', '', ''); < $pmda->add_metric(pmda_pmid(3,31), PM_TYPE_STRING, PM_INDOM_NULL, < PM_SEM_DISCRETE, pmda_units(0,0,0,0,0,0), < 'mysql.slave_status.master_ssl_key', '', ''); < On 27/10/12 08:50, Chandana De Silva wrote: > Hello Nathan, > > Thank you very much for your help. I got the new metrics working. The > reason it did not work last evening was that the data returned from > 'show slave status' is a single row, not a bunch of rows. > > I have now added all the slave status metrics in, hope I have got the > semantics right. I would appreciate if you (or someone) can cast an > eye over them. > > I need to get these metrics into my environment as soon as possible. I > would like to generate a new pcp rpm with the new code. How should I > name the rpm to ensure that the change goes in cleanly when I upgrade > ?. The current RPM is pcp-3.6.9-1. If the next RPM is going to be > pcp-3.6.10-1, then I can safely use pcp-3.6.9.1-1. Is that ok ? > > Regards > Chandana > > On 22/10/12 16:53, Nathan Scott wrote: >> >> ----- Original Message ----- >>> Nathan, >>> Many thanks. >>> >>> I will get this working. > From pcp-announce-bounces@oss.sgi.com Sat Oct 27 04:42:12 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9R9fKdg052217; Sat, 27 Oct 2012 04:41:20 -0500 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9R9eFqD052171 for ; Sat, 27 Oct 2012 04:40:15 -0500 X-ASG-Debug-ID: 1351330921-04cbb0231110e240001-87ZIJf Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id GBCv7O7evwXoh48x for ; Sat, 27 Oct 2012 02:42:01 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.25 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9R9g1Ku015960 for ; Sat, 27 Oct 2012 05:42:01 -0400 Date: Sat, 27 Oct 2012 05:42:01 -0400 (EDT) From: Nathan Scott To: pcp-announce@oss.sgi.com Message-ID: <1465935644.18039771.1351330921170.JavaMail.root@redhat.com> In-Reply-To: <1179088503.18039708.1351330636010.JavaMail.root@redhat.com> MIME-Version: 1.0 X-ASG-Orig-Subj: pcp-gui-1.5.6 released X-Originating-IP: [10.64.50.7] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25] X-Barracuda-Start-Time: 1351330921 X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.112507 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Subject: [pcp-announce] pcp-gui-1.5.6 released X-BeenThere: pcp-announce@oss.sgi.com X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Nathan Scott List-Id: pcp announcements List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: pcp-announce-bounces@oss.sgi.com Errors-To: pcp-announce-bounces@oss.sgi.com Hi all, A new version of PCP GUI has been released - the first version with support for event trace charts. Also the new extend-a-bar feature has been implemented which reflects selections from one chart into all others along the time axis. Give it a whirl and feel free to post feedback and further suggestions. pcp-gui 1.5.6 (26 October 2012) - Added the pcp-gui-testsuite package into the builds. - Much work getting the QA suite stable and all tests passing. - Tutorials end up in -doc package, not the -gui runtime. - Move the fedora spec for pcp-gui under source control. - Move up to the latest Qwt major release (6+), major API rework. - Initial support for pmchart event record decoding and display. - Increase the maximum number of displayed samples to cover a full days worth of data at a finer-grained interval. - Tweaks to desktop integration file to match current standards. - Add the extend-a-bar feature, which extends the time selection cross-hair into all of the charts (not just the selected one). cheers. -- Nathan _______________________________________________ pcp-announce mailing list pcp-announce@oss.sgi.com http://oss.sgi.com/mailman/listinfo/pcp-announce From nscott@redhat.com Sun Oct 28 16:22:36 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9SLMaXS061928 for ; Sun, 28 Oct 2012 16:22:36 -0500 X-ASG-Debug-ID: 1351459463-04cbb0231316c9b0001-S8gJnT Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id yuxnHwgF7DpkLW0y for ; Sun, 28 Oct 2012 14:24:24 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.25 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9SLOMmS011341; Sun, 28 Oct 2012 17:24:22 -0400 Date: Sun, 28 Oct 2012 17:24:22 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: chandana@desilva.id.au Cc: pcp@oss.sgi.com Message-ID: <1465865074.18190696.1351459462186.JavaMail.root@redhat.com> In-Reply-To: <508B05B9.1020906@desilva.id.au> Subject: Re: [pcp] MySQL PMDA question MIME-Version: 1.0 X-ASG-Orig-Subj: Re: [pcp] MySQL PMDA question Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.50.10] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25] X-Barracuda-Start-Time: 1351459463 X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests=BSF_SC0_MISMATCH_TO X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.112644 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header Hi Chandana, ----- Original Message ----- > Hello Nathan, > > Thank you very much for your help. I got the new metrics working. The > reason it did not work last evening was that the data returned from > 'show slave status' is a single row, not a bunch of rows. > Aha! > I have now added all the slave status metrics in, hope I have got the > semantics right. I would appreciate if you (or someone) can cast an > eye over them. > Will take a look today. > I need to get these metrics into my environment as soon as possible. > I > would like to generate a new pcp rpm with the new code. How should I > name the rpm to ensure that the change goes in cleanly when I upgrade > ?. > The current RPM is pcp-3.6.9-1. If the next RPM is going to be > pcp-3.6.10-1, then I can safely use pcp-3.6.9.1-1. Is that ok ? I'd usually would go for something like "pcp-3.6.9-1chandana" or "...-1git" or something like that. But, looks like 4-part version numbers are supported by rpm, and we're unlikely to ever release a PCP conflicting with that, so your convention should work fine too. cheers. -- Nathan From chandana@desilva.id.au Sun Oct 28 16:43:35 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9SLhYgi065058 for ; Sun, 28 Oct 2012 16:43:35 -0500 X-ASG-Debug-ID: 1351460722-04bdf04835133560001-S8gJnT Received: from mho-02-ewr.mailhop.org (mho-04-ewr.mailhop.org [204.13.248.74]) by cuda.sgi.com with ESMTP id fbgQGNCffH4bGRjf (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Sun, 28 Oct 2012 14:45:22 -0700 (PDT) X-Barracuda-Envelope-From: chandana@desilva.id.au X-Barracuda-Apparent-Source-IP: 204.13.248.74 Received: from d110-33-163-129.sun801.vic.optusnet.com.au ([110.33.163.129] helo=mail.desilva.id.au) by mho-02-ewr.mailhop.org with esmtpa (Exim 4.72) (envelope-from ) id 1TSafa-000Jbb-2r; Sun, 28 Oct 2012 21:45:22 +0000 Received: from [192.168.19.77] (ip-34.83.45.175.VOCUS.net.au [175.45.83.34]) by mail.desilva.id.au (Postfix) with ESMTPSA id 76CF766EC; Mon, 29 Oct 2012 08:41:46 +1100 (EST) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 110.33.163.129 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19Gn0d3fnWKMX8k/0w1ck0XAEUITzz9TMo= Message-ID: <508DA76A.6000109@desilva.id.au> Date: Mon, 29 Oct 2012 08:45:14 +1100 From: Chandana De Silva Reply-To: chandana@desilva.id.au User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: Nathan Scott CC: pcp@oss.sgi.com Subject: Re: [pcp] MySQL PMDA question References: <1465865074.18190696.1351459462186.JavaMail.root@redhat.com> X-ASG-Orig-Subj: Re: [pcp] MySQL PMDA question In-Reply-To: <1465865074.18190696.1351459462186.JavaMail.root@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Barracuda-Connect: mho-04-ewr.mailhop.org[204.13.248.74] X-Barracuda-Start-Time: 1351460722 X-Barracuda-Encrypted: AES256-SHA X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.112644 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- On 29/10/12 08:24, Nathan Scott wrote: > Hi Chandana, > > ----- Original Message ----- > Will take a look today. Thanks > I'd usually would go for something like "pcp-3.6.9-1chandana" I will use something like pcp-3.6.9-1chandana From nscott@redhat.com Sun Oct 28 17:42:36 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9SMgaBs074163 for ; Sun, 28 Oct 2012 17:42:36 -0500 X-ASG-Debug-ID: 1351464262-04cbb023111713b0001-S8gJnT Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id Y2mdjtBp5CP7Vzwm for ; Sun, 28 Oct 2012 15:44:22 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.25 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9SMiK4w015180; Sun, 28 Oct 2012 18:44:20 -0400 Date: Sun, 28 Oct 2012 18:44:20 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Cc: chandana@desilva.id.au, Stan Cox Message-ID: <1680366469.18198270.1351464260781.JavaMail.root@redhat.com> Subject: pcp updates: pmdamysql, pmcollectl MIME-Version: 1.0 X-ASG-Orig-Subj: pcp updates: pmdamysql, pmcollectl Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.50.10] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25] X-Barracuda-Start-Time: 1351464262 X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.112648 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp.git dev src/include/pcp/mk_pmdbg | 6 - src/pmcollectl/pmcollectl.py | 19 +++-- src/pmdas/bash/test-child.sh | 12 +-- src/pmdas/bash/test-trace.sh | 11 --- src/pmdas/mysql/pmdamysql.pl | 141 +++++++++++++++++++++++++++++++++++++++---- 5 files changed, 149 insertions(+), 40 deletions(-) commit 699111322e50be76b377d002b29ba291394e1ad7 Author: Chandana De Silva Date: Mon Oct 29 09:37:32 2012 +1100 Get the pmdamysql slave status metrics working properly Use DBI hashref fetch interface instead of the array variant, and rework mysql_slave_status_refresh as needed to make it functionally complete. Added in the remaining 30+ slave status metrics for good measure. commit 3b56dfbad6f7416e15ffe7e517e8d3181d6b8e2d Author: Nathan Scott Date: Mon Oct 29 09:22:57 2012 +1100 Prototype pmdamysql extension for new slave status stats commit b0e6ec2604c28c9cb867efe2dacb2e150684721b Author: Nathan Scott Date: Mon Oct 29 09:06:30 2012 +1100 Fine-tune pmcollectl error messages on failed context creation commit 68616285f9714779f50d64493e091e1b5ba648b9 Merge: 66507b9 578a728 Author: Nathan Scott Date: Mon Oct 29 08:51:36 2012 +1100 Merge branch 'scox/dev' of git://sourceware.org/git/pcpfans into dev commit 66507b96112b1f515d8cabd7218f5d91c58f8dd3 Author: Nathan Scott Date: Mon Oct 29 08:46:48 2012 +1100 Simplify pmdabash exercisers for non-installed bash use commit 433097f26a6f9bd90ee248cafe007aa2f19c18fd Author: Nathan Scott Date: Mon Oct 29 08:45:35 2012 +1100 Do not timestamp pmdbg.h, causes header-checker tools to complain needlessly commit 578a72839de3a309b71ff7ef09218749f0e85d04 Merge: 30cbfb9 84fb485 Author: Stan Cox Date: Sun Oct 28 12:24:21 2012 -0400 Merge branch 'dev' into scox/dev commit 30cbfb994ee3bd6b046e3756b5fc89870a2c1931 Author: Stan Cox Date: Sun Oct 28 12:15:30 2012 -0400 Graciously handle pmcd not running. * pmcollectl.py (main): Catch pmErr from pmContext. From nscott@redhat.com Sun Oct 28 19:05:04 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9T0541L087701 for ; Sun, 28 Oct 2012 19:05:04 -0500 X-ASG-Debug-ID: 1351469212-04cb6c48d017d500001-S8gJnT Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) by cuda.sgi.com with ESMTP id UQgF2zYvtLAEquAL for ; Sun, 28 Oct 2012 17:06:52 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.25 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9T06q3M019636; Sun, 28 Oct 2012 20:06:52 -0400 Date: Sun, 28 Oct 2012 20:06:52 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: Thomas Biege Cc: pcp@oss.sgi.com Message-ID: <533231653.18202752.1351469212095.JavaMail.root@redhat.com> In-Reply-To: <1351086733.5633.22.camel@spiral.ashpool.org> Subject: Re: [pcp] security issues and design of pmcd MIME-Version: 1.0 X-ASG-Orig-Subj: Re: [pcp] security issues and design of pmcd Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.50.10] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx4-phx2.redhat.com[209.132.183.25] X-Barracuda-Start-Time: 1351469212 X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.112654 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Hi Thomas, ----- Original Message ----- > Hi. > > I am sorry for the late answer, too much work left on my desk after I > returned from a trip. > No problem, thanks for sending it - helps to go through issues/options. > > Am Montag, den 08.10.2012, 18:23 -0400 schrieb Nathan Scott: > > Hey Thomas, > > > > ----- Original Message ----- > > > Hi. > > > > > > Who should be able to send the SIGHUP? If it is only root, then > > > use the solution with dropping privileges like you did during > > > normal system boot. > > > > I guess you mean if we used seteuid originally (and not setuid) to > > set > > the user away from root? Such that pmcd can then switch back to > > root, > > temporarily, when SIGHUP arrives and it can (re)start child > > processes? > > I was really thinking about dropping the privileges completely with > setgid() and setuid(). That would be my preference too, its simple and effective. There's the issue around sighup handling, but I'm starting to think that (since no other more appealing option seems to exist) perhaps a tradeoff where we just attempt agent starts as non-root with SIGHUP, which will work for all agents that don't need to change user (hopefully many of them), and for the rest it could become a sysadmin-managed issue of issuing a full pmcd service start for those agents. IIRC, there is a little-used mode where PMDAs can be already running at the time pmcd starts, and pmcd connects to them (rather than starting them as children). Perhaps we'll need to do more of that now too. > Maybe using fscaps instead of UID=0 is another option to reduce the > privileges of pcp. *nod*, yes, another option. Not portable though, but for Linux maybe a good option. > Does a SIGHUP occur often, so that the pain is high enough to take > care of it? It doesn't happen often, but its very painful. I'm starting to wonder if we just have to give ground on this, and for those agents that need to run as root or another special-case user (like postgres), they will need to be handled "specially" with a disruptive service restart. I'm starting to look into this more deeply this week, so we should see a series of changes in this area soon. cheers. -- Nathan From nscott@redhat.com Wed Oct 31 00:11:36 2012 X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9V5Ba79110668 for ; Wed, 31 Oct 2012 00:11:36 -0500 X-ASG-Debug-ID: 1351660403-04cbb023101f46f0001-S8gJnT Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) by cuda.sgi.com with ESMTP id oJv0U5dJbvF22kcx for ; Tue, 30 Oct 2012 22:13:23 -0700 (PDT) X-Barracuda-Envelope-From: nscott@redhat.com X-Barracuda-Apparent-Source-IP: 209.132.183.24 Received: from zmail20.collab.prod.int.phx2.redhat.com (zmail20.collab.prod.int.phx2.redhat.com [10.5.83.23]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q9V5DMkG004569 for ; Wed, 31 Oct 2012 01:13:22 -0400 Date: Wed, 31 Oct 2012 01:13:22 -0400 (EDT) From: Nathan Scott Reply-To: Nathan Scott To: pcp@oss.sgi.com Message-ID: <1634022877.19473938.1351660402897.JavaMail.root@redhat.com> Subject: pcp-gui updates: remove qassistantclient, update configure Qt check MIME-Version: 1.0 X-ASG-Orig-Subj: pcp-gui updates: remove qassistantclient, update configure Qt check Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.64.50.49] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Linux)/7.2.0_GA_2669) X-Barracuda-Connect: mx3-phx2.redhat.com[209.132.183.24] X-Barracuda-Start-Time: 1351660403 X-Barracuda-URL: http://192.48.176.25:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.112850 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Changes committed to git://oss.sgi.com/pcp/pcp-gui.git dev aclocal.m4 | 11 +-------- build/rpm/fedora.spec | 3 -- configure.in | 2 - debian/control | 6 ----- m4/package_qtdev.m4 | 11 +-------- man/html/GNUmakefile | 12 ++++------ man/html/pcpdoc.adp.in | 35 ------------------------------- src/chart/pmchart.cpp | 53 ++++++++++------------------------------------- src/chart/pmchart.h | 6 ----- src/chart/pmchart.pro.in | 4 +-- src/chart/pmchart.ui | 2 - src/include/version.h.in | 8 ------- src/time/pmtime.pro.in | 4 +-- src/time/pmtimearch.cpp | 49 +++++++++---------------------------------- src/time/pmtimearch.h | 6 ----- src/time/pmtimelive.cpp | 48 ++++++++---------------------------------- src/time/pmtimelive.h | 6 ----- 17 files changed, 51 insertions(+), 215 deletions(-) commit 18ae9e701f2d89352a13fe77d72deb9e943a3857 Author: Nathan Scott Date: Wed Oct 31 16:07:37 2012 +1100 Update configury to match Qt version required for build Since the recent update to Qwt6, we evidentally need to bump the required Qt version from 4.2 to 4.4. Precludes pcp-gui for RHEL5 sadly, but the 4.2 build fallout seems insurmountable. The list includes: - qmath.h, qnumeric.h missing [fixable] - QPen::setCosmetic() missing [probably fixable] - QRectF::toAlignedRect missing - QPolygonF::subtracted() missing - Q_EMIT macro missing [fixable] - QPaintEngine::Pdf missing - Entire QTransform class missing [owwwwch] - QTextDocument::defaultTextOption missing - QTextFrameFormat::set{Bottom,Left}Margin missing - Qt::WA_StyledBackground missing - Qt::MaskOutColor missing - Qt::Axis enum missing - QImage::createMaskFromColor missing - QPrinter::setPaperSize missing - QPainter::drawRect missing commit f20864c43ec46dfc7ba8930d16a70fc56fd99308 Author: Nathan Scott Date: Wed Oct 31 14:52:09 2012 +1100 Remove all use of the QAssistantClient class Switch to using the default installed browser instead of a specialised helper application for browsing html. Less code, much less build pain. The QAssistantClient class has been deprecated for a long time, and removed from Qt 4.7 onward (unless special build magic enabled, which now fewer and fewer distros are doing). commit 02333a3326fde6361290fdfaa7b0fff2bb78a833 Author: Nathan Scott Date: Wed Oct 31 13:58:32 2012 +1100 Change some default toolbar UI options in pmchart Removed shortcut giving direct access to the printer, added shortcut for pmtime popup.