Bug 1556681

Summary: SELinux is preventing 727264746F6F6C207175657565 from 'map' accesses on the file /var/lib/collectd/rrd/sandy.local.rantell.net/sensors-k10temp-pci-00c3/temperature-temp1.rrd.
Product: [Fedora] Fedora Reporter: Mat <matthera>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: dwalsh, lvrabec, mgrepl, plautrba, pmoore
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:0c7d8995c42e3c96d719ed7fc2ef39a9bdc5efbd9094b1bdb73cc38939ae5851;VARIANT_ID=workstation;
Fixed In Version: selinux-policy-3.13.1-283.29.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-27 20:14:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mat 2018-03-15 03:30:59 UTC
Description of problem:
Running collectd since upgrading to Fedora 27
SELinux is preventing 727264746F6F6C207175657565 from 'map' accesses on the file /var/lib/collectd/rrd/sandy.local.rantell.net/sensors-k10temp-pci-00c3/temperature-temp1.rrd.

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

If you believe that 727264746F6F6C207175657565 should be allowed map access on the temperature-temp1.rrd 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 '727264746F6F6C207175657565' --raw | audit2allow -M my-727264746F6F6C207175657565
# semodule -X 300 -i my-727264746F6F6C207175657565.pp

Additional Information:
Source Context                system_u:system_r:collectd_t:s0
Target Context                system_u:object_r:collectd_var_lib_t:s0
Target Objects                /var/lib/collectd/rrd/sandy.local.rantell.net/sens
                              ors-k10temp-pci-00c3/temperature-temp1.rrd [ file
                              ]
Source                        727264746F6F6C207175657565
Source Path                   727264746F6F6C207175657565
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-283.26.fc27.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.15.6-300.fc27.x86_64 #1 SMP Mon
                              Feb 26 18:43:03 UTC 2018 x86_64 x86_64
Alert Count                   1680
First Seen                    2018-03-11 22:31:46 HKT
Last Seen                     2018-03-15 11:23:40 HKT
Local ID                      1fb9639e-862d-468f-aa2e-fb10214b2b7f

Raw Audit Messages
type=AVC msg=audit(1521084220.228:1009): avc:  denied  { map } for  pid=4561 comm=727264746F6F6C207175657565 path="/var/lib/collectd/rrd/sandy.local.rantell.net/sensors-k10temp-pci-00c3/temperature-temp1.rrd" dev="dm-3" ino=6694014 scontext=system_u:system_r:collectd_t:s0 tcontext=system_u:object_r:collectd_var_lib_t:s0 tclass=file permissive=0


Hash: 727264746F6F6C207175657565,collectd_t,collectd_var_lib_t,file,map

Version-Release number of selected component:
selinux-policy-3.13.1-283.26.fc27.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.3
hashmarkername: setroubleshoot
kernel:         4.15.6-300.fc27.x86_64
type:           libreport

Comment 1 Fedora Update System 2018-03-25 13:14:26 UTC
selinux-policy-3.13.1-283.29.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-ad9976b6a2

Comment 2 Fedora Update System 2018-03-25 22:42:22 UTC
selinux-policy-3.13.1-283.29.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-ad9976b6a2

Comment 3 Fedora Update System 2018-03-27 20:14:29 UTC
selinux-policy-3.13.1-283.29.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.