Bug 1404016

Summary: SELinux is preventing multiqueue0:src from 'open' accesses on the file /proc/sys/vm/mmap_min_addr.
Product: [Fedora] Fedora Reporter: striker.pena
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: dominick.grift, dwalsh, lvrabec, mgrepl, plautrba, pmoore, ssekidde
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:fb76874dde5a801aa59be31f43c147a8367ea431a40663821548719ff54e78dd;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-14 17:05:30 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 striker.pena 2016-12-12 20:51:42 UTC
Description of problem:
SELinux is preventing multiqueue0:src from 'open' accesses on the file /proc/sys/vm/mmap_min_addr.

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

If you believe that multiqueue0:src should be allowed open 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 'multiqueue0:src' --raw | audit2allow -M my-multiqueue0src
# semodule -X 300 -i my-multiqueue0src.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context                system_u:object_r:sysctl_vm_t:s0
Target Objects                /proc/sys/vm/mmap_min_addr [ file ]
Source                        multiqueue0:src
Source Path                   multiqueue0:src
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-191.21.fc24.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.8.10-200.fc24.x86_64 #1 SMP Mon
                              Nov 21 17:55:46 UTC 2016 x86_64 x86_64
Alert Count                   1
First Seen                    2016-12-07 14:40:31 PST
Last Seen                     2016-12-07 14:40:31 PST
Local ID                      04e9d258-b448-4bf7-8dae-37b84af5b4ec

Raw Audit Messages
type=AVC msg=audit(1481150431.257:267): avc:  denied  { open } for  pid=8913 comm="multiqueue0:src" path="/proc/sys/vm/mmap_min_addr" dev="proc" ino=59794 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sysctl_vm_t:s0 tclass=file permissive=1


Hash: multiqueue0:src,thumb_t,sysctl_vm_t,file,open

Version-Release number of selected component:
selinux-policy-3.13.1-191.21.fc24.noarch

Additional info:
reporter:       libreport-2.7.2
hashmarkername: setroubleshoot
kernel:         4.8.12-200.fc24.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2016-12-14 17:05:30 UTC

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