Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Update
percona-toolkit
percona-toolkit-2.2.x-disable-default-version-c...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File percona-toolkit-2.2.x-disable-default-version-check.patch of Package percona-toolkit
From: Andreas Stieger <andreas.stieger@gmx.de> Date: Mon, 17 Feb 2014 00:15:35 +0000 Subject: disable automatic version check for all tools References: https://bugzilla.novell.com/show_bug.cgi?id=864194 https://bugs.launchpad.net/percona-toolkit/+bug/1279502 Upstream: no Prevents transmission of version information to an external host in the default configuration. Can be used by owner of a Percona Server (or an attacker who can control this destination for the client) to collect arbitrary MySQL configuration parameters and execute commands (with -v). Now the version check needs to be requested via command line or global/tool specific/user configuration. (--version-check) Note that the doc is parsed into a Perl Getopt::Long spec at runtime. Setting "default: no" does not work, "default: 0" would work. The spec file contains a %check section that tests this. Patching the source was chosen over supplying default configuration files in /etc/percona-toolkit/percona-toolkit.conf because not all tools actually support the version check and would throw warnings. --- bin/pt-archiver | 2 -- bin/pt-config-diff | 2 -- bin/pt-deadlock-logger | 2 -- bin/pt-diskstats | 2 -- bin/pt-duplicate-key-checker | 2 -- bin/pt-find | 2 -- bin/pt-fk-error-logger | 2 -- bin/pt-heartbeat | 2 -- bin/pt-index-usage | 2 -- bin/pt-kill | 2 -- bin/pt-online-schema-change | 2 -- bin/pt-query-digest | 2 -- bin/pt-slave-delay | 2 -- bin/pt-slave-restart | 2 -- bin/pt-table-checksum | 2 -- bin/pt-table-sync | 2 -- bin/pt-upgrade | 2 -- bin/pt-variable-advisor | 2 -- 18 files changed, 36 deletions(-) Index: percona-toolkit-2.2.15/bin/pt-archiver =================================================================== --- percona-toolkit-2.2.15.orig/bin/pt-archiver 2015-08-27 17:43:44.000000000 +0200 +++ percona-toolkit-2.2.15/bin/pt-archiver 2015-08-28 22:46:44.000000000 +0200 @@ -7948,8 +7948,6 @@ Show version and exit. =item --[no]version-check -default: yes - Check for the latest version of Percona Toolkit, MySQL, and other programs. This is a standard "check for updates automatically" feature, with two Index: percona-toolkit-2.2.15/bin/pt-config-diff =================================================================== --- percona-toolkit-2.2.15.orig/bin/pt-config-diff 2015-08-27 17:43:44.000000000 +0200 +++ percona-toolkit-2.2.15/bin/pt-config-diff 2015-08-28 22:46:44.000000000 +0200 @@ -5618,8 +5618,6 @@ Show version and exit. =item --[no]version-check -default: yes - Check for the latest version of Percona Toolkit, MySQL, and other programs. This is a standard "check for updates automatically" feature, with two Index: percona-toolkit-2.2.15/bin/pt-deadlock-logger =================================================================== --- percona-toolkit-2.2.15.orig/bin/pt-deadlock-logger 2015-08-27 17:43:44.000000000 +0200 +++ percona-toolkit-2.2.15/bin/pt-deadlock-logger 2015-08-28 22:46:44.000000000 +0200 @@ -5404,8 +5404,6 @@ Show version and exit. =item --[no]version-check -default: yes - Check for the latest version of Percona Toolkit, MySQL, and other programs. This is a standard "check for updates automatically" feature, with two Index: percona-toolkit-2.2.15/bin/pt-diskstats =================================================================== --- percona-toolkit-2.2.15.orig/bin/pt-diskstats 2015-08-27 17:43:44.000000000 +0200 +++ percona-toolkit-2.2.15/bin/pt-diskstats 2015-08-28 22:46:44.000000000 +0200 @@ -5480,8 +5480,6 @@ Show version and exit. =item --[no]version-check -default: yes - Check for the latest version of Percona Toolkit, MySQL, and other programs. This is a standard "check for updates automatically" feature, with two Index: percona-toolkit-2.2.15/bin/pt-duplicate-key-checker =================================================================== --- percona-toolkit-2.2.15.orig/bin/pt-duplicate-key-checker 2015-08-27 17:43:44.000000000 +0200 +++ percona-toolkit-2.2.15/bin/pt-duplicate-key-checker 2015-08-28 22:46:44.000000000 +0200 @@ -5456,8 +5456,6 @@ Show version and exit. =item --[no]version-check -default: yes - Check for the latest version of Percona Toolkit, MySQL, and other programs. This is a standard "check for updates automatically" feature, with two Index: percona-toolkit-2.2.15/bin/pt-find =================================================================== --- percona-toolkit-2.2.15.orig/bin/pt-find 2015-08-27 17:43:44.000000000 +0200 +++ percona-toolkit-2.2.15/bin/pt-find 2015-08-28 22:46:44.000000000 +0200 @@ -4453,8 +4453,6 @@ Show version and exit. =item --[no]version-check -default: yes - Check for the latest version of Percona Toolkit, MySQL, and other programs. This is a standard "check for updates automatically" feature, with two Index: percona-toolkit-2.2.15/bin/pt-fk-error-logger =================================================================== --- percona-toolkit-2.2.15.orig/bin/pt-fk-error-logger 2015-08-27 17:43:44.000000000 +0200 +++ percona-toolkit-2.2.15/bin/pt-fk-error-logger 2015-08-28 22:46:44.000000000 +0200 @@ -4391,8 +4391,6 @@ Show version and exit. =item --[no]version-check -default: yes - Check for the latest version of Percona Toolkit, MySQL, and other programs. This is a standard "check for updates automatically" feature, with two Index: percona-toolkit-2.2.15/bin/pt-heartbeat =================================================================== --- percona-toolkit-2.2.15.orig/bin/pt-heartbeat 2015-08-27 17:43:44.000000000 +0200 +++ percona-toolkit-2.2.15/bin/pt-heartbeat 2015-08-28 22:46:44.000000000 +0200 @@ -6064,8 +6064,6 @@ Show version and exit. =item --[no]version-check -default: yes - Check for the latest version of Percona Toolkit, MySQL, and other programs. This is a standard "check for updates automatically" feature, with two Index: percona-toolkit-2.2.15/bin/pt-index-usage =================================================================== --- percona-toolkit-2.2.15.orig/bin/pt-index-usage 2015-08-27 17:43:44.000000000 +0200 +++ percona-toolkit-2.2.15/bin/pt-index-usage 2015-08-28 22:46:44.000000000 +0200 @@ -7390,8 +7390,6 @@ Show version and exit. =item --[no]version-check -default: yes - Check for the latest version of Percona Toolkit, MySQL, and other programs. This is a standard "check for updates automatically" feature, with two Index: percona-toolkit-2.2.15/bin/pt-kill =================================================================== --- percona-toolkit-2.2.15.orig/bin/pt-kill 2015-08-27 17:43:44.000000000 +0200 +++ percona-toolkit-2.2.15/bin/pt-kill 2015-08-28 22:46:44.000000000 +0200 @@ -7731,8 +7731,6 @@ Show version and exit. =item --[no]version-check -default: yes - Check for the latest version of Percona Toolkit, MySQL, and other programs. This is a standard "check for updates automatically" feature, with two Index: percona-toolkit-2.2.15/bin/pt-online-schema-change =================================================================== --- percona-toolkit-2.2.15.orig/bin/pt-online-schema-change 2015-08-27 17:43:44.000000000 +0200 +++ percona-toolkit-2.2.15/bin/pt-online-schema-change 2015-08-28 22:46:44.000000000 +0200 @@ -11641,8 +11641,6 @@ Show version and exit. =item --[no]version-check -default: yes - Check for the latest version of Percona Toolkit, MySQL, and other programs. This is a standard "check for updates automatically" feature, with two Index: percona-toolkit-2.2.15/bin/pt-query-digest =================================================================== --- percona-toolkit-2.2.15.orig/bin/pt-query-digest 2015-08-27 17:43:44.000000000 +0200 +++ percona-toolkit-2.2.15/bin/pt-query-digest 2015-08-28 22:46:44.000000000 +0200 @@ -16326,8 +16326,6 @@ Show version and exit. =item --[no]version-check -default: yes - Check for the latest version of Percona Toolkit, MySQL, and other programs. This is a standard "check for updates automatically" feature, with two Index: percona-toolkit-2.2.15/bin/pt-slave-delay =================================================================== --- percona-toolkit-2.2.15.orig/bin/pt-slave-delay 2015-08-27 17:43:44.000000000 +0200 +++ percona-toolkit-2.2.15/bin/pt-slave-delay 2015-08-28 22:46:44.000000000 +0200 @@ -4711,8 +4711,6 @@ Show version and exit. =item --[no]version-check -default: yes - Check for the latest version of Percona Toolkit, MySQL, and other programs. This is a standard "check for updates automatically" feature, with two Index: percona-toolkit-2.2.15/bin/pt-slave-restart =================================================================== --- percona-toolkit-2.2.15.orig/bin/pt-slave-restart 2015-08-27 17:43:44.000000000 +0200 +++ percona-toolkit-2.2.15/bin/pt-slave-restart 2015-08-28 22:46:44.000000000 +0200 @@ -5777,8 +5777,6 @@ Show version and exit. =item --[no]version-check -default: yes - Check for the latest version of Percona Toolkit, MySQL, and other programs. This is a standard "check for updates automatically" feature, with two Index: percona-toolkit-2.2.15/bin/pt-table-checksum =================================================================== --- percona-toolkit-2.2.15.orig/bin/pt-table-checksum 2015-08-27 17:43:44.000000000 +0200 +++ percona-toolkit-2.2.15/bin/pt-table-checksum 2015-08-28 22:46:44.000000000 +0200 @@ -12540,8 +12540,6 @@ Show version and exit. =item --[no]version-check -default: yes - Check for the latest version of Percona Toolkit, MySQL, and other programs. This is a standard "check for updates automatically" feature, with two Index: percona-toolkit-2.2.15/bin/pt-table-sync =================================================================== --- percona-toolkit-2.2.15.orig/bin/pt-table-sync 2015-08-27 17:43:44.000000000 +0200 +++ percona-toolkit-2.2.15/bin/pt-table-sync 2015-08-28 22:46:44.000000000 +0200 @@ -12527,8 +12527,6 @@ Show version and exit. =item --[no]version-check -default: yes - Check for the latest version of Percona Toolkit, MySQL, and other programs. This is a standard "check for updates automatically" feature, with two Index: percona-toolkit-2.2.15/bin/pt-upgrade =================================================================== --- percona-toolkit-2.2.15.orig/bin/pt-upgrade 2015-08-27 17:43:44.000000000 +0200 +++ percona-toolkit-2.2.15/bin/pt-upgrade 2015-08-28 22:46:44.000000000 +0200 @@ -11101,8 +11101,6 @@ Show version and exit. =item --[no]version-check -default: yes - Check for the latest version of Percona Toolkit, MySQL, and other programs. This is a standard "check for updates automatically" feature, with two Index: percona-toolkit-2.2.15/bin/pt-variable-advisor =================================================================== --- percona-toolkit-2.2.15.orig/bin/pt-variable-advisor 2015-08-27 17:43:44.000000000 +0200 +++ percona-toolkit-2.2.15/bin/pt-variable-advisor 2015-08-28 22:46:44.000000000 +0200 @@ -5981,8 +5981,6 @@ Show version and exit. =item --[no]version-check -default: yes - Check for the latest version of Percona Toolkit, MySQL, and other programs. This is a standard "check for updates automatically" feature, with two
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor