Bug 1202042

Summary: MariaDB auth_pam.so plugin or other auth plugins cannot be used
Product: Red Hat Enterprise Linux 7 Reporter: Honza Horak <hhorak>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Stanislav Zidek <szidek>
Severity: medium Docs Contact:
Priority: high    
Version: 7.2CC: bgollahe, dominick.grift, dwalsh, extras-qa, hhorak, jdornak, jherrman, jstanek, ksrot, lvrabec, mgrepl, mmalik, mmuzila, plautrba, pvrabec, qe-baseos-security, ssekidde, szidek, zboszor
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.13.1-25.el7 Doc Type: Bug Fix
Doc Text:
When a MariaDB plug-in was added to the server.cnf or my.cnf files and the user was created to authenticate using Pluggable Authentication Module (PAM) in the mysqld service, the plug-in could not be loaded. To fix this bug, SELinux policy rules have been updated, and the plug-in is now loaded successfully.
Story Points: ---
Clone Of: 1201413
: 1214236 1233095 (view as bug list) Environment:
Last Closed: 2015-11-19 10:29:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1196104, 1201413    
Bug Blocks: 1208765, 1214236, 1233095    

Comment 2 Miroslav Grepl 2015-04-22 08:58:26 UTC
commit 753cdf44488688e438a2c191ef2253b186f59d93
Author: Miroslav Grepl <mgrepl>
Date:   Wed Apr 1 10:34:28 2015 +0200

    Allow mysqld_t to use pam.It is needed by MariDB if auth_apm.so auth plugin is used.

Comment 8 errata-xmlrpc 2015-11-19 10:29:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2300.html