| Summary: | SELinux is preventing ksmtuned from 'write' accesses on the directory ksm. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michael Hampton <error> |
| 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: | 25 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl, plautrba, pmoore, ssekidde |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:260f4ec05ad8e364ade139acc825b11673113cfc5d9c1046e9e6efd3beb53a8f;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-12-07 02:13:12 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 1370779 *** |
Description of problem: Still an issue in latest selinux-policy 3.13.1-225. Reproduced with: dnf -y install ksm systemctl start ksmtuned SELinux is preventing ksmtuned from 'write' accesses on the directory ksm. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that ksmtuned should be allowed write access on the ksm directory 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 'ksmtuned' --raw | audit2allow -M my-ksmtuned # semodule -X 300 -i my-ksmtuned.pp Additional Information: Source Context system_u:system_r:ksmtuned_t:s0 Target Context system_u:object_r:sysfs_t:s0 Target Objects ksm [ dir ] Source ksmtuned Source Path ksmtuned Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-225.fc25.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.8.10-300.fc25.x86_64 #1 SMP Mon Nov 21 18:59:16 UTC 2016 x86_64 x86_64 Alert Count 2 First Seen 2016-12-06 21:10:08 EST Last Seen 2016-12-06 21:10:08 EST Local ID a4793dad-d93b-42ca-81d4-6f89bf32ea35 Raw Audit Messages type=AVC msg=audit(1481076608.815:15396): avc: denied { write } for pid=9791 comm="ksmtuned" name="ksm" dev="sysfs" ino=6567 scontext=system_u:system_r:ksmtuned_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=dir permissive=0 Hash: ksmtuned,ksmtuned_t,sysfs_t,dir,write Version-Release number of selected component: selinux-policy-3.13.1-225.fc25.noarch Additional info: reporter: libreport-2.8.0 hashmarkername: setroubleshoot kernel: 4.8.10-300.fc25.x86_64 type: libreport Potential duplicate: bug 1370779