Bug 817973
Summary: | SELinux is preventing sh from 'getattr' accesses on the file /usr/sbin/setfiles. This alert appears everytime when changing firewalld's default zone in gnome-terminal, with command firewall-cmd --set-default-zone=[zone]. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Eduardo Silva <hoboprimate> | ||||
Component: | firewalld | Assignee: | Thomas Woerner <twoerner> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 18 | CC: | dominick.grift, dwalsh, jpopelka, mgrepl, twaugh, twoerner | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Unspecified | ||||||
Whiteboard: | abrt_hash:6817d478c37a2bbb1faaa09b06705cc42096df6c447364021c98400ea7930151 | ||||||
Fixed In Version: | selinux-policy-3.10.0-121.fc17 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-05-08 04:22:39 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: | |||||||
Attachments: |
|
Description
Eduardo Silva
2012-05-01 23:41:37 UTC
Looks like firewalld is running setfiles/restorecon to fix the context on an object. Can you run it in permissive mode and gather all of the AVC's. # semanage permissive -a firewalld_t # firewall-cmd --set-default-zone=[zone] # semanage permissive -d firewalld_t # ausearch -m avc -ts recent Created attachment 581687 [details] AVC's after running commands in Comment #1 AVC's after running those commands. Fixed in selinux-policy-3.10.0-120.fc17 selinux-policy-3.10.0-121.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-121.fc17 Package selinux-policy-3.10.0-121.fc17: * should fix your issue, * was pushed to the Fedora 17 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.10.0-121.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-7313/selinux-policy-3.10.0-121.fc17 then log in and leave karma (feedback). selinux-policy-3.10.0-121.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. I'm seeing this on F18 with selinux-policy-3.11.1-36.fc18.noarch. I thought they were going to remove this from firewalld in F18. There are no setfiles or restorecon calls anymore in firewalld-0.2.9-1 or newer. |