| Summary: | SELinux is preventing pmcd from 'read' accesses on the directory /var/lib/pcp/tmp/pmlogger. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Kazuo Moriwaka <kmoriwak> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 25 | CC: | dominick.grift, dwalsh, ioan, lvrabec, mgrepl, plautrba, pmoore, ssekidde |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:72bb5431a4295ecb878d858a1a1d752c074645e9607de51b8131c2da13f06281;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-25 10:45:37 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Description of problem: Just start pmcd service Version-Release number of selected component: selinux-policy-3.13.1-224.fc25.noarch Additional info: reporter: libreport-2.8.0 hashmarkername: setroubleshoot kernel: 4.8.8-300.fc25.x86_64 type: libreport *** This bug has been marked as a duplicate of bug 1317515 *** |
Description of problem: SELinux is preventing pmcd from 'read' accesses on the directory /var/lib/pcp/tmp/pmlogger. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that pmcd should be allowed read access on the pmlogger directory 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: # ausearch -c 'pmcd' --raw | audit2allow -M my-pmcd # semodule -X 300 -i my-pmcd.pp Additional Information: Source Context system_u:system_r:init_t:s0 Target Context system_u:object_r:pcp_var_lib_t:s0 Target Objects /var/lib/pcp/tmp/pmlogger [ dir ] Source pmcd Source Path pmcd Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages pcp-3.11.5-1.fc25.x86_64 Policy RPM selinux-policy-3.13.1-224.fc25.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.8.8-300.fc25.x86_64 #1 SMP Tue Nov 15 18:10:06 UTC 2016 x86_64 x86_64 Alert Count 1 First Seen 2016-11-24 16:17:10 JST Last Seen 2016-11-24 16:17:10 JST Local ID 00a603e3-4a61-46b5-9565-d03a8eac7956 Raw Audit Messages type=AVC msg=audit(1479971830.467:175): avc: denied { read } for pid=1365 comm="pmcd" name="pmlogger" dev="dm-2" ino=453954 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:pcp_var_lib_t:s0 tclass=dir permissive=0 Hash: pmcd,init_t,pcp_var_lib_t,dir,read Version-Release number of selected component: selinux-policy-3.13.1-224.fc25.noarch Additional info: reporter: libreport-2.8.0 hashmarkername: setroubleshoot kernel: 4.8.8-300.fc25.x86_64 type: libreport Potential duplicate: bug 1317515