Bug 1924501

Summary: ipa-client-install: Error trying to clean keytab: /usr/sbin/ipa-rmkeytab returned 7
Product: Red Hat Enterprise Linux 8 Reporter: Sudhir Menon <sumenon>
Component: ipaAssignee: Thomas Woerner <twoerner>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.4CC: abokovoy, frenaud, rcritten, tscherf
Target Milestone: rcKeywords: Triaged
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.9.2-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:48:23 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:

Description Sudhir Menon 2021-02-03 07:22:48 UTC
Description of problem: ipa-client-install: Error trying to clean keytab: /usr/sbin/ipa-rmkeytab returned 7


Version-Release number of selected component (if applicable):
ipa-client-4.9.1-1.module+el8.4.0+9665+c9815399.x86_64


How reproducible: Always

Steps to Reproduce:
1. ipa-client-install
2. check the message displayed on the console

Actual results:
[root@client ~]# ipa-client-install 
This program will set up IPA client.
Version 4.9.1

Discovery was successful!
Do you want to configure chrony with NTP server or pool address? [no]: yes
Enter NTP source server addresses separated by comma, or press Enter to skip: 
Enter a NTP source pool address, or press Enter to skip: 
Client hostname: client.testrelm.test
Realm: TESTRELM.TEST
DNS Domain: testrelm.test
IPA Server: master.testrelm.test
BaseDN: dc=testrelm,dc=test

Continue to configure the system with these values? [no]: yes
Error trying to clean keytab: /usr/sbin/ipa-rmkeytab returned 7

Expected results:
Although ipa-client-install is succesful, we need to fix the error message displayed during the install i.e 'Error trying to clean keytab: /usr/sbin/ipa-rmkeytab returned 7'

Additional info:

Comment 2 Alexander Bokovoy 2021-02-03 07:38:51 UTC
PR: https://github.com/freeipa/freeipa/pull/5515

Comment 3 Rob Crittenden 2021-02-03 19:23:53 UTC
Fixed upstream
master:
https://pagure.io/freeipa/c/3231c6fc790a5631b794508d57bcb790117e70ac

Comment 4 Florence Blanc-Renaud 2021-02-04 00:26:45 UTC
Fixed upstream
ipa-4-9:
https://pagure.io/freeipa/c/5a1ad476e04859e68809435a8098beef1d38c76d

Comment 10 errata-xmlrpc 2021-05-18 15:48:23 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 (Moderate: idm:DL1 and idm:client security, 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/RHSA-2021:1846