Bug 1402384

Summary: SELinux is preventing proxymap from 'read' accesses on the lnk_file log.
Product: [Fedora] Fedora Reporter: Juan Orti <jorti>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: dominick.grift, dwalsh, lvrabec, mgrepl, plautrba, pmoore, ssekidde
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:e7999a8793995afd21242390132d4e4fb2815df1d4e1897500b32faef242e0fc;VARIANT_ID=workstation;
Fixed In Version: selinux-policy-3.13.1-225.1.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-08 11:58:23 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 Juan Orti 2016-12-07 12:24:54 UTC
Description of problem:
SELinux is preventing proxymap from 'read' accesses on the lnk_file log.

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

If cree que de manera predeterminada, proxymap debería permitir acceso read sobre log lnk_file.     
Then debería reportar esto como un error.
Puede generar un módulo de política local para permitir este acceso.
Do
allow this access for now by executing:
# ausearch -c 'proxymap' --raw | audit2allow -M my-proxymap
# semodule -X 300 -i my-proxymap.pp

Additional Information:
Source Context                system_u:system_r:postfix_master_t:s0
Target Context                system_u:object_r:tmpfs_t:s0
Target Objects                log [ lnk_file ]
Source                        proxymap
Source Path                   proxymap
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                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.8.11-300.fc25.x86_64 #1 SMP Mon
                              Nov 28 18:24:51 UTC 2016 x86_64 x86_64
Alert Count                   243
First Seen                    2016-11-26 19:48:19 CET
Last Seen                     2016-12-07 12:12:47 CET
Local ID                      695d1b44-b198-4fde-b7fc-c0591e3ba16f

Raw Audit Messages
type=AVC msg=audit(1481109167.439:335): avc:  denied  { read } for  pid=6100 comm="trivial-rewrite" name="log" dev="tmpfs" ino=22470 scontext=system_u:system_r:postfix_master_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=lnk_file permissive=1


Hash: proxymap,postfix_master_t,tmpfs_t,lnk_file,read

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.11-300.fc25.x86_64
type:           libreport