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 2006294 - AVC denial while installing ipa-server on aarch64 in FIPS mode
Summary: AVC denial while installing ipa-server on aarch64 in FIPS mode
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ipa
Version: 8.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Thomas Woerner
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-21 12:37 UTC by Mohammad Rizwan
Modified: 2021-09-21 13:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-21 13:27:02 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-6869 0 None None None 2021-09-21 12:39:26 UTC
Red Hat Issue Tracker RHELPLAN-97746 0 None None None 2021-09-21 13:27:45 UTC

Description Mohammad Rizwan 2021-09-21 12:37:41 UTC
Description of problem:
AVC denial observed while installing ipa-server on aarch64 

Version-Release number of selected component (if applicable):
ipa-server-4.9.6-6.module+el8.5.0+12660+88e16a2c.aarch64

How reproducible:
always

Steps to Reproduce:
1. enable fips mode
2. ipa-server-install --setup-dns --forwarder xx.xx.xx.xx --domain testrelm.test --realm TESTRELM.TEST --admin-password Secret123 --ds-password Secret123 -U --reverse-zone xx.xx.xx.in-addr.arpa. --allow-zone-overlap --domain-level=1
3. ausearch -m avc

Actual results:
[root@master ~]# ausearch -m avc
----
time->Tue Sep 21 07:38:18 2021
type=PROCTITLE msg=audit(1632224298.051:388): proctitle=2F7573722F7362696E2F73737364002D69002D2D6C6F676765723D66696C6573
type=SYSCALL msg=audit(1632224298.051:388): arch=c00000b7 syscall=27 success=no exit=-13 a0=0 a1=aaab1bea2c30 a2=8d88 a3=a items=0 ppid=1 pid=1103 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="sssd" exe="/usr/sbin/sssd" subj=system_u:system_r:sssd_t:s0 key=(null)
type=AVC msg=audit(1632224298.051:388): avc:  denied  { read } for  pid=1103 comm="sssd" name="resolv.conf" dev="dm-0" ino=799878 scontext=system_u:system_r:sssd_t:s0 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=file permissive=0


Expected results:
no avc denial

Additional info:

Comment 1 Alexander Bokovoy 2021-09-21 13:27:02 UTC
This looks like a bug in test environment rather than an AVC in the product. Someone modified /etc/resolv.conf as root and copied it over from /root because it now has admin_home_t context. This is wrong context for /etc/resolv.conf and the AVC is correct.

I think it is not a bug.


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