#7836 print appropriate message when uninstalling non-existent IPA client
Closed: fixed 4 years ago by frenaud. Opened 5 years ago by frenaud.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 8): Bug 1665405

Description of problem:
When ran ipa-client-install --uninstall -U on non existing ipa-client setup,
misleading message is printed.

Version-Release number of selected component (if applicable):
ipa-client-4.7.1-7.module+el8+2555+b334d87b.x86_64

How reproducible:
always

Steps to Reproduce:
1. Install ipa-packages and try to uninstall ipa-client
ipa-client-install -U --uninstall


Actual results:
[root@client ~]# ipa-client-install -U --uninstall
The ipa-client-install command was successful
[root@vm-idm-040 ~]# echo $?
2


Expected results:
IPA client is not configured on this system.

Additional info:

Metadata Update from @frenaud:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1665405

5 years ago

Metadata Update from @frenaud:
- Issue set to the milestone: FreeIPA 4.7.3

5 years ago

The issue was introduced in 4.7.0 with commit b969061 (Improve console logging for ipa-server-install). Hence setting milestone to 4.7.3

Metadata Update from @frenaud:
- Issue tagged with: bug

5 years ago

Metadata Update from @rcritten:
- Issue assigned to rcritten

4 years ago

master:

  • 1284bf1 Drop list of return values to be ignored in AdminTool
  • c1c5065 Return 0 on uninstall when on_master for case of not installed
  • cef4edd Fix expected return code in tests when server is uninstalled

ipa-4-7:

  • ecd953d Drop list of return values to be ignored in AdminTool
  • 22b01da Return 0 on uninstall when on_master for case of not installed
  • 90b4cef Fix expected return code in tests when server is uninstalled

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata