Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.4(EOL)
-
None
-
OS: CentOS 8
Description
The authentication using the PAM v2 module works, but produces a lot of zombie processes.
$ ps aux | grep auth_pam_tool
|
...
|
|
root 1637 0.0 0.0 0 0 ? Z Dez22 0:00 [auth_pam_tool] <defunct>
|
root 1638 0.0 0.0 0 0 ? Z Dez22 0:00 [auth_pam_tool] <defunct>
|
root 1639 0.0 0.0 0 0 ? Z Dez21 0:00 [auth_pam_tool] <defunct>
|
root 1640 0.0 0.0 0 0 ? Z Dez21 0:00 [auth_pam_tool] <defunct>
|
root 1641 0.0 0.0 0 0 ? Z Dez22 0:00 [auth_pam_tool] <defunct>
|
root 1642 0.0 0.0 0 0 ? Z 08:21 0:00 [auth_pam_tool] <defunct>
|
...
|
Configuration details:
- Using sssd with ldap backend for mariadb service
- OS: CentOS 8
Logs (to make clear authentifaction itself works):
Dez 23 14:30:59 web1 mysqld[13717]: pam_sss(mariadb:auth): authentication success; logname= uid=27 euid=27 tty= ruser= rhost= user=web_<removed>
|
Dez 23 14:31:01 web1 mysqld[13717]: pam_sss(mariadb:auth): authentication success; logname= uid=27 euid=27 tty= ruser= rhost= user=web_<removed>
|
Dez 23 14:31:01 web1 mysqld[13717]: pam_sss(mariadb:auth): authentication success; logname= uid=27 euid=27 tty= ruser= rhost= user=web_<removed>
|
/etc/pam.d/mariadb
auth required pam_sss.so domains=mariadb
|
account required pam_sss.so domains=mariadb
|
Attachments
Issue Links
- is caused by
-
MDEV-7032 new pam plugin with a suid wrapper
-
- Closed
-
-
MDEV-15473 Isolate/sandbox PAM modules, so that they can't crash the server
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Description |
The authentication using the PAM v2 module works, but produces a lot of zombie processes.
{{ $ ps aux | grep auth_pam_tool ... root 1637 0.0 0.0 0 0 ? Z Dez22 0:00 [auth_pam_tool] <defunct> root 1638 0.0 0.0 0 0 ? Z Dez22 0:00 [auth_pam_tool] <defunct> root 1639 0.0 0.0 0 0 ? Z Dez21 0:00 [auth_pam_tool] <defunct> root 1640 0.0 0.0 0 0 ? Z Dez21 0:00 [auth_pam_tool] <defunct> root 1641 0.0 0.0 0 0 ? Z Dez22 0:00 [auth_pam_tool] <defunct> root 1642 0.0 0.0 0 0 ? Z 08:21 0:00 [auth_pam_tool] <defunct> ...}} Configuration details: - Using sssd with ldap backend for mariadb service - OS: CentOS 8 Logs (to make clear authentifaction itself works): {{Dez 23 14:30:59 web1 mysqld[13717]: pam_sss(mariadb:auth): authentication success; logname= uid=27 euid=27 tty= ruser= rhost= user=web_<removed> Dez 23 14:31:01 web1 mysqld[13717]: pam_sss(mariadb:auth): authentication success; logname= uid=27 euid=27 tty= ruser= rhost= user=web_<removed> Dez 23 14:31:01 web1 mysqld[13717]: pam_sss(mariadb:auth): authentication success; logname= uid=27 euid=27 tty= ruser= rhost= user=web_<removed>}} |
The authentication using the PAM v2 module works, but produces a lot of zombie processes.
{noformat} $ ps aux | grep auth_pam_tool ... root 1637 0.0 0.0 0 0 ? Z Dez22 0:00 [auth_pam_tool] <defunct> root 1638 0.0 0.0 0 0 ? Z Dez22 0:00 [auth_pam_tool] <defunct> root 1639 0.0 0.0 0 0 ? Z Dez21 0:00 [auth_pam_tool] <defunct> root 1640 0.0 0.0 0 0 ? Z Dez21 0:00 [auth_pam_tool] <defunct> root 1641 0.0 0.0 0 0 ? Z Dez22 0:00 [auth_pam_tool] <defunct> root 1642 0.0 0.0 0 0 ? Z 08:21 0:00 [auth_pam_tool] <defunct> ... {noformat} Configuration details: - Using sssd with ldap backend for mariadb service - OS: CentOS 8 Logs (to make clear authentifaction itself works): {noformat} Dez 23 14:30:59 web1 mysqld[13717]: pam_sss(mariadb:auth): authentication success; logname= uid=27 euid=27 tty= ruser= rhost= user=web_<removed> Dez 23 14:31:01 web1 mysqld[13717]: pam_sss(mariadb:auth): authentication success; logname= uid=27 euid=27 tty= ruser= rhost= user=web_<removed> Dez 23 14:31:01 web1 mysqld[13717]: pam_sss(mariadb:auth): authentication success; logname= uid=27 euid=27 tty= ruser= rhost= user=web_<removed> {noformat} |
Affects Version/s | 10.4 [ 22408 ] | |
Affects Version/s | 10.4.10 [ 23907 ] |
Fix Version/s | 10.4 [ 22408 ] | |
Assignee | Sergei Golubchik [ serg ] |
Assignee | Sergei Golubchik [ serg ] | Elena Stepanova [ elenst ] |
Labels | need_feedback |
Description |
The authentication using the PAM v2 module works, but produces a lot of zombie processes.
{noformat} $ ps aux | grep auth_pam_tool ... root 1637 0.0 0.0 0 0 ? Z Dez22 0:00 [auth_pam_tool] <defunct> root 1638 0.0 0.0 0 0 ? Z Dez22 0:00 [auth_pam_tool] <defunct> root 1639 0.0 0.0 0 0 ? Z Dez21 0:00 [auth_pam_tool] <defunct> root 1640 0.0 0.0 0 0 ? Z Dez21 0:00 [auth_pam_tool] <defunct> root 1641 0.0 0.0 0 0 ? Z Dez22 0:00 [auth_pam_tool] <defunct> root 1642 0.0 0.0 0 0 ? Z 08:21 0:00 [auth_pam_tool] <defunct> ... {noformat} Configuration details: - Using sssd with ldap backend for mariadb service - OS: CentOS 8 Logs (to make clear authentifaction itself works): {noformat} Dez 23 14:30:59 web1 mysqld[13717]: pam_sss(mariadb:auth): authentication success; logname= uid=27 euid=27 tty= ruser= rhost= user=web_<removed> Dez 23 14:31:01 web1 mysqld[13717]: pam_sss(mariadb:auth): authentication success; logname= uid=27 euid=27 tty= ruser= rhost= user=web_<removed> Dez 23 14:31:01 web1 mysqld[13717]: pam_sss(mariadb:auth): authentication success; logname= uid=27 euid=27 tty= ruser= rhost= user=web_<removed> {noformat} |
The authentication using the PAM v2 module works, but produces a lot of zombie processes.
{noformat} $ ps aux | grep auth_pam_tool ... root 1637 0.0 0.0 0 0 ? Z Dez22 0:00 [auth_pam_tool] <defunct> root 1638 0.0 0.0 0 0 ? Z Dez22 0:00 [auth_pam_tool] <defunct> root 1639 0.0 0.0 0 0 ? Z Dez21 0:00 [auth_pam_tool] <defunct> root 1640 0.0 0.0 0 0 ? Z Dez21 0:00 [auth_pam_tool] <defunct> root 1641 0.0 0.0 0 0 ? Z Dez22 0:00 [auth_pam_tool] <defunct> root 1642 0.0 0.0 0 0 ? Z 08:21 0:00 [auth_pam_tool] <defunct> ... {noformat} Configuration details: - Using sssd with ldap backend for mariadb service - OS: CentOS 8 Logs (to make clear authentifaction itself works): {noformat} Dez 23 14:30:59 web1 mysqld[13717]: pam_sss(mariadb:auth): authentication success; logname= uid=27 euid=27 tty= ruser= rhost= user=web_<removed> Dez 23 14:31:01 web1 mysqld[13717]: pam_sss(mariadb:auth): authentication success; logname= uid=27 euid=27 tty= ruser= rhost= user=web_<removed> Dez 23 14:31:01 web1 mysqld[13717]: pam_sss(mariadb:auth): authentication success; logname= uid=27 euid=27 tty= ruser= rhost= user=web_<removed> {noformat} /etc/pam.d/mariadb {noformat} auth required pam_sss.so domains=mariadb account required pam_sss.so domains=mariadb {noformat} |
Labels | need_feedback |
Assignee | Elena Stepanova [ elenst ] | Sergei Golubchik [ serg ] |
Assignee | Sergei Golubchik [ serg ] | Alexey Botchkov [ holyfoot ] |
Component/s | Plugin - pam [ 10500 ] |
Link |
This issue is caused by |
Priority | Major [ 3 ] | Critical [ 2 ] |
Fix Version/s | 10.5 [ 23123 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Alexey Botchkov [ holyfoot ] | Sergei Golubchik [ serg ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Sergei Golubchik [ serg ] | Alexey Botchkov [ holyfoot ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
issue.field.resolutiondate | 2020-07-10 19:40:30.0 | 2020-07-10 19:40:30.852 |
Fix Version/s | 10.4.14 [ 24305 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Link | This issue is blocked by TODO-2473 [ TODO-2473 ] |
Fix Version/s | 10.5.5 [ 24423 ] |
Workflow | MariaDB v3 [ 102646 ] | MariaDB v4 [ 157143 ] |
Zendesk Related Tickets | 172177 130723 122545 161549 |