[MDEV-19850] per-plugin install/uninstall scriptlets Created: 2019-06-24 Updated: 2023-05-27 |
|
| Status: | Stalled |
| Project: | MariaDB Server |
| Component/s: | Plugins |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Sergei Golubchik | Assignee: | Sergei Golubchik |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Description |
|
plugins should be able to provide install/uninstall/upgrade scriptlets (at least shell, perhaps sql too). they'll be called at the appropriate places by rpm/dpkg as needed. in bintars install scriptlets will be run by mysql_install_db and mysql_upgrade. See also |
| Comments |
| Comment by Sergei Golubchik [ 2019-07-09 ] |
|
Another option (as suggested in That might work if there's an SQL scriptlet to run. But it cannot do a shell scriptlet. |
| Comment by Sergei Golubchik [ 2019-07-10 ] |
|
shell scriptlets can be used by pam plugin to fix filesystem permissions |
| Comment by Sergei Golubchik [ 2019-09-15 ] |
|
running from rpm/deb: |
| Comment by Sergei Golubchik [ 2019-09-15 ] |
|
running sql scriptlets by the server on INSTALL PLUGIN: |