Bug 1465096

Summary: SELinux is preventing boinc_client from 'read' accesses on the file mmap_min_addr.
Product: [Fedora] Fedora Reporter: Jia Yuan Lo <jylo06g>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: dominick.grift, dwalsh, lvrabec, mgrepl, plautrba, pmoore, ssekidde
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:ee835ebddf29c5538afb59122c2906b9d141e6f8d311b7bfada9be2b8c03d45b;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-06 13:24:10 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 Jia Yuan Lo 2017-06-26 16:07:25 UTC
Description of problem:
SELinux is preventing boinc_client from 'read' accesses on the file mmap_min_addr.

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

If you believe that boinc_client should be allowed read access on the mmap_min_addr 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 'boinc_client' --raw | audit2allow -M my-boincclient
# semodule -X 300 -i my-boincclient.pp

Additional Information:
Source Context                system_u:system_r:boinc_t:s0
Target Context                system_u:object_r:sysctl_vm_t:s0
Target Objects                mmap_min_addr [ file ]
Source                        boinc_client
Source Path                   boinc_client
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                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.11.6-301.fc26.x86_64 #1 SMP Tue
                              Jun 20 16:17:33 UTC 2017 x86_64 x86_64
Alert Count                   2
First Seen                    2017-06-26 02:26:02 +08
Last Seen                     2017-06-26 11:29:09 +08
Local ID                      ec9ed71f-ea6a-4c25-8f01-8ed83c4abfba

Raw Audit Messages
type=AVC msg=audit(1498447749.827:208): avc:  denied  { read } for  pid=1300 comm="boinc_client" name="mmap_min_addr" dev="proc" ino=33081 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:sysctl_vm_t:s0 tclass=file permissive=1


Hash: boinc_client,boinc_t,sysctl_vm_t,file,read

Version-Release number of selected component:
selinux-policy-3.13.1-259.fc26.noarch

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

Potential duplicate: bug 1397476

Comment 1 Lukas Vrabec 2018-03-06 13:24:10 UTC

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