Description of problem: SELinux is preventing /usr/bin/ps from using the 'sys_ptrace' capabilities. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that ps should have the sys_ptrace capability 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 ps /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:mysqld_safe_t:s0 Target Context system_u:system_r:mysqld_safe_t:s0 Target Objects [ capability ] Source ps Source Path /usr/bin/ps Port <Unknown> Host (removed) Source RPM Packages procps-ng-3.3.8-15.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-126.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.13.4-200.fc20.x86_64 #1 SMP Thu Feb 20 23:00:47 UTC 2014 x86_64 x86_64 Alert Count 1 First Seen 2014-02-25 01:29:31 YEKT Last Seen 2014-02-25 01:29:31 YEKT Local ID 88724e2a-7459-4146-9d41-ce8dfee79cda Raw Audit Messages type=AVC msg=audit(1393270171.721:1031): avc: denied { sys_ptrace } for pid=14035 comm="ps" capability=19 scontext=system_u:system_r:mysqld_safe_t:s0 tcontext=system_u:system_r:mysqld_safe_t:s0 tclass=capability type=SYSCALL msg=audit(1393270171.721:1031): arch=x86_64 syscall=readlink success=no exit=EACCES a0=7fff240a3340 a1=7f4a8b3fb3e0 a2=7f a3=6 items=0 ppid=14034 pid=14035 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=ps exe=/usr/bin/ps subj=system_u:system_r:mysqld_safe_t:s0 key=(null) Hash: ps,mysqld_safe_t,mysqld_safe_t,capability,sys_ptrace Additional info: reporter: libreport-2.1.12 hashmarkername: setroubleshoot kernel: 3.13.4-200.fc20.x86_64 type: libreport
This should be dontaudited. 1a49f951e26fe4cfcbbd309d5e3c01655ac91d68 fixes this in git.
selinux-policy-3.12.1-135.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-135.fc20
Package selinux-policy-3.12.1-135.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 selinux-policy-3.12.1-135.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-3813/selinux-policy-3.12.1-135.fc20 then log in and leave karma (feedback).
selinux-policy-3.12.1-135.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.