auth_pam.so shared library missing from RPM

Bug #1268246 reported by monty solomon
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
High
Alexey Bychko
5.1
Invalid
Undecided
Unassigned
5.5
Invalid
Undecided
Unassigned
5.6
Fix Released
High
Alexey Bychko

Bug Description

mysql> INSTALL PLUGIN auth_pam SONAME 'auth_pam.so';
ERROR 1126 (HY000): Can't open shared library '/usr/lib64/mysql/plugin/auth_pam.so' (errno: 2 /usr/lib64/mysql/plugin/auth_pam.so: cannot open shared object file: No such file or directory)

mysql> INSTALL PLUGIN auth_pam_compat SONAME 'auth_pam_compat.so';
ERROR 1126 (HY000): Can't open shared library '/usr/lib64/mysql/plugin/auth_pam_compat.so' (errno: 2 /usr/lib64/mysql/plugin/auth_pam_compat.so: cannot open shared object file: No such file or directory)

mysql> select @@version;
+---------------+
| @@version |
+---------------+
| 5.6.15-56-log |
+---------------+
1 row in set (0.00 sec)

Tags: pkg

Related branches

Revision history for this message
monty solomon (monty+launchpad) wrote :

# yum list installed | grep Percona
Percona-Server-client-56.x86_64 5.6.15-rel63.0.519.rhel6
Percona-Server-devel-56.x86_64 5.6.15-rel63.0.519.rhel6
Percona-Server-server-56.x86_64 5.6.15-rel63.0.519.rhel6
Percona-Server-shared-56.x86_64 5.6.15-rel63.0.519.rhel6
Percona-Server-shared-compat.x86_64

Linux 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

CentOS release 6.5 (Final)

Server version: 5.6.15-56-log Percona Server (GPL), Release rel63.0, Revision 519

Revision history for this message
monty solomon (monty+launchpad) wrote :

It appears that the plugin is only in the XtraDB packages for version 5.6

# yum -q provides /usr/lib64/mysql/plugin/auth_pam.so /usr/lib64/mysql/plugin/auth_pam_compat.so | grep server-56

1:Percona-XtraDB-Cluster-server-56-5.6.14-25.1.571.rhel6.x86_64 : Percona XtraDB
1:Percona-XtraDB-Cluster-server-56-5.6.14-25.1.570.rhel6.x86_64 : Percona XtraDB
1:Percona-XtraDB-Cluster-server-56-5.6.15-25.2.645.rhel6.x86_64 : Percona XtraDB
1:Percona-XtraDB-Cluster-server-56-5.6.14-25.1.571.rhel6.x86_64 : Percona XtraDB
1:Percona-XtraDB-Cluster-server-56-5.6.14-25.1.570.rhel6.x86_64 : Percona XtraDB
1:Percona-XtraDB-Cluster-server-56-5.6.15-25.2.645.rhel6.x86_64 : Percona XtraDB

# yum -q provides /usr/lib64/mysql/plugin/auth_pam.so /usr/lib64/mysql/plugin/auth_pam_compat.so | grep server-55

Percona-Server-server-55-5.5.34-rel32.0.591.rhel6.x86_64 : Percona Server: a
Percona-Server-server-55-5.5.33-rel31.1.566.rhel6.x86_64 : Percona Server: a
Percona-Server-server-55-5.5.35-rel33.0.611.rhel6.x86_64 : Percona Server: a
1:Percona-XtraDB-Cluster-server-55-5.5.34-25.9.607.rhel6.x86_64 : Percona XtraDB
Percona-Server-server-55-5.5.34-rel32.0.591.rhel6.x86_64 : Percona Server: a
Percona-Server-server-55-5.5.33-rel31.1.566.rhel6.x86_64 : Percona Server: a
Percona-Server-server-55-5.5.35-rel33.0.611.rhel6.x86_64 : Percona Server: a
1:Percona-XtraDB-Cluster-server-55-5.5.34-25.9.607.rhel6.x86_64 : Percona XtraDB

Revision history for this message
Valerii Kravchuk (valerii-kravchuk) wrote :

Confirmed as described on CentOS 6.5. These files were also missing in PS 5.6.14.

tags: added: pkg
Revision history for this message
Jericho Rivera (jericho-rivera) wrote :

Getting the same bug in Ubuntu, note that binaries came from experimental repository.

mysql> INSTALL PLUGIN auth_pam SONAME 'auth_pam.so';
ERROR 1126 (HY000): Can't open shared library '/usr/lib/mysql/plugin/auth_pam.so' (errno: 2 /usr/lib/mysql/plugin/auth_pam.so: cannot open shared object file: No such file or directory)
mysql> INSTALL PLUGIN auth_pam_compat SONAME 'auth_pam_compat.so';
ERROR 1126 (HY000): Can't open shared library '/usr/lib/mysql/plugin/auth_pam_compat.so' (errno: 2 /usr/lib/mysql/plugin/auth_pam_compat.so: cannot open shared object file: No such file or directory)
mysql> select @@version;
+-----------------------+
| @@version |
+-----------------------+
| 5.6.16-64.0-1.precise |
+-----------------------+
1 row in set (0.00 sec)

root@ubuntu:/home/percona# dpkg --get-selections | grep percona
libperconaserverclient-dev install
libperconaserverclient18.1 install
libperconaserverclient18.1-dev install
percona-server-client-5.6 install
percona-server-common-5.6 install
percona-server-server-5.6 install
percona-server-tokudb-5.6 install
percona-toolkit install

I will try to test this again as soon as official binaries are released.

Revision history for this message
Jericho Rivera (jericho-rivera) wrote :

Only affects PS version 5.6.16-64.01 from experimental repo as stated on #4.

Can't reproduce on Official repos for PS 5.6.16 for CentOS 6.x.

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-753

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.