abrt-2.1.9-1.fc20.x86_64 audit-2.3.2-1.fc20.x86_64 I got the following report: SELinux is preventing /usr/bin/gdb from using the ptrace access on a process. Alright, wanting to give the permissions for this session, I am reading # grep gdb /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp As the command to use. But the first command returns me: compilation failed: sh: /usr/bin/checkmodule: No such file or directory
Shouldn't the checkpolicy package providing checkmodule be required by abrt?
SELinux errors may be generated by any application, not just abrt. The dependency should be in policycoreutils package which contains audit2allow and semodule commands. Reassigning.
I also got the "sh: /usr/bin/checkmodule: No such file or directory" error message when trying to compile a new SELinux policy module. ABRT was not involved. I installed selinux-policy-devel.noarch and selinux-policy-doc.noarch, plus their dependencies, which fixed the "missing checkmodule" problem.
This bug still appears on the freshly installed system (f20 as well as- AFAIK- F19); one can solve it by installing checkpolicy package.
Fixed in policycoreutils-2.2.4-6.fc20
policycoreutils-2.2.4-6.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/policycoreutils-2.2.4-6.fc20
Package policycoreutils-2.2.4-6.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing policycoreutils-2.2.4-6.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-0088/policycoreutils-2.2.4-6.fc20 then log in and leave karma (feedback).
Package policycoreutils-2.2.5-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing policycoreutils-2.2.5-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-0088/policycoreutils-2.2.5-1.fc20 then log in and leave karma (feedback).
policycoreutils-2.2.5-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.