Bug 621726
| Summary: | SELinux is preventing /usr/bin/python "write" access on /usr/share/system-config-firewall. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Gene Snider <genes1122> |
| Component: | system-config-firewall | Assignee: | Thomas Woerner <twoerner> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 14 | CC: | cleitoncfl, cschwangler, deejay1, dwalsh, gavin, masami256, mgrepl, nphilipp, sarrab1976, takacsis, twoerner, wxl51 |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:084cdf1b2ea30fb266610d5f39817d778b9bf279375a3c63b6339b3c5856f856 | ||
| Fixed In Version: | system-config-firewall-1.2.27-1.fc14 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-08-20 02:18:12 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
Gene Snider
2010-08-05 23:20:39 UTC
This is either local customization. Were you editing fw_dbus.py? If not then this is a bug in system-config-firewall, in that it is supposed to ship the compiled python executables. If you run python /usr/share/system-config-firewall/fw_dbus.py The problem will go a way. *** Bug 622881 has been marked as a duplicate of this bug. *** Dan, I wasn't directly editing fw_dbus.py, so I ran the command in Comment 1. I reinstalled system-config-firewall since you mentioned there could be a problem with it. Then I opened the Firewall gui again in System > Administration and got this denial again and another one. The second one was 'SELinux is preventing /usr/bin/python "add-name" access on fw_dbus.pyc.' Would you like me to submitt that denial? Also, should I change this bug to system-config-firewall, or open a new one if that's the problem? Thanks, Gene Yes it is a bug in firewall tool. The package was built with python 2.6 and python 2.7 wants to recreate the object files. There is an update pending for testing, that should fix this: system-config-firewall-1.2.27-1.fc14. It has been built with python-2.7. The rebuild should have been done by the python rebuild, but there are some python packages that have not been rebuilt: All that do not have files in the site-packages tree as far as I can see so far, because there is no requirement for "python(abi) = 2.6", but it should be in my opinion. system-config-firewall-1.2.27-1.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/system-config-firewall-1.2.27-1.fc14 (In reply to comment #4) > Yes it is a bug in firewall tool. Just for the record (and clarification), the issue is not a bug in system-config-firewall, but rather that this package wasn't rebuilt for Python 2.7 during the recent mass rebuild (which is due to bug #623233). This means that python attempts to rebuild the python modules with invalid (old) .pyc/.pyo files every time a program is run as root, resulting in the SELinux alerts observed. gdesklet-SlideShow-0.9-8.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/gdesklet-SlideShow-0.9-8.fc14 gdesklet-SlideShow-0.9-8.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/gdesklet-SlideShow-0.9-8.fc13 gdesklet-SlideShow-0.9-8.fc13 has been pushed to the Fedora 13 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 gdesklet-SlideShow'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/gdesklet-SlideShow-0.9-8.fc13 gdesklet-SlideShow-0.9-8.fc14 has been pushed to the Fedora 14 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 gdesklet-SlideShow'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/gdesklet-SlideShow-0.9-8.fc14 system-config-firewall-1.2.27-1.fc14 has been pushed to the Fedora 14 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 system-config-firewall'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/system-config-firewall-1.2.27-1.fc14 Thanks, the update described in Comment 12 does fix the AVC Denial. Gene gdesklet-SlideShow-0.9-8.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. gdesklet-SlideShow-0.9-8.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. system-config-firewall-1.2.27-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |