Additional info: libreport version: 2.0.13 kernel: 3.5.3-1.fc17.x86_64 description: :SELinux is preventing /usr/sbin/sysctl from using the 'setsched' accesses on a process. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that sysctl should be allowed setsched access on processes labeled kernel_t 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: :# grep sysctl /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:tuned_t:s0 :Target Context system_u:system_r:kernel_t:s0 :Target Objects [ process ] :Source sysctl :Source Path /usr/sbin/sysctl :Port <Unknown> :Host (removed) :Source RPM Packages procps-3.2.8-26.20110302git.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-146.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.5.3-1.fc17.x86_64 #1 SMP Wed Aug : 29 18:46:34 UTC 2012 x86_64 x86_64 :Alert Count 1 :First Seen 2012-09-17 18:05:28 EEST :Last Seen 2012-09-17 18:05:28 EEST :Local ID 0aa8d9d0-9bee-405f-a5bf-c7636e72110d : :Raw Audit Messages :type=AVC msg=audit(1347894328.311:489): avc: denied { setsched } for pid=10290 comm="sysctl" scontext=system_u:system_r:tuned_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process : : :type=AVC msg=audit(1347894328.311:489): avc: denied { setsched } for pid=10290 comm="sysctl" scontext=system_u:system_r:tuned_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process : : :type=SYSCALL msg=audit(1347894328.311:489): arch=x86_64 syscall=write success=yes exit=ENOENT a0=5 a1=7fef4df15000 a2=2 a3=22 items=0 ppid=908 pid=10290 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=sysctl exe=/usr/sbin/sysctl subj=system_u:system_r:tuned_t:s0 key=(null) : :Hash: sysctl,tuned_t,kernel_t,process,setsched : :audit2allow : :#============= tuned_t ============== :allow tuned_t kernel_t:process setsched; : :audit2allow -R : :#============= tuned_t ============== :allow tuned_t kernel_t:process setsched; :
Created attachment 613710 [details] File: type
Created attachment 613711 [details] File: hashmarkername
This should be allowed.
Added. commit 8bdb24d3b2a231127459415b507125c6691319aa Author: Miroslav Grepl <mgrepl> Date: Wed Oct 17 10:10:47 2012 +0200 Allow tuned to setsched kernel
selinux-policy-3.10.0-156.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-156.fc17
Package selinux-policy-3.10.0-156.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-156.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-16347/selinux-policy-3.10.0-156.fc17 then log in and leave karma (feedback).
selinux-policy-3.10.0-156.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.