Bug 1398144 - SELinux is preventing pmcd from 'open' accesses on the file /tmp/1185.pcp.env.path.
Summary: SELinux is preventing pmcd from 'open' accesses on the file /tmp/1185.pcp.env...
Keywords:
Status: CLOSED DUPLICATE of bug 1398147
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:68dd806ace81139f677bcc94587...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-24 08:15 UTC by Kazuo Moriwaka
Modified: 2017-02-08 16:29 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-25 12:54:27 UTC
Type: ---


Attachments (Terms of Use)

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 ***


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