Description of problem: SELinux is preventing mongod from 'accept' accesses on the tcp_socket port None. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that mongod should be allowed accept access on the port None tcp_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 mongod /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:mongod_t:s0 Target Context system_u:system_r:mongod_t:s0 Target Objects port None [ tcp_socket ] Source mongod Source Path mongod Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-85.fc21.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.16.3-302.fc21.x86_64 #1 SMP Fri Sep 26 14:27:20 UTC 2014 x86_64 x86_64 Alert Count 21 First Seen 2014-10-03 16:41:20 EDT Last Seen 2014-10-09 21:38:44 EDT Local ID 242a59ac-df03-4e8a-a8d9-0dce62e97530 Raw Audit Messages type=AVC msg=audit(1412905124.9:1130): avc: denied { accept } for pid=969 comm="mongod" laddr=127.0.0.1 lport=27017 scontext=system_u:system_r:mongod_t:s0 tcontext=system_u:system_r:mongod_t:s0 tclass=tcp_socket permissive=1 Hash: mongod,mongod_t,mongod_t,tcp_socket,accept Version-Release number of selected component: selinux-policy-3.13.1-85.fc21.noarch Additional info: reporter: libreport-2.2.3 hashmarkername: setroubleshoot kernel: 3.16.3-302.fc21.x86_64 type: libreport
commit b9f12d3c9b3ebd467db8cba68fa6d52fd4eb02dc Author: Miroslav Grepl <mgrepl> Date: Fri Oct 10 12:28:16 2014 +0200 Allow mondogdb to 'accept' accesses on the tcp_socket port.
selinux-policy-3.13.1-86.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/selinux-policy-3.13.1-86.fc21
Package selinux-policy-3.13.1-86.fc21: * should fix your issue, * was pushed to the Fedora 21 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.13.1-86.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-12863/selinux-policy-3.13.1-86.fc21 then log in and leave karma (feedback).
selinux-policy-3.13.1-88.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/selinux-policy-3.13.1-88.fc21
selinux-policy-3.13.1-90.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.