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.
Description of problem: 'ERROR Could not remove /tmp/tmpbkw6hawo.ipabkp' can be seen prior to 'ipa-client-install' command was successful.
Version-Release number of selected component (if applicable):
ipa-server-4.9.11-3.module+el8.8.0+17608+39b88723.x86_64
389-ds-base-1.4.3.32-1.module+el8.8.0+17275+1a8f9618.x86_64
How reproducible:
Always
Steps to Reproduce:
ipa-server-install --setup-dns -a Secret123 -p Secret123 -n rhel88.test -r RHEL88.TEST -U --forwarder=<ip-address>
Actual results:
Although ipa-server-install is successful, below message is seen.
Configured /etc/openldap/ldap.conf
Configured /etc/ssh/ssh_config
Configured /etc/ssh/sshd_config
Configuring rhel88.test as NIS domain.
Client configuration complete.
Could not remove /tmp/tmpbkw6hawo.ipabkp <-----
The ipa-client-install command was successful
==============================================================================
Setup complete
Expected results:
Fix the error message 'Could not remove /tmp/tmpbkw6hawo.ipabkp'
Additional info:
Comment 2Florence Blanc-Renaud
2023-01-12 09:45:19 UTC
The client installer code can be called in 3 different ways:
- from ipa-client-install CLI
- from ipa-replica-install CLI if the client is not already installed
- from ipa-server-install
In the last case, the client installer is called with options.on_master = True. As a result it's skipping the part that is creating the krb5 configuration:
https://github.com/freeipa/freeipa/blob/5419864c7ef893abc4717847fa6ea272d0c659fe/ipaclient/install/client.py#L2760
if not options.on_master:
nolog = tuple()
configure_krb5_conf(
cli_realm=cli_realm,
cli_domain=cli_domain,
cli_server=cli_server,
cli_kdc=cli_kdc,
dnsok=False,
filename=krb_name,
client_domain=client_domain,
client_hostname=hostname,
configure_sssd=options.sssd,
force=options.force)
The configure_krb5_conf method is the place where the krb5.conf file is backup'ed with the extension .ipabkp. For a master installation, this code is not called and the /tmp/xxx.ipabkp file does not exist => delete raises an error.
Comment 3Florence Blanc-Renaud
2023-01-12 10:26:36 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