Bug 192904
Summary: | Default policy for MySQL disallows setting open_files_limit | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Grant Robinson <grant> |
Component: | selinux-policy-targeted | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0 | CC: | dwalsh |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Current | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-01-30 19:05:34 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: |
Description
Grant Robinson
2006-05-23 22:42:58 UTC
What AVC messages are you seeing? audit(1148420382.015:56): avc: denied { sys_resource } for pid=23201 co mm="mysqld" capability=24 scontext=root:system_r:mysqld_t tcontext=root:system_r:mysqld_t tclass=capab ility BTW, these are the two lines that I changed in /etc/selinux/targeted/src/policy/domains/program/ mysqld.te: allow mysqld_t self:capability { dac_override setgid setuid net_bind_service sys_resource }; allow mysqld_t self:process { setsched getsched setrlimit rlimitinh }; The combination of those two works. Just adding the 'setrlimit' to self:process did not work, but I didn't try adding just 'sys_resource' to self:capability. Fixed in selinux-policy-targeted-1.17.30-2.138 Bulk closing a old selinux policy bugs that were in the modified state. If the bug is still not fixed. Please reopen. |