[MDEV-20569] Plugin dialog could not be loaded (wrong path) Created: 2019-09-12 Updated: 2020-08-25 Resolved: 2019-10-31 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Authentication and Privilege System |
| Affects Version/s: | 10.2.27, 10.3.18, 10.4.8 |
| Fix Version/s: | 10.2.28, 10.3.19, 10.4.9 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Nicolas Payart | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 6 |
| Labels: | authentication, client, pam, plugins | ||
| Environment: |
Linux Debian 9.11 (Stretch), mariadb-server installed using APT repository from downloads.mariadb.org |
||
| Issue Links: |
|
||||||||||||||||||||||||
| Description |
|
Since I upgraded from MariaDB 10.3.17 to 10.3.18, using apt upgrade (Debian Stretch) followed by a mysql_upgrade, I can't authenticate anymore using PAM:
=> As you can see, Plugin Path /usr//usr/lib/mysql/plugin/dialog.so is wrong (duplicate prefix /usr/) Here are my current settings:
Specifying the right path for plugin-dir on the command line fixes the problem:
|
| Comments |
| Comment by Laszlo Soos [ 2019-09-12 ] | |||||||||||
|
Same on 10.4.8 with clear_password.
| |||||||||||
| Comment by Geoff Montee (Inactive) [ 2019-09-17 ] | |||||||||||
|
An almost identical bug was just fixed in the previous round of releases. See | |||||||||||
| Comment by Geoff Montee (Inactive) [ 2019-09-18 ] | |||||||||||
|
Maybe this was broken by this change that was part of the fix for | |||||||||||
| Comment by Timofey Turenko [ 2019-09-26 ] | |||||||||||
|
run into the same problem with Maxscale kerberos tests: (test does "echo select User,Host from mysql.user | mysql --ssl -uusr1 -h maxscale.maxscale.test -P 4006"):
| |||||||||||
| Comment by John Howe [ 2019-10-03 ] | |||||||||||
|
I am seeing the same issue with Debian 8.11, mariadb 10.2.27+maria~jessie Since I can't downgrade the packages, I have a temporary work-around by adding the following under /etc/mysql/mariadb.conf.d/99-20569-hotfix.cnf Fix for https://jira.mariadb.org/browse/MDEV-20569 | |||||||||||
| Comment by Hartmut Holzgraefe [ 2019-10-07 ] | |||||||||||
|
On 10.2.27 the compiled in default plugin dir path is clearly wrong:
Same on 10.2.26 returns expected result:
| |||||||||||
| Comment by Georg Richter [ 2019-10-11 ] | |||||||||||
|
Sanja, could you please check if changeset 8e6812be71d0b44d302fda84d53a6ec106b48296 will fix the problem? | |||||||||||
| Comment by Stefan Scherfke [ 2019-10-15 ] | |||||||||||
|
I have a similar problem with the python-mariadbclient: When I try to perform gssapi-auth with it, I get `/home/...env//hom/...env/lib/plugin/auth_gssapi_client.so: cannot open shared object file: No such file or directory')`. The changes 8e6812be71d0b44d302fda84d53a6ec106b48296 fixes the problem for me. |