Bug 981115
Summary: | SELinux is preventing /usr/bin/df from 'getattr' accesses on the directory /dev/mqueue. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mark <j.mark.brooks> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:75014042bf19f8db124678bf8ac5fafacba9df8e4ffe5a4f65ccf1d0448a87c3 | ||
Fixed In Version: | selinux-policy-3.12.1-65.fc19 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-07-20 09:33:19 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
Mark
2013-07-04 04:44:46 UTC
Looks like rabbitmq_beam_t needs to getattr on all file system dirs? Hi Mark, I think the problem is that your /usr/bin/df has bad security context, you might try use: "# restorecon -v /usr/bin/df ". The labeling will be OK. # ls -Z /usr/bin/df -rwxr-xr-x. root root system_u:object_r:bin_t:s0 /usr/bin/df which means if rabbitmq_beam_t domain executes "df" then it will end up with rabbitmq_beam_t. # sesearch -A -s rabbitmq_beam_t -t bin_t -c file Yes, additional rules are needed how Dan wrote above. commit 7101471234126c9a382cd68f0b6e22cb3d734d2d Author: Miroslav Grepl <mgrepl> Date: Tue Jul 16 15:32:18 2013 +0200 Allow /usr/bin/df running as rabbitmq_beam_t to getattr on all fs dirs selinux-policy-3.12.1-65.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-65.fc19 Package selinux-policy-3.12.1-65.fc19: * should fix your issue, * was pushed to the Fedora 19 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.12.1-65.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-13172/selinux-policy-3.12.1-65.fc19 then log in and leave karma (feedback). selinux-policy-3.12.1-65.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |