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 2149889 - idm:client is missing dependency on krb5-pkinit.
Summary: idm:client is missing dependency on krb5-pkinit.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ipa
Version: 8.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Florence Blanc-Renaud
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks: 2150335
TreeView+ depends on / blocked
 
Reported: 2022-12-01 10:25 UTC by Sudhir Menon
Modified: 2023-05-16 09:31 UTC (History)
3 users (show)

Fixed In Version: ipa-4.9.11-3.module+el8.8.0+17609+6cfecbae
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2150335 (view as bug list)
Environment:
Last Closed: 2023-05-16 08:29:08 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Pagure freeipa issue 9290 0 None None None 2022-12-01 12:49:16 UTC
Red Hat Issue Tracker FREEIPA-9096 0 None None None 2022-12-01 11:21:00 UTC
Red Hat Issue Tracker RHELPLAN-141016 0 None None None 2022-12-01 11:21:03 UTC
Red Hat Product Errata RHBA-2023:2794 0 None None None 2023-05-16 08:29:42 UTC

Description Sudhir Menon 2022-12-01 10:25:13 UTC
Description of problem: idm:client is missing dependency on krb5-pkinit

Version-Release number of selected component (if applicable):
ipa-server-4.9.10-8.module+el8.8.0+17351+9a3fb056.x86_64
ipa-client-4.9.10-8.module+el8.8.0+17351+9a3fb056.x86_64  

How reproducible: Always


Steps to Reproduce:
1. dnf module install -y idm:DL1/client
2. [root@client tls]# ipa-client-install --domain testrelm.test --realm TESTRELM.TEST  
--server=master.testrelm.test 
--pkinit-identity=FILE:/etc/pki/tls/certs/client.pem,/etc/pki/tls/private/client.key 
-U --pkinit-anchor=FILE:/tmp/kdc.pem -d

Actual results:
ipa-client-install fails with the error due to missing krb5-pkinit package.
'dnf module install -y idm:DL1/{client,dns}' is run the package is installed and ipa-client-install with pkinit passed.

Client uninstall complete.
Kerberos PKINIT authentication failed: CalledProcessError(Command ['/usr/bin/kinit', '-c', '/tmp/krbccjsckiuc2/ccache', '-X', 'X509_anchors=FILE:/tmp/kdc.pem', '-X', 'X509_user_identity=FILE:/etc/pki/tls/certs/client.pem,/etc/pki/tls/private/client.key', 'host/client.testrelm.test'] returned non-zero exit status 1: 'kinit: Generic preauthentication failure while getting initial credentials\n')
The ipa-client-install command failed. See /var/log/ipaclient-install.log for more information

Expected results:
ipa-client-install is successful.

Additional info:

Comment 1 Florence Blanc-Renaud 2022-12-01 12:46:50 UTC
ipa.spec needs to add a dependency for the ipa-client package on krb5-pkinit-openssl (the client now supports enrollment using a certificate to authenticate, meaning it is using Pkinit feature).

Comment 2 Florence Blanc-Renaud 2022-12-01 12:49:14 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/9290

Comment 3 Florence Blanc-Renaud 2022-12-01 13:16:42 UTC
Upstream PR: https://github.com/freeipa/freeipa/pull/6586

Comment 4 Florence Blanc-Renaud 2022-12-02 10:35:23 UTC
Fixed upstream
master:
https://pagure.io/freeipa/c/827dc9afc9a82e14b03dc8bd42535ccf48712ec3

Comment 5 Florence Blanc-Renaud 2022-12-02 13:47:52 UTC
Fixed upstream
ipa-4-9:
https://pagure.io/freeipa/c/d7c5fe5f1cc3b68492da27cf4ea25b611412c834

Comment 6 Florence Blanc-Renaud 2022-12-02 14:28:11 UTC
Fixed upstream
ipa-4-10:
https://pagure.io/freeipa/c/2d0a0cc40fb8674f30ba62980b1953cef840009e

Comment 14 errata-xmlrpc 2023-05-16 08:29:08 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 (idm:client and idm:DL1 bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2023:2794


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