#7396 ipa-client-automount --uninstall should return errcode CLIENT_NOT_CONFIGURED
Closed: fixed 5 years ago Opened 6 years ago by cheimes.

Request for enhancement

Similair to https://pagure.io/freeipa/issue/7063 and https://github.com/freeipa/freeipa/pull/1536#issuecomment-363937402 the ipa-client-automount script should return a different error code when IPA client is not configured on the system. This would allow ipa-client-install --uninstall and ipa-server-install --uninstall to ignore the error on uninstallation.

Steps to Reproduce

  1. Run ipa-client-automount --uninstall on an unconfigured system

Actual behavior

Script fails with error code 1

Expected behavior

Script should fail with error code 2

Additional info:

The constant is defined in ipaclient.install.client.


Metadata Update from @cheimes:
- Issue priority set to: low

6 years ago

Metadata Update from @rcritten:
- Issue set to the milestone: FreeIPA 4.7

6 years ago

Metadata Update from @rcritten:
- Issue assigned to rcritten

5 years ago

master:

  • a0e846f Return unique error when automount is already or not configured
  • a0eaa74 Client install should handle automount unconfigured on uninstall

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

5 years ago

Login to comment on this ticket.

Metadata