Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
I tested on rhel7.3 and it should work there
sh# audit2why < pok.avc
type=AVC msg=audit(1480081889.310:506): avc: denied { name_connect } for pid=3585 comm="krb5_child" dest=443 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:object_r:http_port_t:s0 tclass=tcp_socket
Was caused by:
Unknown - would be allowed by active policy
Possible mismatch between this policy and the one under which the audit message was generated.
Possible mismatch between current in-memory boolean settings vs. permanent ones.
sh# rpm -q selinux-policy
selinux-policy-3.13.1-102.el7_3.4.noarch
Alexander,
I have opened a ticket for this issue on behalf of the client to have this back-ported to 7.2
I will email you the case number directly.
Aly
Description of problem: krb5_child fails to retrieve a ticket from the KDC via HTTPS(TCP[KDCproxy])causing SSSD to not complete authentication. Version-Release number of selected component (if applicable): [root@lbclient03 ~]# rpm -qa | grep ipa-client ipa-client-4.2.0-15.el7_2.19.x86_64 How reproducible: Always Steps to Reproduce: 1. Configure krb5.conf to use a KDCProxy (https) 2. Ensure SELinux is enabled 3. Attempt to authenticate Actual results: krb5_child is denied TCP access by SELinux and isn't able to contact the KDC which prevents SSSD from completing the authentication. Expected results: krb5_child should be allowed TCP access to reach the KDC and get a ticket to allow SSSD to complete authentication Additional info: type=AVC msg=audit(1480082500.050:730): avc: denied { name_connect } for pid=3880 comm="krb5_child" dest=443 scontext=system_u:system_r:sssd_t:s0 --- log snippets --- [root@lbclient03 ~]# grep AVC /var/log/audit/audit.log | egrep "sssd|krb5" | less type=AVC msg=audit(1480081889.294:504): avc: denied { name_connect } for pid=3583 comm="krb5_child" dest=443 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:object_r:http_port_t:s0 tclass=tcp_socket type=AVC msg=audit(1480081889.295:505): avc: denied { name_connect } for pid=3583 comm="krb5_child" dest=443 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:object_r:http_port_t:s0 tclass=tcp_socket type=AVC msg=audit(1480081889.310:506): avc: denied { name_connect } for pid=3585 comm="krb5_child" dest=443 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:object_r:http_port_t:s0 tclass=tcp_socket type=USER_AVC msg=audit(1480082399.544:688): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='avc: received setenforce notice (enforcing=0) exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?' type=AVC msg=audit(1480082490.434:710): avc: denied { name_connect } for pid=3850 comm="krb5_child" dest=443 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:object_r:http_port_t:s0 tclass=tcp_socket type=USER_AVC msg=audit(1480082498.108:720): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='avc: received policyload notice (seqno=3) exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?' type=AVC msg=audit(1480082500.050:730): avc: denied { name_connect } for pid=3880 comm="krb5_child" dest=443 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:object_r:http_port_t:s0 tclass=tcp_socket