[MXS-2293] Monitor fails PAM authentication with error: Plugin dialog could not be loaded Created: 2019-01-26 Updated: 2020-08-25 Resolved: 2019-01-30 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Authenticator, galeramon, Monitor |
| Affects Version/s: | 2.3.3 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Esa Korhonen |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
I enabled PAM authentication in MaxScale 2.3.3, and I'm now seeing GaleraMon fail because it can't load dialog.so. For example:
Is the MaxScale package supposed to include a file /var/lib/plugin/dialog.so? It does not seem to:
I know that the MariaDB-common package includes a dialog.so file, but that is not in /var/lib/plugin either:
Is the maxscale package supposed to install its own dialog.so, or is it supposed to have a dependency on the MariaDB-common package, and load the dialog.so plugin from /usr/lib64/mysql/plugin/? I was able to workaround the problem with:
|
| Comments |
| Comment by markus makela [ 2019-01-28 ] | ||||||||||||||
|
Did the monitor user use PAM authentication as well? If it didn't, I'd expect it to work. | ||||||||||||||
| Comment by Geoff Montee (Inactive) [ 2019-01-28 ] | ||||||||||||||
|
Yeah, the monitor user used PAM authentication. If you want all of the details, it's the configuration that I used in | ||||||||||||||
| Comment by markus makela [ 2019-01-30 ] | ||||||||||||||
|
Maybe this can be fixed by adjusting connector_plugindir and installing the required libraries? | ||||||||||||||
| Comment by Geoff Montee (Inactive) [ 2019-01-30 ] | ||||||||||||||
|
Pointing connector_plugindir to the proper location solved the issue:
Is there a specific reason that connector_plugindir defaults to /var/lib/plugin? I think it should default to the location where the MariaDB-common package installs authentication plugins on the specific OS. On RHEL/CentOS, that's /usr/lib64/mysql/plugin/:
| ||||||||||||||
| Comment by Geoff Montee (Inactive) [ 2019-01-30 ] | ||||||||||||||
|
I created |