Bug 1483712
| Summary: | SELinux is preventing mysqld from 'map' accesses on the file /var/lib/mysql/tc.log. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mikhail <mikhail.v.gavrilov> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 28 | CC: | dominick.grift, dwalsh, lsm5, lvrabec, mgrepl, plautrba, pmoore, ssekidde |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:c222a5a60e507d93440552e5e8eb3a0baf15c523b0cb03603e6cf3dacb116049;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-07-03 11:11:58 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: | |||
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle. Changing version to '28'. *** This bug has been marked as a duplicate of bug 1483331 *** |
Description of problem: SELinux is preventing mysqld from 'map' accesses on the file /var/lib/mysql/tc.log. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that mysqld should be allowed map access on the tc.log file by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # ausearch -c 'mysqld' --raw | audit2allow -M my-mysqld # semodule -X 300 -i my-mysqld.pp Additional Information: Source Context system_u:system_r:mysqld_t:s0 Target Context system_u:object_r:mysqld_db_t:s0 Target Objects /var/lib/mysql/tc.log [ file ] Source mysqld Source Path mysqld Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-272.fc28.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 4.13.0-0.rc5.git4.1.fc28.x86_64 #1 SMP Fri Aug 18 20:40:13 UTC 2017 x86_64 x86_64 Alert Count 13 First Seen 2017-08-20 19:24:45 +05 Last Seen 2017-08-20 20:19:25 +05 Local ID 1f980378-c5ec-44d7-b32d-f317868dda0f Raw Audit Messages type=AVC msg=audit(1503242365.257:65267): avc: denied { map } for pid=30111 comm="mysqld" path="/var/lib/mysql/tc.log" dev="sda1" ino=3671073 scontext=system_u:system_r:mysqld_t:s0 tcontext=system_u:object_r:mysqld_db_t:s0 tclass=file permissive=1 Hash: mysqld,mysqld_t,mysqld_db_t,file,map Version-Release number of selected component: selinux-policy-3.13.1-272.fc28.noarch Additional info: component: selinux-policy reporter: libreport-2.9.1 hashmarkername: setroubleshoot kernel: 4.13.0-0.rc5.git4.1.fc28.x86_64 type: libreport