Bug 1351153

Summary: AVC seen on Replica during ipa-server upgrade test execution to 7.3
Product: Red Hat Enterprise Linux 7 Reporter: Nikhil Dehadrai <ndehadra>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED ERRATA QA Contact: Kaleem <ksiddiqu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: jcholast, pvoborni, rcritten
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.4.0-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 05:55:51 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:
Attachments:
Description Flags
AVC denial message on Replica during upgrade to 7.3 none

Description Nikhil Dehadrai 2016-06-29 11:20:57 UTC
Created attachment 1173812 [details]
AVC denial message on Replica during upgrade to 7.3

Description of problem:
AVC seen on Replica during ipa-server upgrade test execution to 7.3

How reproducible:
Always

Steps to Reproduce:
1. Setup IPA server for ipa-upgrade test suite execution on beaker. 
2. Make sure latest repo links are set correctly for test execution.
3. Initiate automation for ipa-upgrade test suite on beaker.(In my case 7.2.z to 7.3)

Actual results:
1. After step3, avc denial message is observed for Replica.
2. Refer attachment for additional information.


Expected results:
No AVC messages should be observed.

Comment 3 Petr Vobornik 2016-06-29 13:49:14 UTC
are we talink only about the:

ype=SYSCALL msg=audit(1467184701.231:571): arch=c000003e syscall=42 success=no exit=-13 a0=6 a1=7ffded06bd80 a2=26 a3=0 items=0 ppid=20830 pid=20898 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="dogtag-ipa-ca-r" exe="/usr/bin/python2.7" subj=system_u:system_r:certmonger_t:s0 key=(null)
type=AVC msg=audit(1467184701.231:571): avc:  denied  { connectto } for  pid=20898 comm="dogtag-ipa-ca-r" path="/run/ipa_memcached/ipa_memcached" scontext=system_u:system_r:certmonger_t:s0 tcontext=system_u:system_r:memcached_t:s0 tclass=unix_stream_socket

or also some other?

Comment 4 Petr Vobornik 2016-06-29 15:33:10 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/5988

Comment 7 Nikhil Dehadrai 2016-07-19 08:37:21 UTC
Server version: ipa-server-4.4.0-2.1.el7.x86_64


Verified the bug on the basis of following points:
1. Verified that IPA server is successfully upgraded to latest version of RHEL 7.3 and the IPA -server service is restarted correctly after the upgrade.

2. No AVC error message is observed during the upgrade both on Master as well as Replica.

3. Refer the attached console output log.

Thus on the basis of above observations, marking the status of bug to "VERIFIED".

Comment 10 errata-xmlrpc 2016-11-04 05:55:51 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-2404.html