Bug 171191
| Summary: | MySQL fails to change its resource limits | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andrew Stribblehill <a.d.stribblehill> |
| Component: | selinux-policy-targeted | Assignee: | Daniel Walsh <dwalsh> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-05-05 15:03:33 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Fixed in selinux-policy-targeted-1.27.1-2.14 Closing as these have been marked as modified, for a while. Feel free to reopen if not fixed |
Description of problem: MySQL wants to change resource limits, presumably to allow it to open more than the default 1024 files. It's being turned down by the default targeted policy: type=AVC msg=audit(1129710527.170:31578): avc: denied { sys_resource } for pid=14869 comm="mysqld" capability=24 scontext=root:system_r:mysqld_t tcontext=root:system_r:mysqld_t tclass=capability type=AVC msg=audit(1129710527.170:31578): avc: denied { setrlimit } for pid=14869 comm="mysqld" scontext=root:system_r:mysqld_t tcontext=root:system_r:mysqld_t tclass=process type=SYSCALL msg=audit(1129710527.170:31578): arch=c000003e syscall=160 success=yes exit=0 a0=7 a1=7fffff9043f0 a2=46e a3=d2e6e0 items=0 pid=14869 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 comm="mysqld" exe="/usr/libexec/mysqld" Version-Release number of selected component (if applicable): # rpm -q selinux-policy-targeted selinux-policy-targeted-1.27.1-2.3 How reproducible: Always Steps to Reproduce: 1./etc/init.d/mysql stop 2./etc/init.d/mysql start 3.view /var/log/audit/audit.log Actual results: Expected results: Additional info: