[MDEV-26321] plugin_dir inconditionally defaults to "/usr" despite being set Created: 2021-08-09 Updated: 2021-08-09 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Configuration |
| Affects Version/s: | 10.3.29 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Bilel | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | configuration, plugin-dir | ||
| Environment: |
Debian 10.10.0 amd 64 / mariadb-server 10.3.29-0+deb10u1 |
||
| Attachments: |
|
| Description |
|
Whereas plugin_dir being natively set to `/usr/lib/x86_64-linux-gnu/mariadb19/plugin` (confirmed by the output of the command show variables like 'plugin_dir';), adding any plugin in the section [mariadb] of the file _ /etc/mysql/mariadb.conf.d/50-server.cnf_ file and then running mysql_install_db results in the following error in the logs /var/log/mysql/error.log :
The expected behavior would be to look into /usr/lib/x86_64-linux-gnu/mariadb19/plugin since this value is correctly (and by default) set. To dig more, I tried to manually set the plugin_dir value in my.cnf and the result is the same. The only (dirty) workaround I found at the moment is to copy all *.so from /usr/lib/x86_64-linux-gnu/mariadb19/plugin to /usr/ |