Failure while installing the 'socket_peercred' plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Fix Committed
|
Medium
|
Sergei Golubchik | ||
Ubuntu |
Invalid
|
Undecided
|
Unassigned |
Bug Description
There is an error occuried while installing the socket_peercred plugin:
MariaDB [(none)]> select version();
+------
| version() |
+------
| 5.3.2-MariaDB-
+------
MariaDB [(none)]> INSTALL PLUGIN socket_peercred SONAME 'auth_socket.so';
Query OK, 0 rows affected, 1 warning (0.00 sec)
MariaDB [(none)]> show warnings;
+------
| Level | Code | Message |
+------
| Warning | 1123 | Can't initialize function 'socket_peercred'; Plugin is disabled |
+------
Is this the same bug described on mysql.com? http://
Changed in ubuntu: | |
status: | New → Invalid |
Changed in maria: | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
Reproducible on MariaDB 5.2 and 5.3 (fixed in 5.5 as described in http:// bugs.mysql. com/bug. php?id= 59017).
To reproduce it, start the server with --socket command-line or config option.
MTR test is a one-liner:
INSTALL PLUGIN socket_peercred SONAME 'auth_socket.so';
It fails on 5.2 and 5.3 due to the warning; fails on 5.5 too, but only because the plugin was renamed there.