Hide Forgot
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
*** This bug has been marked as a duplicate of bug 1370779 ***