| Summary: | SELinux is preventing /usr/sbin/mcelog from 'execute' accesses on the file cache-error-trigger. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Paolo Bonzini <pbonzini> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:7d5a9b34bba68bc1461e3b2c96961b28397c6d82d61cfb782e59de623fa11e31 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-01-19 15:21:36 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
yum -y update restorecon -R -v /etc/mcelog Should fix. |
SELinux is preventing /usr/sbin/mcelog from 'execute' accesses on the file cache-error-trigger. # ls -Z /etc/mcelog/triggers/cache-error-trigger -rwxr-xr-x. root root system_u:object_r:etc_t:s0 /etc/mcelog/triggers/cache-error-trigger suggests that you need to change the label on files in the directory: # semanage fcontext -a -t mcelog_exec_t '/etc/mcelog/triggers(/.*)?' # restorecon -vR /etc/mcelog/triggers Additional Information: Source Context system_u:system_r:mcelog_t:s0 Target Context system_u:object_r:etc_t:s0 Target Objects cache-error-trigger [ file ] Source mcelog Source Path /usr/sbin/mcelog Port <Unknown> Host (removed) Source RPM Packages mcelog-1.0-0.2.pre3.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.12-8.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.37-2.fc15.x86_64 #1 SMP Fri Jan 7 14:57:36 UTC 2011 x86_64 x86_64 Alert Count 4 First Seen Wed 19 Jan 2011 01:59:38 PM CET Last Seen Wed 19 Jan 2011 01:59:55 PM CET Local ID 39fac32d-1247-4bfc-b43a-ee57d9496982 Raw Audit Messages type=AVC msg=audit(1295441995.948:96): avc: denied { execute } for pid=3428 comm="mcelog" name="cache-error-trigger" dev=sda10 ino=247780 scontext=system_u:system_r:mcelog_t:s0 tcontext=system_u:object_r:etc_t:s0 tclass=file type=SYSCALL msg=audit(1295441995.948:96): arch=x86_64 syscall=access success=no exit=EACCES a0=12ba080 a1=5 a2=0 a3=726f7272652d6568 items=0 ppid=1 pid=3428 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=mcelog exe=/usr/sbin/mcelog subj=system_u:system_r:mcelog_t:s0 key=(null)