Bug 1259127 - SELinux is preventing pmcd from 'read' accesses on the file pmlogger_daily.pid.
Summary: SELinux is preventing pmcd from 'read' accesses on the file pmlogger_daily.pid.
Keywords:
Status: CLOSED DUPLICATE of bug 1286361
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 22
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:0dc8ebe8c003e68f0bc79425863...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-02 03:11 UTC by Martín Cigorraga
Modified: 2016-02-25 21:18 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-25 21:18:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Martín Cigorraga 2015-09-02 03:11:21 UTC
Description of problem:
SELinux is preventing pmcd from 'read' accesses on the file pmlogger_daily.pid.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that pmcd should be allowed read access on the pmlogger_daily.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 pmcd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:pcp_pmcd_t:s0
Target Context                system_u:object_r:cron_var_run_t:s0
Target Objects                pmlogger_daily.pid [ file ]
Source                        pmcd
Source Path                   pmcd
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                      b6f911bc-44c5-4c8b-af47-8139bac2ee1d

Raw Audit Messages
type=AVC msg=audit(1441163412.721:12801): avc:  denied  { read } for  pid=1651 comm="pmcd" name="pmlogger_daily.pid" dev="tmpfs" ino=7211498 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:cron_var_run_t:s0 tclass=file permissive=0


Hash: pmcd,pcp_pmcd_t,cron_var_run_t,file,read

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

Comment 1 Nathan Scott 2016-02-25 21:18:58 UTC

*** This bug has been marked as a duplicate of bug 1286361 ***


Note You need to log in before you can comment on or make changes to this bug.