RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1075153 - avc denial message on ipa replica installation on RHEL-70 machine from a RHEL-65 based IPA master
Summary: avc denial message on ipa replica installation on RHEL-70 machine from a RHEL...
Keywords:
Status: CLOSED DUPLICATE of bug 1076523
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy
Version: 7.0
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Miroslav Grepl
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-11 15:18 UTC by Kaleem
Modified: 2014-03-20 09:19 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-20 09:19:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Kaleem 2014-03-11 15:18:09 UTC
Description of problem:
Following avc denial message shown on replica on RHEL-70 machine and replica file is generated from a RHEL-65 master 

----
time->Tue Mar 11 07:22:03 2014
type=SYSCALL msg=audit(1394536923.905:214): arch=c000003e syscall=2 success=no exit=-13 a0=7f3003cfad18 a1=0 a2=1b6 a3=7f300901270c items=0 ppid=1 pid=29219 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="java" exe="/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51-2.4.5.1.el7.x86_64/jre-abrt/bin/java" subj=system_u:system_r:pki_tomcat_t:s0 key=(null)
type=AVC msg=audit(1394536923.905:214): avc:  denied  { read } for  pid=29219 comm="java" name="ip_local_port_range" dev="proc" ino=83955 scontext=system_u:system_r:pki_tomcat_t:s0 tcontext=system_u:object_r:sysctl_net_t:s0 tclass=file
type=AVC msg=audit(1394536923.905:214): avc:  denied  { net_admin } for  pid=29219 comm="java" capability=12  scontext=system_u:system_r:pki_tomcat_t:s0 tcontext=system_u:system_r:pki_tomcat_t:s0 tclass=capability
type=AVC msg=audit(1394536923.905:214): avc:  denied  { net_admin } for  pid=29219 comm="java" capability=12  scontext=system_u:system_r:pki_tomcat_t:s0 tcontext=system_u:system_r:pki_tomcat_t:s0 tclass=capability
----

Version-Release number of selected component (if applicable):
[root@rhel70-replica ~]# rpm -q ipa-server pki-ca 389-ds-base
ipa-server-3.3.3-21.el7.x86_64
pki-ca-10.0.5-3.el7.noarch
389-ds-base-1.3.1.6-22.el7.x86_64
[root@rhel70-replica ~]# 

How reproducible:
Always

Steps to Reproduce:
1. Install Master on RHEL-6.5 
2. Install Replica on RHEL-7.0 from RHEL-6.5 based Master

Actual results:
avc denial message shown.

Expected results:
avc denial message should not be shown.

Additional info:
(1)Beaker job where avc seen
   -https://beaker.engineering.redhat.com/jobs/609234

(2)On compose RHEL-7.0-20140110.0, it was not seen. beaker job 
  - https://beaker.engineering.redhat.com/jobs/573918

Comment 2 Nathan Kinder 2014-03-11 15:53:21 UTC
Do these AVC actually cause a failure, or does replica creation work despite the AVC messages?

Comment 3 Namita Soman 2014-03-11 16:44:33 UTC
The replica is installed, and can be used - despite the AVCs.

Comment 4 Namita Soman 2014-03-11 16:59:17 UTC
But yes - same replica is used when seeing the issue reported in bz1075118

Comment 5 Miroslav Grepl 2014-03-12 12:18:23 UTC
type=AVC msg=audit(1394536923.905:214): avc:  denied  { net_admin } for  pid=29219 comm="java" capability=12  scontext=system_u:system_r:pki_tomcat_t:s0 tcontext=system_u:system_r:pki_tomcat_t:s0 tclass=capability

should be dontaudited in this case.

Comment 6 Miroslav Grepl 2014-03-20 09:19:06 UTC

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


Note You need to log in before you can comment on or make changes to this bug.