Bug 1259126
| Summary: | SELinux is preventing sh from 'getattr' accesses on the file /proc/meminfo. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Martín Cigorraga <martincigorraga> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 22 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:4a442496d33c23ec18effcf9db32fc7d2b975b4706ac042ff8a2103df5d0b5f1 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-09-11 09:13:01 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: | |||
*** This bug has been marked as a duplicate of bug 1258699 *** |
Description of problem: SELinux is preventing sh from 'getattr' accesses on the file /proc/meminfo. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that sh should be allowed getattr access on the meminfo 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 sh /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:pcp_pmlogger_t:s0-s0:c0.c1023 Target Context system_u:object_r:proc_t:s0 Target Objects /proc/meminfo [ file ] Source sh Source Path sh Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-128.12.fc22.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.1.6-200.fc22.x86_64 #1 SMP Mon Aug 17 19:54:31 UTC 2015 x86_64 x86_64 Alert Count 1 First Seen 2015-09-02 00:10:12 ART Last Seen 2015-09-02 00:10:12 ART Local ID 63ba1b1c-9637-4ce2-bfc8-0a43d778135f Raw Audit Messages type=AVC msg=audit(1441163412.454:12800): avc: denied { getattr } for pid=19178 comm="sh" path="/proc/meminfo" dev="proc" ino=4026531988 scontext=system_u:system_r:pcp_pmlogger_t:s0-s0:c0.c1023 tcontext=system_u:object_r:proc_t:s0 tclass=file permissive=0 Hash: sh,pcp_pmlogger_t,proc_t,file,getattr Version-Release number of selected component: selinux-policy-3.13.1-128.12.fc22.noarch Additional info: reporter: libreport-2.6.2 hashmarkername: setroubleshoot kernel: 4.1.6-200.fc22.x86_64 type: libreport