Bug 672382
Summary: | SELinux is preventing /usr/bin/chcon from 'mac_admin' accesses on the capability2 Unknown. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bob Gustafson <bobgus> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 14 | CC: | blackcode, dwalsh, mgrepl, old.uncle.z, renich |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | setroubleshoot_trace_hash:4b2836aaae5f8a6b2910ce9e37529854d3c26f7aee986b386d8fea9801a94701 | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-01-25 08:50:53 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
Bob Gustafson
2011-01-25 00:36:23 UTC
Pretty skimpy information - Unknown... I did not open up SELinux to this request. My system did not crash, the sky is not falling, etc. I was sending an email near the moment I was notified of the problem. --- My email was sent. Did you execute the 'chcon' command? This means you tried to set a context via chcon that the kernel/policy does not know about. For example: chcon -t abc_exec_t /bin/ps Possible other apps that could cause this would be livecd, rpm/yum, mock? It might have been caused by me - using chcon with an erroneous argument. I was executing a 'fix' chcon line in response to a suggestion in another bug report. I haven't checked the timing, but this bug may have been caused by that command. Ok, sadly making a mistake in a chcon will cause this issue. It is usually better to execute semanage fcontext -t abc_exec_t PATH restorecon PATH Then to use chcon. As I remember, the syntax and content of the chcon command I executed was recommended by a se tool in response to another se problem. If there is a better command syntax, then that better syntax should be incorporated into the se tools for execution by future sysadmins. If you can grab the output from I would figure setroubleshoot, I would love to look at it? |