Bug 431562
| Summary: | SELinux is preventing modprobe (insmod_t) "read write" to socket (iptables_t). | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Matěj Cepl <mcepl> |
| Component: | iptables | Assignee: | Thomas Woerner <twoerner> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | dwalsh, fedora, mcepl, twoerner |
| Target Milestone: | --- | Keywords: | SELinux |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-05-07 13:18:22 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
Matěj Cepl
2008-02-05 14:31:07 UTC
This is a bug in iptables. It is leaking an open file descriptor. Thomas? This is strange, because iptables already contains a patch to close the socket fd on exec. This bug shouldn't be assigned to me. I'm re-assigning it to Dan. Jon. Jon this is not an SELinux bug, This is a leaked file descriptor bug. iptables or someone that is execing iptables is leaking a file descriptor. It is a socket call to a raw socket that needs to be closed on exec as I stated above. Matej Are you running iptables within some tool? Created attachment 304276 [details] script used to generate iptables (In reply to comment #5) > Are you running iptables within some tool? I have a weird feeling of deja vu -- I think I have already answered in some other bug, that I have nothing else for iptables, than this hand-made Bash script. Are you using iptables-1.4.0-4? If not please update to the latest iptables package. (In reply to comment #7) > Are you using iptables-1.4.0-4? If not please update to the latest iptables package. iptables-1.4.0-4.fc9.x86_64 I am not getting any selinux denial in rawhide using your script. iptables-1.4.0-4.fc9.i386 module-init-tools-3.4-13.fc9.i386 selinux-policy-3.3.1-42.fc9.noarch Seems to be working now. |