[MDEV-5090] troubles on smp/multicore systems with mariadb+pam+ldap+openssl Created: 2013-10-01 Updated: 2018-12-03 Resolved: 2018-12-03 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Plugin - pam |
| Affects Version/s: | 5.5.33 |
| Fix Version/s: | 10.4.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Dmitry Bakshaev | Assignee: | Alexey Botchkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | crash | ||
| Environment: |
gentoo linux: software versions: |
||
| Description |
|
details: /etc/mysql/my.cnf:
/etc/pam.d/mysql:
/etc/ldap_mysql.conf:
stress test
|
| Comments |
| Comment by John W Smith [ 2014-07-17 ] |
|
I think we just encountered this (or a very similar issue) with 5.5.38 running on Ubuntu 12.04 LTS. Server version: 5.5.38-MariaDB-1~precise-log Thread pointer: 0x0x7f1f9c424000 Trying to get some variables. Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off |
| Comment by Dmitry Bakshaev [ 2015-08-18 ] |
|
i found workaround for this problem: replace pam_ldap (http://www.padl.com/OSS/pam_ldap.html) with nss-pam-ldapd (http://arthurdejong.org/nss-pam-ldapd/) maybe this is not mariadb bug? pam_ldap related? close it? |
| Comment by Elena Stepanova [ 2015-08-19 ] |
|
JWSmith, did you also find any kind of a workaround? Does the one suggested by dab1818 work for you as well? |
| Comment by John W Smith [ 2015-08-19 ] |
|
We moved to MariaDB v10.0.x series, which does not exhibit the same issue. MariaDB v10.0.x series has worked flawlessly for several months in our development environment. We currently use the OS version of Centrify on our production MariaDB 5.5.x DB server. We plan on migrating production to Maria v10.0.x series soon, and plan to migrate those systems to pam_ldap at that time. |
| Comment by Dmitry Bakshaev [ 2015-08-20 ] |
|
retested on mariadb-10.0.21 with pam_ldap-186. p.s.: also i need retest auth_pam with sssd (https://fedorahosted.org/sssd/) |
| Comment by Sergei Golubchik [ 2018-12-03 ] |
|
pam_ldap is apparently not thread-safe. But after |