Bug 426877
Summary: | MySQL access denied on shmget call for HugeTLB | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Andrig Miller <andrig.t.miller> |
Component: | selinux-policy-targeted | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ben Levenson <benl> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 8 | ||
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-02-20 22:12:59 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
Andrig Miller
2007-12-27 20:36:00 UTC
You can allow this for now by executing # audit2allow -M mypol -i /var/log/audit/audit.log # semodule -i mypol.pp Fixed in selinux-policy-3.0.8-73.fc8 I am now on selinux-policy-3.0.8-76.fc8 and I still have to do a setenforce=0 for MySQL to be able to access hugetlb memory. Here is the message in /var/log: Jan 24 12:37:40 jbosstesting kernel: audit(1201203460.943:7): avc: denied { read write } for pid=1997 comm="mysqld" path=2F535953563030303030303030202864656C6574656429 dev=hugetlbfs ino=0 scontext=root:system_r:mysqld_t:s0 tcontext=system_u:object_r:hugetlbfs_t:s0 tclass=file You can allow this for now by executing # audit2allow -M mypol -i /var/log/audit/audit.log # semodule -i mypol.pp Fixed in selinux-policy-3.0.8-82.fc8 I retested this with 3.0.8-84, and it now works as expected. |