Bug 1344828

Summary: sysadm_t cannot run newaliases (postfix)
Product: Red Hat Enterprise Linux 7 Reporter: wibrown <wibrown>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Milos Malik <mmalik>
Severity: low Docs Contact:
Priority: low    
Version: 7.2CC: lvrabec, mgrepl, mmalik, plautrba, pvrabec, ssekidde, wibrown
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.13.1-80.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 02:31:53 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:
Embargoed:

Description wibrown@redhat.com 2016-06-11 10:35:42 UTC
Description of problem:

setenforce 0
newaliases

ausearch -ts recent | grep denied

type=AVC msg=audit(1465641227.036:4274): avc:  denied  { write } for  pid=7703 comm="postalias" name="aliases.db" dev="dm-0" ino=547422 scontext=staff_u:sysadm_r:user_mail_t:s0-s0:c0.c1023 tcontext=system_u:object_r:etc_aliases_t:s0 tclass=file


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


How reproducible:
Always


Additional info:

Note I am running a confined administrative user.

Comment 6 errata-xmlrpc 2016-11-04 02:31:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2283.html