Bug 752331
Summary: | SELinux is preventing mongod from name_bind access on the tcp_socket port 28017 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mads Villadsen <maxx> |
Component: | mongodb | Assignee: | Nathaniel McCallum <nathaniel> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | clalancette, linuxnow, nathaniel |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | mongodb-2.0.2-8.fc15 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-02-14 09:01:01 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mads Villadsen
2011-11-09 07:57:02 UTC
Oh, very interesting. I'm seeing this problem here as well, but I see why it doesn't affect anything. When I start up mongod, I get an AVC that looks like: type=AVC msg=audit(1322540873.004:69): avc: denied { name_bind } for pid=993 comm="mongod" src=28017 scontext=system_u:system_r:mongod_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=tcp_socket Notice that it says pid=993. However, my currently running mongod process seems to be PID 986. What that seems to say to me is that mongod is forking some helper process during bootup, leaking a file descriptor, and that is being reported as an AVC. It is probably mostly harmless, but it is indeed a bug. I'll see if I can find some time to track down the file descriptor leak. Thanks for the report. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. mongodb-2.0.2-8.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/mongodb-2.0.2-8.fc15 mongodb-2.0.2-8.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/mongodb-2.0.2-8.fc16 *** Bug 787173 has been marked as a duplicate of this bug. *** Package mongodb-2.0.2-8.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mongodb-2.0.2-8.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-1293/mongodb-2.0.2-8.fc16 then log in and leave karma (feedback). mongodb-2.0.2-8.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. mongodb-2.0.2-8.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |