| Summary: | SELinux is preventing mcelog from 'create' accesses on the file mcelog.pid. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Billy Croan <Billy> |
| 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: | 16 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:ab6874de6842c8c8e44b66240e15069ef9d7035237d6939393ddd6fc565c78c9 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-12 11:51:26 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Subject really says it all. Looks like a trivial selinux policy tweak is necessary. Just update your policy. # yum update selinux-policy-targeted |
libreport version: 2.0.7 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.0-7.fc16.x86_64 reason: SELinux is preventing mcelog from 'create' accesses on the file mcelog.pid. time: Fri 09 Dec 2011 03:13:23 PM CST description: :SELinux is preventing mcelog from 'create' accesses on the file mcelog.pid. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that mcelog should be allowed create access on the mcelog.pid file by default. :Then you should report this as a bug. :You can generate a local policy module to allow this access. :Do :allow this access for now by executing: :# grep mcelog /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:mcelog_t:s0 :Target Context system_u:object_r:var_run_t:s0 :Target Objects mcelog.pid [ file ] :Source mcelog :Source Path mcelog :Port <Unknown> :Host (removed) :Source RPM Packages :Target RPM Packages :Policy RPM selinux-policy-3.10.0-56.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) : 3.1.0-7.fc16.x86_64 #1 SMP Tue Nov 1 21:10:48 UTC : 2011 x86_64 x86_64 :Alert Count 1 :First Seen Tue 29 Nov 2011 01:08:10 PM CST :Last Seen Tue 29 Nov 2011 01:08:10 PM CST :Local ID d8b7e267-d6f5-4b23-97a2-13f072c78477 : :Raw Audit Messages :type=AVC msg=audit(1322593690.578:4222): avc: denied { create } for pid=11546 comm="mcelog" name="mcelog.pid" scontext=system_u:system_r:mcelog_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file : : :Hash: mcelog,mcelog_t,var_run_t,file,create : :audit2allow : :#============= mcelog_t ============== :allow mcelog_t var_run_t:file create; : :audit2allow -R : :#============= mcelog_t ============== :allow mcelog_t var_run_t:file create; :