Fedora Account System
Red Hat Associate
Red Hat Customer
I decided to run my user in a confined domain instead of unconfined_u. And I just found out that running htop trigger lots of avc : type=AVC msg=audit(1372967416.918:7792): avc: denied { getsched } for pid=25449 comm="htop" scontext=staff_u:staff_r:staff_t:s0 tcontext=system_u:system_r:getty_t:s0 tclass=process on various target domains, so I suspect that's 1 avc per process. And this make setroubleshoot taking all my cpu for a long time, which is how I found about the issue. Either that access should be noted as dontaudit, or htop should run in a specific domain, or setroubleshoot shouldn't take so much cpu.
$ rpm -q selinux-policy selinux-policy-3.12.1-57.fc19.noarch $ id -Z staff_u:staff_r:staff_t:s0
d8648e06cd463a86fb5e112b532fbb0d13424191 fixes this in git. +domain_getsched_all_domains(staff_t) If you add this to local policy you should get rid of the AVCs
selinux-policy-3.12.1-63.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-63.fc19
Package selinux-policy-3.12.1-63.fc19: * should fix your issue, * was pushed to the Fedora 19 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.12.1-63.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-12762/selinux-policy-3.12.1-63.fc19 then log in and leave karma (feedback).
selinux-policy-3.12.1-63.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.