This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 1470616 - SELinux is preventing pmdasystemd from 'read' accesses on the lnk_file /var/log/journal/fe39ba83b9244251b1704fc655fbff2f.
SELinux is preventing pmdasystemd from 'read' accesses on the lnk_file /var/l...
Status: NEW
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Lukas Vrabec
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2017-07-13 06:10 EDT by Kazuo Moriwaka
Modified: 2017-07-13 06:10 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Kazuo Moriwaka 2017-07-13 06:10:38 EDT
Description of problem:
SELinux is preventing pmdasystemd from 'read' accesses on the lnk_file /var/log/journal/fe39ba83b9244251b1704fc655fbff2f.

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

If you believe that pmdasystemd should be allowed read access on the fe39ba83b9244251b1704fc655fbff2f lnk_file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
allow this access for now by executing:
# ausearch -c 'pmdasystemd' --raw | audit2allow -M my-pmdasystemd
# semodule -X 300 -i my-pmdasystemd.pp

Additional Information:
Source Context                system_u:system_r:pcp_pmcd_t:s0
Target Context                system_u:object_r:var_log_t:s0
Target Objects                /var/log/journal/fe39ba83b9244251b1704fc655fbff2f
                              [ lnk_file ]
Source                        pmdasystemd
Source Path                   pmdasystemd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-259.fc26.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.11.9-300.fc26.x86_64 #1 SMP Wed
                              Jul 5 16:21:56 UTC 2017 x86_64 x86_64
Alert Count                   6
First Seen                    2017-07-12 13:03:12 JST
Last Seen                     2017-07-13 18:57:21 JST
Local ID                      7a213a2e-1c0f-4ea9-b81e-596dc40a9829

Raw Audit Messages
type=AVC msg=audit(1499939841.699:216): avc:  denied  { read } for  pid=1817 comm="pmdasystemd" name="fe39ba83b9244251b1704fc655fbff2f" dev="dm-2" ino=268634516 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:var_log_t:s0 tclass=lnk_file permissive=0

Hash: pmdasystemd,pcp_pmcd_t,var_log_t,lnk_file,read

Version-Release number of selected component:

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.1
hashmarkername: setroubleshoot
kernel:         4.11.9-300.fc26.x86_64
type:           libreport

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