Description of problem:
Running ipa=client-install --uninstall on a machine where ipa server is installed, will allow the client to be uninstalled. This leaves the server unusable, and so this uninstall should not be allowed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. On server machine, run ipa=client-install --uninstall
Client is uninstalled
Chould not allow client to be uninstalled
# ipa-client-install --uninstall
IPA client is configured as a part of IPA server on this system.
Please refer to ipa-server-install for uninstallation.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Cause: Unconfiguring the IPA client on a running IPA server will effectively break the server by removing required configuration such as /etc/krb5.conf.
Consequence: The IPA server would be left in a non-working state.
Fix: The client uninstaller now detects the installation state of an installed server.
Result: Attempting to uninstall the client on a server will result in an error message. The client will be uninstalled when/if the server is uninstalled.
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, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.