Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
5.5(EOL), 10.0(EOL)
Description
As otto and I have been trying to package auth_socket.so install this plugin during install.
As Jean and I noticed https://lists.launchpad.net/maria-developers/msg08317.html you can't install a plugin during bootstrap as it automaticly enables --skip-grant-tables (effectively).
While you can insert into the plugin table directly this skips the init routes in the plugin, fine for auth_socket since it doesn't have any, however its a bad practice we probably don't want to encourage.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Description |
As [~otto] and I have been trying to package auth_socket.so install this plugin during install. As Jean and I noticed https://lists.launchpad.net/maria-developers/msg08317.html you can't install a plugin during bootstrap as it automaticly enables --skip-grant-tables (effectively). While you can insert into the plugin table directly this skips the init routes in the plugin, find for auth_socket since it doesn't have any, however its a bad practice we probably don't want to encourage. |
As [~otto] and I have been trying to package auth_socket.so install this plugin during install. As Jean and I noticed https://lists.launchpad.net/maria-developers/msg08317.html you can't install a plugin during bootstrap as it automaticly enables --skip-grant-tables (effectively). While you can insert into the plugin table directly this skips the init routes in the plugin, find for auth_socket since it doesn't have any, however its a bad practice we probably don't want to encourage. patch: https://github.com/MariaDB/server/pull/28 |
Labels | patch | |
Summary | cannot install/uninstall plugins during bootstrap | [PATCH] cannot install/uninstall plugins during bootstrap |
Fix Version/s | 10.0 [ 16000 ] |
Assignee | Sergei Golubchik [ serg ] |
Description |
As [~otto] and I have been trying to package auth_socket.so install this plugin during install. As Jean and I noticed https://lists.launchpad.net/maria-developers/msg08317.html you can't install a plugin during bootstrap as it automaticly enables --skip-grant-tables (effectively). While you can insert into the plugin table directly this skips the init routes in the plugin, find for auth_socket since it doesn't have any, however its a bad practice we probably don't want to encourage. patch: https://github.com/MariaDB/server/pull/28 |
As [~otto] and I have been trying to package auth_socket.so install this plugin during install. As Jean and I noticed https://lists.launchpad.net/maria-developers/msg08317.html you can't install a plugin during bootstrap as it automaticly enables --skip-grant-tables (effectively). While you can insert into the plugin table directly this skips the init routes in the plugin, find for auth_socket since it doesn't have any, however its a bad practice we probably don't want to encourage. patch: https://github.com/MariaDB/server/pull/29 |
Issue Type | Task [ 3 ] | Bug [ 1 ] |
Affects Version/s | 10.0 [ 16000 ] | |
Affects Version/s | 5.5 [ 15800 ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Description |
As [~otto] and I have been trying to package auth_socket.so install this plugin during install. As Jean and I noticed https://lists.launchpad.net/maria-developers/msg08317.html you can't install a plugin during bootstrap as it automaticly enables --skip-grant-tables (effectively). While you can insert into the plugin table directly this skips the init routes in the plugin, find for auth_socket since it doesn't have any, however its a bad practice we probably don't want to encourage. patch: https://github.com/MariaDB/server/pull/29 |
As [~otto] and I have been trying to package auth_socket.so install this plugin during install. As Jean and I noticed https://lists.launchpad.net/maria-developers/msg08317.html you can't install a plugin during bootstrap as it automaticly enables --skip-grant-tables (effectively). While you can insert into the plugin table directly this skips the init routes in the plugin, fine for auth_socket since it doesn't have any, however its a bad practice we probably don't want to encourage. patch: https://github.com/MariaDB/server/pull/29 |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Fix Version/s | 10.0.18 [ 18702 ] | |
Fix Version/s | 10.0 [ 16000 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Workflow | MariaDB v2 [ 60126 ] | MariaDB v3 [ 65625 ] |
Workflow | MariaDB v3 [ 65625 ] | MariaDB v4 [ 148898 ] |
If you INSERT directly into the plugin table, plugin is installed, but not loaded in memory. That is, is will be usable only after the server is restarted. Which is absolutely fine (and even desirable!) if you install a plugin for the user to use. But it's not fine if you install a plugin to use during bootstrap.
Anyway, I agree that allowing INSTALL/UNINSTALL plugin with --skip-grants is ok.