Description of problem: Ran the command ss -tlnp SELinux is preventing /usr/sbin/ss from 'nlmsg_read' accesses on the netlink_tcpdiag_socket . ***** Plugin catchall (100. confidence) suggests ************************** If you believe that ss should be allowed nlmsg_read access on the netlink_tcpdiag_socket 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 ss /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context staff_u:sysadm_r:sysadm_t:s0-s0:c0.c1023 Target Context staff_u:sysadm_r:sysadm_t:s0-s0:c0.c1023 Target Objects [ netlink_tcpdiag_socket ] Source ss Source Path /usr/sbin/ss Port <Unknown> Host (removed) Source RPM Packages iproute-3.14.0-2.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-171.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.14.8-200.fc20.x86_64 #1 SMP Mon Jun 16 21:57:53 UTC 2014 x86_64 x86_64 Alert Count 2 First Seen 2014-06-25 22:18:58 CST Last Seen 2014-06-25 22:18:58 CST Local ID 4d45c05a-d17c-4767-ad49-e20f4a4b851d Raw Audit Messages type=AVC msg=audit(1403700538.748:472): avc: denied { nlmsg_read } for pid=29779 comm="ss" scontext=staff_u:sysadm_r:sysadm_t:s0-s0:c0.c1023 tcontext=staff_u:sysadm_r:sysadm_t:s0-s0:c0.c1023 tclass=netlink_tcpdiag_socket type=SYSCALL msg=audit(1403700538.748:472): arch=x86_64 syscall=sendmsg success=yes exit=EMULTIHOP a0=3 a1=7fff1a759c00 a2=0 a3=0 items=0 ppid=29425 pid=29779 auid=1343600009 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts3 ses=2 comm=ss exe=/usr/sbin/ss subj=staff_u:sysadm_r:sysadm_t:s0-s0:c0.c1023 key=(null) Hash: ss,sysadm_t,sysadm_t,netlink_tcpdiag_socket,nlmsg_read Additional info: reporter: libreport-2.2.2 hashmarkername: setroubleshoot kernel: 3.14.8-200.fc20.x86_64 type: libreport
d34a95f25a333911d667eec9adb904390d2f180b fixes this in git.
commit eac201c4ca668a9111f9565ac9eba7c6a1991820 Author: Dan Walsh <dwalsh> Date: Wed Aug 6 18:37:28 2014 -0400 Allow sysadm_t to create netlink_tcpdiag socket https://github.com/selinux-policy/selinux-policy/commit/eac201c4ca668a9111f9565ac9eba7c6a1991820
selinux-policy-3.12.1-180.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-180.fc20
Package selinux-policy-3.12.1-180.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-180.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-9454/selinux-policy-3.12.1-180.fc20 then log in and leave karma (feedback).
selinux-policy-3.12.1-180.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.