Failure while installing the 'socket_peercred' plugin

Bug #893935 reported by derVerzweifler
6
This bug affects 1 person
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-beta-mariadb102~natty-log |
+-----------------------------------------+

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://bugs.mysql.com/bug.php?id=59017

Changed in ubuntu:
status: New → Invalid
Revision history for this message
Elena Stepanova (elenst) wrote :

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.

Changed in maria:
milestone: none → 5.2
assignee: nobody → Sergei (sergii)
Changed in maria:
status: New → Fix Committed
importance: Undecided → Medium
Revision history for this message
Sergei Golubchik (sergii) wrote :

it's the same as in MySQL. It's already fixed, renamed to "unix_socket"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.