Description of problem: I'm in the process of configuring Openstack (keystone service atm.), and noticed this alert SELinux is preventing /usr/bin/python2.7 from using the 'setsched' accesses on a process. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that python2.7 should be allowed setsched access on processes labeled keystone_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 keystone-all /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:keystone_t:s0 Target Context system_u:system_r:keystone_t:s0 Target Objects [ process ] Source keystone-all Source Path /usr/bin/python2.7 Port <Unknown> Host (removed) Source RPM Packages python-2.7.3-13.fc18.x86_64 Target RPM Packages Policy RPM selinux-policy-3.11.1-74.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.7.5-201.fc18.x86_64 #1 SMP Mon Jan 28 19:54:41 UTC 2013 x86_64 x86_64 Alert Count 3 First Seen 2013-02-09 09:16:41 CET Last Seen 2013-02-09 09:43:04 CET Local ID b7b15f3a-2eac-487f-87a2-87d252ca6288 Raw Audit Messages type=AVC msg=audit(1360399384.916:915): avc: denied { setsched } for pid=12496 comm="keystone-all" scontext=system_u:system_r:keystone_t:s0 tcontext=system_u:system_r:keystone_t:s0 tclass=process type=SYSCALL msg=audit(1360399384.916:915): arch=x86_64 syscall=sched_setscheduler success=no exit=EACCES a0=30d0 a1=0 a2=7fffc41bfad0 a3=1 items=0 ppid=1 pid=12496 auid=4294967295 uid=163 gid=163 euid=163 suid=163 fsuid=163 egid=163 sgid=163 fsgid=163 ses=4294967295 tty=(none) comm=keystone-all exe=/usr/bin/python2.7 subj=system_u:system_r:keystone_t:s0 key=(null) Hash: keystone-all,keystone_t,keystone_t,process,setsched audit2allow #============= keystone_t ============== allow keystone_t self:process setsched; audit2allow -R #============= keystone_t ============== allow keystone_t self:process setsched; Additional info: hashmarkername: setroubleshoot kernel: 3.7.5-201.fc18.x86_64 type: libreport
Added.
selinux-policy-3.11.1-78.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-78.fc18
Package selinux-policy-3.11.1-78.fc18: * should fix your issue, * was pushed to the Fedora 18 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.11.1-78.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-2588/selinux-policy-3.11.1-78.fc18 then log in and leave karma (feedback).
selinux-policy-3.11.1-78.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.