https://bugzilla.redhat.com/show_bug.cgi?id=744024
Description of problem: Running a ipa-client-install, that fails, has an exit code of 0 > ipa-client-install --domain=abc -p XXX -w XXX -U will throw an error: Unable to find IPA Server to join Installation failed. Rolling back changes. IPA client is not configured on this system. And then > echo $? indicates a zero as if ipa-client was installed successfully, but looks like this return code is to say that when install failed, it uninstalled successfully....which is not as expected, since I'm checking the status of the client install I just attempted. Version-Release number of selected component (if applicable): ipa-client-2.1.1-4.el6.x86_64 How reproducible: always Steps to Reproduce: 1. run a bad install command like: ipa-client=install or ipa-client-install --domain=abc -p XXX -w XXX -U 2. Error is thrown to indicate the client install failed 3. Check exit status echo $? Actual results: 0 Expected results: 1 Additional info:
master: af63731[[BR]] ipa-2-1: e2182d6
Metadata Update from @dpal: - Issue assigned to mkosek - Issue set to the milestone: FreeIPA 2.1.2 (bug fixing)
Login to comment on this ticket.