[MDEV-14367] /etc/logrotate.d/mysql-server failure - error: 'Plugin 'unix_socket' is not loaded' Created: 2017-11-11 Updated: 2022-10-21 Resolved: 2020-05-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging, Platform Debian |
| Affects Version/s: | 10.2.10 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Laurent Declercq | Assignee: | Otto Kekäläinen |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Environment: |
root@stretch:~# lsb_release -a |
||
| Issue Links: |
|
||||||||||||
| Description |
|
In MariaDB server 10.2.10 debian package (stretch), there is a LOGROTATE(8) configuration file that run a task that requires SQL root user privileges. Problem is that when upgrading from MariaDB 10.1 (package from Debian team) to MariaDB 10.2 (package from MariaDB team), the unix_socket authentication plugin that is enabled by default with MariaDB 10.1 get disabled and so, the log rotation fails:
As you can see above, the debian.cnf file doesn't contain any password for the SQL root user because when installing MariaDB using Debian package, the unix_socket auth plugin is activated by default. However when upgrading to MariaDB 10.2.10 (your package), the plugin get deactivated. |
| Comments |
| Comment by Otto Kekäläinen [ 2020-05-21 ] |
|
Upgrading from Debian.org packages to MariaDB.org is not supported, not at least as long as |