Bug 1382959

Summary: silent selinux denial error for spamc_t
Product: Red Hat Enterprise Linux 7 Reporter: Brian J. Murrell <brian>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED DUPLICATE QA Contact: Milos Malik <mmalik>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.2CC: lvrabec, mgrepl, mmalik, plautrba, pvrabec, ssekidde
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-17 10:28:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1393066    

Description Brian J. Murrell 2016-10-08 18:44:55 UTC
Description of problem:
After applying policy to fix bug #1382955 there is a silent dontallow that is still preventing access to cyrus' lmtp socket by it's deliver from spamc.

Version-Release number of selected component (if applicable):
selinux-policy-3.13.1-60.el7_2.9.noarch

How reproducible:
100%

Steps to Reproduce:
Same as bug #1382955

Actual results:
AVC prevents spamc from using deliver to deliver the mail:
type=AVC msg=audit(1475951361.959:53480): avc:  denied  { search } for  pid=646 comm="deliver" name="imap" dev="dm-7" ino=181 scontext=system_u:system_r:spamc_t:s0 tcontext=system_u:object_r:cyrus_var_lib_t:s0 tclass=dir

Expected results:
spamc should be able to use deliver to deliver the mail to Cyrus IMAPd

Additional info:

Comment 3 Lukas Vrabec 2017-08-17 10:27:37 UTC
*** Bug 1382955 has been marked as a duplicate of this bug. ***

Comment 4 Lukas Vrabec 2017-08-17 10:28:36 UTC

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