Bug 491612
Summary: | SELinux is preventing iptables (iptables_t) "read write" unconfined_t. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Digvijay Patankar <dbpatankar> |
Component: | ettercap | Assignee: | Gwyn Ciesla <gwync> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 10 | CC: | dwalsh, gwync, mgrepl |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-12-18 09:05:26 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
Digvijay Patankar
2009-03-23 10:38:57 UTC
The tools that you are executing iptables under, is leaking file descriptors. What tool are you running? This tool needs the bug report. You can ignore these avcs, as they will cause no harm, but should be cleaned up. I was using Ettercap NG 0.7.3 I removed the hashes from Linux part in "redir_command_on/off" section of file /etc/etter.conf Now when I run the program ettercap it gives me this error. ettercap should close all open file descriptors on exec fcntl(fd, F_SETFD, FD_CLOEXEC) I see two fctnl calls, one to get flags, one to set them. Just add the two above to the setting call? Ping? Daniel? Yes. I would figure that is all you need, Whenever you open a descriptor you need to close on exec or the subprocess will inherit it. ettercap-0.7.3-32.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/ettercap-0.7.3-32.fc10 Please test the above build. Still the problem is unchanged. I still get the same error! Daniel, suggestions? Did I misform my patch? Jon did you execute the fcntl on all sockets? No, I simply altered one of the two existing fcntl calls, as in #4. ettercap-0.7.3-32.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update ettercap'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-3286 Any suggestions? Daniel? Jon, I don't understand the question. Is ettercap still leaking descriptors? The question is, if all I had to do to correct Digvijay's problem was to add the F_SETFD and FD_CLOEXEC flags to any fcntl calls, there were two, only one set attributes, so I added them there, and Digvijay still reports the problem, <takes breath> where do I look next? Do I need to add the flags to the other fcntl call as well? Any where you open a file descriptor that is still open at the time of the exec. This includes open call and the socket call. So just both fctnl calls, or all fopen and it's ilk as well? All fopen and socket calls. If you don't call fclose before the exec of course. This message is a reminder that Fedora 10 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 10. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '10'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 10's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 10 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 10 changed to end-of-life (EOL) status on 2009-12-17. Fedora 10 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |