Bug 1611413

Summary: AVC denials seen during ipa-server-install.
Product: Red Hat Enterprise Linux 7 Reporter: Sudhir Menon <sumenon>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED DUPLICATE QA Contact: Milos Malik <mmalik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.6CC: lvrabec, mgrepl, mmalik, plautrba, ssekidde, vmojzis
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: 2018-08-02 09:19:30 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 Sudhir Menon 2018-08-02 09:00:28 UTC
Description of problem: AVC denials


Version-Release number of selected component (if applicable):
selinux-policy-3.13.1-210.el7.noarch

How reproducible:Always


Steps to Reproduce:
1. Install IPA server
2. Check AVC Denials

Actual results:
Info: Searching AVC errors produced since 1533131801.2 (Wed Aug  1 09:56:41 2018)
Searching logs...
Running '/usr/bin/env LC_ALL=en_US.UTF-8 /sbin/ausearch -m AVC -m USER_AVC -m SELINUX_ERR -ts 08/01/2018 09:56:41 < /dev/null >/mnt/testarea/tmp.rhts-db-submit-result.XeZ0HG 2>&1'
----
time->Wed Aug  1 09:58:20 2018
type=PROCTITLE msg=audit(1533131900.916:69): proctitle=2F7362696E2F726E6764002D66002D72002F6465762F7572616E646F6D
type=SYSCALL msg=audit(1533131900.916:69): arch=80000015 syscall=5 success=no exit=-13 a0=3fff7bac63a0 a1=0 a2=1b6 a3=0 items=0 ppid=1 pid=11970 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="rngd" exe="/usr/sbin/rngd" subj=system_u:system_r:rngd_t:s0 key=(null)
type=AVC msg=audit(1533131900.916:69): avc:  denied  { search } for  pid=11970 comm="rngd" name="pki" dev="dm-0" ino=67157846 scontext=system_u:system_r:rngd_t:s0 tcontext=system_u:object_r:cert_t:s0 tclass=dir permissive=0
Fail: AVC messages found.


Expected results:
Fix the AVC Denials.


Additional info:

Comment 2 Milos Malik 2018-08-02 09:19:30 UTC

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

Comment 3 Sudhir Menon 2018-08-16 07:33:22 UTC
Just making a note here.
AVC denials are no more seen during ipa-server-install.
Tested on Red Hat Enterprise Linux Server release 7.6 Beta (Maipo) using
ipa-server-4.6.4-5.el7.x86_64
389-ds-base-1.3.8.4-10.el7.x86_64
krb5-server-1.15.1-34.el7.x86_64
selinux-policy-3.13.1-215.el7.noarch

Comment 4 Milos Malik 2018-08-16 08:02:14 UTC
Thank you for the re-testing.