Bug 1398144

Summary: SELinux is preventing pmcd from 'open' accesses on the file /tmp/1185.pcp.env.path.
Product: [Fedora] Fedora Reporter: Kazuo Moriwaka <kmoriwak>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: dominick.grift, dwalsh, igeorgex, lvrabec, mgrepl, plautrba, pmoore, ssekidde
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:68dd806ace81139f677bcc945876044013e230981d012064d459c25f33e4d150;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 12:54:27 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 Kazuo Moriwaka 2016-11-24 08:15:04 UTC
Description of problem:
SELinux is preventing pmcd from 'open' accesses on the file /tmp/1185.pcp.env.path.

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

If you believe that pmcd should be allowed open access on the 1185.pcp.env.path 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:
# 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:tmp_t:s0
Target Objects                /tmp/1185.pcp.env.path [ file ]
Source                        pmcd
Source Path                   pmcd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
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                   14
First Seen                    2016-11-24 16:17:10 JST
Last Seen                     2016-11-24 16:17:10 JST
Local ID                      829434c0-0d59-4974-9482-a13983cde4c7

Raw Audit Messages
type=AVC msg=audit(1479971830.451:174): avc:  denied  { open } for  pid=1356 comm="pmcd" path="/tmp/1185.pcp.env.path" dev="tmpfs" ino=25389 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=file permissive=0


Hash: pmcd,init_t,tmp_t,file,open

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

Comment 1 Lukas Vrabec 2016-11-25 12:54:27 UTC

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