Sprint:
10.1.9-1, 10.1.9-2
Having a plugin variable in my.cnf, like query_response_time_stats=ON from the query response time plugin, prevents a mysql upgrade.
# aptitude install mariadb-server-10.0
The following partially installed packages will be configured:
mariadb-server mariadb-server-10.0
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 33 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up mariadb-server-10.0 (10.0.20+maria-1~wheezy) ...
[ ok ] Stopping MariaDB database server: mysqld.
dpkg: error processing mariadb-server-10.0 (--configure):
subprocess installed post-installation script returned error exit status 7
dpkg: dependency problems prevent configuration of mariadb-server:
mariadb-server depends on mariadb-server-10.0 (= 10.0.20+maria-1~wheezy); however:
Package mariadb-server-10.0 is not configured yet.
dpkg: error processing mariadb-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mariadb-server-10.0
mariadb-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up mariadb-server-10.0 (10.0.20+maria-1~wheezy) ...
[ ok ] Stopping MariaDB database server: mysqld.
dpkg: error processing mariadb-server-10.0 (--configure):
subprocess installed post-installation script returned error exit status 7
dpkg: dependency problems prevent configuration of mariadb-server:
mariadb-server depends on mariadb-server-10.0 (= 10.0.20+maria-1~wheezy); however:
Package mariadb-server-10.0 is not configured yet.
dpkg: error processing mariadb-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mariadb-server-10.0
mariadb-server
using:
export DEBIAN_SCRIPT_DEBUG=1
aptitude install mariadb-server-10.0
....
....
....
++ /bin/echo -e 'USE mysql;\n' 'CREATE TABLE IF NOT EXISTS plugin (name char(64) COLLATE utf8_bin NOT NULL DEFAULT '\'''\'', ' ' dl char(128) COLLATE utf8_bin NOT NULL DEFAULT '\'''\'', ' ' PRIMARY KEY (name)) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='\''MySQL plugins'\'';'
+ install_plugins='USE mysql;
CREATE TABLE IF NOT EXISTS plugin (name char(64) COLLATE utf8_bin NOT NULL DEFAULT '\'''\'', dl char(128) COLLATE utf8_bin NOT NULL DEFAULT '\'''\'', PRIMARY KEY (name)) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='\''MySQL plugins'\'';'
+ echo 'USE mysql;
ALTER TABLE user CHANGE Password Password char(41) character set latin1 collate latin1_bin DEFAULT '\'''\'' NOT NULL;'
+ /usr/sbin/mysqld --bootstrap --user=mysql --disable-log-bin --skip-grant-tables --default-storage-engine=myisam
+ logger -p daemon.err -t mysqld_safe -i
dpkg: error processing mariadb-server-10.0 (--configure):
subprocess installed post-installation script returned error exit status 7
dpkg: dependency problems prevent configuration of mariadb-server:
mariadb-server depends on mariadb-server-10.0 (= 10.0.20+maria-1~wheezy); however:
Package mariadb-server-10.0 is not configured yet
so failure is where it tried to bootstrap the server.
The error log shows the complaint about an unidentified server variable, understandable when no plugins are loaded.
Jul 9 06:14:40 media1 mysqld_safe[17874]: 150709 6:14:40 [Note] /usr/sbin/mysqld (mysqld 10.0.20-MariaDB-1~wheezy-log) starting as process 17905 ...
Jul 9 06:14:40 media1 mysqld_safe[17874]: 150709 6:14:40 [Note] InnoDB: Using mutexes to ref count buffer pool pages
Jul 9 06:14:40 media1 mysqld_safe[17874]: 150709 6:14:40 [Note] InnoDB: The InnoDB memory heap is disabled
Jul 9 06:14:40 media1 mysqld_safe[17874]: 150709 6:14:40 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
Jul 9 06:14:40 media1 mysqld_safe[17874]: 150709 6:14:40 [Note] InnoDB: Memory barrier is not used
Jul 9 06:14:40 media1 mysqld_safe[17874]: 150709 6:14:40 [Note] InnoDB: Compressed tables use zlib 1.2.7
Jul 9 06:14:40 media1 mysqld_safe[17874]: 150709 6:14:40 [Note] InnoDB: Using Linux native AIO
Jul 9 06:14:40 media1 mysqld_safe[17874]: 150709 6:14:40 [Note] InnoDB: Using CPU crc32 instructions
Jul 9 06:14:40 media1 mysqld_safe[17874]: 150709 6:14:40 [Note] InnoDB: Initializing buffer pool, size = 8.0G
Jul 9 06:14:41 media1 mysqld_safe[17874]: 150709 6:14:41 [Note] InnoDB: Completed initialization of buffer pool
Jul 9 06:14:41 media1 mysqld_safe[17874]: 150709 6:14:41 [Note] InnoDB: Highest supported file format is Barracuda.
Jul 9 06:14:42 media1 mysqld_safe[17874]: 150709 6:14:42 [Note] InnoDB: 128 rollback segment(s) are active.
Jul 9 06:14:42 media1 mysqld_safe[17874]: 150709 6:14:42 [Note] InnoDB: Waiting for purge to start
Jul 9 06:14:42 media1 mysqld_safe[17874]: 150709 6:14:42 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.24-72.2 started; log sequence number 1381243811209
Jul 9 06:14:42 media1 mysqld_safe[17874]: 2015-07-09 06:14:42 7fe2f07f8700 InnoDB: Loading buffer pool(s) from /srv/mysql/ib_buffer_pool
Jul 9 06:14:42 media1 mysqld_safe[17874]: 2015-07-09 06:14:42 7fe2f07f8700 InnoDB: Buffer pool(s) load completed at 150709 6:14:42
Jul 9 06:14:42 media1 mysqld_safe[17874]: 150709 6:14:42 [ERROR] /usr/sbin/mysqld: unknown variable 'query_response_time_stats=ON'
Jul 9 06:14:42 media1 mysqld_safe[17874]: 150709 6:14:42 [ERROR] Aborting
Jul 9 06:14:42 media1 mysqld_safe[17874]:
Jul 9 06:14:42 media1 mysqld_safe[17874]: 150709 6:14:42 [Note] InnoDB: FTS optimize thread exiting.
Jul 9 06:14:42 media1 mysqld_safe[17874]: 150709 6:14:42 [Note] InnoDB: Starting shutdown...
Jul 9 06:14:42 media1 mysqld_safe[17874]: 2015-07-09 06:14:42 7fe2f07f8700 InnoDB: Dumping buffer pool(s) to /srv/mysql/ib_buffer_pool
Jul 9 06:14:42 media1 mysqld_safe[17874]: 2015-07-09 06:14:42 7fe2f07f8700 InnoDB: Buffer pool(s) dump completed at 150709 6:14:42
Jul 9 06:14:45 media1 mysqld_safe[17874]: 150709 6:14:45 [Note] InnoDB: Shutdown completed; log sequence number 1381243811219
Jul 9 06:14:45 media1 mysqld_safe[17874]: 150709 6:14:45 [Note] /usr/sbin/mysqld: Shutdown complete
Removing the query_response_time_stats=ON from the config file was able to package configure and complete the server upgrade. I also hit this on 10.0.19 on a RHEL server too.
Possible solutions:
a) bootstrap ignores vars it doesn't understand
b) additional mysqld argument to ignore unrecognised vars.
c) moving plugin vars to
{mariadb,mariadb-10.0,server,mysqld,client-server}
-plugins section (probably too ugly)
Elena Stepanova
made changes -
2015-07-11 21:38
Field
Original Value
New Value
Fix Version/s
10.1
[ 16100
]
Affects Version/s
10.1
[ 16100
]
Affects Version/s
10.0
[ 16000
]
Affects Version/s
5.5
[ 15800
]
Affects Version/s
10.0.20
[ 19201
]
Assignee
Sergei Golubchik
[ serg
]
Elena Stepanova
made changes -
2015-07-11 21:38
Status
Open
[ 1
]
Confirmed
[ 10101
]
Elena Stepanova
made changes -
2015-07-11 21:38
Summary
plugin variables conflict with debian mariadb-server-10.0.postinst
plugin variables conflict with bootstrap (debian mariadb-server-10.0.postinst)
Sergey Vojtovich
made changes -
2015-11-03 16:58
Assignee
Sergey Vojtovich
[ svoj
]
Sergei Golubchik
[ serg
]
Status
Confirmed
[ 10101
]
In Review
[ 10002
]
Sergei Golubchik
made changes -
2015-11-05 16:31
Assignee
Sergei Golubchik
[ serg
]
Sergey Vojtovich
[ svoj
]
Status
In Review
[ 10002
]
Stalled
[ 10000
]
Sergey Vojtovich
made changes -
2015-11-06 10:23
Remote Link
This issue links to "Github revision (additional cleanup) (Web Link)"
[ 25706
]
Sergey Vojtovich
made changes -
2015-11-06 10:23
Remote Link
This issue links to "Github revision (Web Link)"
[ 25707
]
Sergey Vojtovich
made changes -
2015-11-06 10:25
Component/s
Platform Debian
[ 10136
]
Fix Version/s
10.1.9
[ 20301
]
Fix Version/s
10.1
[ 16100
]
Resolution
Fixed
[ 1
]
Status
Stalled
[ 10000
]
Closed
[ 6
]
Sergei Golubchik
made changes -
2021-12-06 21:41
Workflow
MariaDB v3
[ 70520
]
MariaDB v4
[ 149345
]
{"report":{"fcp":1123.7999992370605,"ttfb":417.19999980926514,"pageVisibility":"visible","entityId":52120,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"776e1616-543a-4255-abf4-cdc78b7d8497","navigationType":0,"readyForUser":1257.7999992370605,"redirectCount":0,"resourceLoadedEnd":1397.5,"resourceLoadedStart":457.8999996185303,"resourceTiming":[{"duration":135.69999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":457.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":457.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":593.5999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":135.60000038146973,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":458.29999923706055,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":458.29999923706055,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":593.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":144.5999994277954,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":458.5,"connectEnd":458.5,"connectStart":458.5,"domainLookupEnd":458.5,"domainLookupStart":458.5,"fetchStart":458.5,"redirectEnd":0,"redirectStart":0,"requestStart":458.5,"responseEnd":603.0999994277954,"responseStart":603.0999994277954,"secureConnectionStart":458.5},{"duration":223.9000005722046,"initiatorType":"script","name":"https://jira.mariadb.org/s/c32eb0da7ad9831253f8397e6cc26afd-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":458.5999994277954,"connectEnd":458.5999994277954,"connectStart":458.5999994277954,"domainLookupEnd":458.5999994277954,"domainLookupStart":458.5999994277954,"fetchStart":458.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":458.5999994277954,"responseEnd":682.5,"responseStart":682.5,"secureConnectionStart":458.5999994277954},{"duration":227.60000038146973,"initiatorType":"script","name":"https://jira.mariadb.org/s/bc0bcb146314416123c992714ee00ff7-CDN/lu2bv2/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":458.8999996185303,"connectEnd":458.8999996185303,"connectStart":458.8999996185303,"domainLookupEnd":458.8999996185303,"domainLookupStart":458.8999996185303,"fetchStart":458.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":458.8999996185303,"responseEnd":686.5,"responseStart":686.5,"secureConnectionStart":458.8999996185303},{"duration":228.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":459.19999980926514,"connectEnd":459.19999980926514,"connectStart":459.19999980926514,"domainLookupEnd":459.19999980926514,"domainLookupStart":459.19999980926514,"fetchStart":459.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":459.19999980926514,"responseEnd":687.5,"responseStart":687.5,"secureConnectionStart":459.19999980926514},{"duration":229,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":459.29999923706055,"connectEnd":459.29999923706055,"connectStart":459.29999923706055,"domainLookupEnd":459.29999923706055,"domainLookupStart":459.29999923706055,"fetchStart":459.29999923706055,"redirectEnd":0,"redirectStart":0,"requestStart":459.29999923706055,"responseEnd":688.2999992370605,"responseStart":688.2999992370605,"secureConnectionStart":459.29999923706055},{"duration":291.69999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bv2/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":459.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":459.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":751.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":229.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":459.69999980926514,"connectEnd":459.69999980926514,"connectStart":459.69999980926514,"domainLookupEnd":459.69999980926514,"domainLookupStart":459.69999980926514,"fetchStart":459.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":459.69999980926514,"responseEnd":689,"responseStart":689,"secureConnectionStart":459.69999980926514},{"duration":291.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bv2/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":459.79999923706055,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":459.79999923706055,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":751.2999992370605,"responseStart":0,"secureConnectionStart":0},{"duration":231.29999923706055,"initiatorType":"script","name":"https://jira.mariadb.org/s/719848dd97ebe0663199f49a3936487a-CDN/lu2bv2/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":460,"connectEnd":460,"connectStart":460,"domainLookupEnd":460,"domainLookupStart":460,"fetchStart":460,"redirectEnd":0,"redirectStart":0,"requestStart":460,"responseEnd":691.2999992370605,"responseStart":691.2999992370605,"secureConnectionStart":460},{"duration":928.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":461.19999980926514,"connectEnd":461.19999980926514,"connectStart":461.19999980926514,"domainLookupEnd":461.19999980926514,"domainLookupStart":461.19999980926514,"fetchStart":461.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":461.19999980926514,"responseEnd":1389.3999996185303,"responseStart":1389.3999996185303,"secureConnectionStart":461.19999980926514},{"duration":929.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":461.19999980926514,"connectEnd":461.19999980926514,"connectStart":461.19999980926514,"domainLookupEnd":461.19999980926514,"domainLookupStart":461.19999980926514,"fetchStart":461.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":461.19999980926514,"responseEnd":1390.3999996185303,"responseStart":1390.3999996185303,"secureConnectionStart":461.19999980926514},{"duration":218.5999994277954,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":786.6999998092651,"connectEnd":786.6999998092651,"connectStart":786.6999998092651,"domainLookupEnd":786.6999998092651,"domainLookupStart":786.6999998092651,"fetchStart":786.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":786.6999998092651,"responseEnd":1005.2999992370605,"responseStart":1005.1999998092651,"secureConnectionStart":786.6999998092651},{"duration":349.1000003814697,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bv2/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":1048.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1048.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1397.5,"responseStart":0,"secureConnectionStart":0},{"duration":440.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":1049.3999996185303,"connectEnd":1049.3999996185303,"connectStart":1049.3999996185303,"domainLookupEnd":1049.3999996185303,"domainLookupStart":1049.3999996185303,"fetchStart":1049.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1049.3999996185303,"responseEnd":1490.2999992370605,"responseStart":1490.1999998092651,"secureConnectionStart":1049.3999996185303},{"duration":447.6000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/53a43b6764f587426c7bb9a150184c00-CDN/lu2bv2/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":1049.7999992370605,"connectEnd":1049.7999992370605,"connectStart":1049.7999992370605,"domainLookupEnd":1049.7999992370605,"domainLookupStart":1049.7999992370605,"fetchStart":1049.7999992370605,"redirectEnd":0,"redirectStart":0,"requestStart":1049.7999992370605,"responseEnd":1497.3999996185303,"responseStart":1497.3999996185303,"secureConnectionStart":1049.7999992370605}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":151,"responseStart":417,"responseEnd":445,"domLoading":454,"domInteractive":1443,"domContentLoadedEventStart":1443,"domContentLoadedEventEnd":1502,"domComplete":1816,"loadEventStart":1816,"loadEventEnd":1816,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1404.8999996185303},{"name":"bigPipe.sidebar-id.end","time":1405.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.start","time":1405.8999996185303},{"name":"bigPipe.activity-panel-pipe-id.end","time":1412.5},{"name":"activityTabFullyLoaded","time":1528.6999998092651}],"measures":[],"correlationId":"5e520d5f517eff","effectiveType":"4g","downlink":9.6,"rtt":0,"serverDuration":182,"dbReadsTimeInMs":33,"dbConnsTimeInMs":44,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
The (a) solution raises the question why server is not allowed to ignore unknown variables at the first place. If it's considered too dangerous, probably for bootstrap it is too.
The existing workaround with 'loose-' prefix seems more flexible than (b) – it allows to select which unrecognized options can be bypassed, rather than do it unconditionally.
The (c) solution, in addition to very likely human errors, might cause problems, because as I understand bootstrap only ignores plugins from mysql.plugin, while those requested via plugin-load are still loaded, and skipping their variables might be undesirable.
That said, both (a) and (b) are still viable. Assigning to serg for a decision.