freeipa/install/tools
Martin Kosek 46221e57bf Improve error handling and return status codes in ipactl
There are cases when ipactl returns success even when it fails. Plus,
when the error really is detected the status codes are not LSB
compliant. This may result in consequent issues.

This patch improves error handling in ipactl and adds LSB compliant
status codes. Namely:

0   program is running or service is OK
3   program is not running
4   program or service status is unknown

for "status" action. Status code 4 is issued when IPA is not
configured to distinguish this state from not running IPA.

For other actions, the following non-zero status codes are
implemented:

1   generic or unspecified error
2   invalid or excess argument(s)
4   user had insufficient privilege
6   program is not configured

https://fedorahosted.org/freeipa/ticket/1055
2011-03-07 18:16:48 -05:00
..
man Fixed in ipa-server-install help and man page 2011-02-18 10:00:48 -05:00
ipa-compat-manage Use ldapi: instead of unsecured ldap: in ipa core tools. 2011-03-03 14:04:34 -05:00
ipa-compliance Use ldapi: instead of unsecured ldap: in ipa core tools. 2011-03-03 14:04:34 -05:00
ipa-dns-install ipa-dns-install does not exit on error 2011-02-11 10:34:03 -05:00
ipa-host-net-manage Use ldapi: instead of unsecured ldap: in ipa core tools. 2011-03-03 14:04:34 -05:00
ipa-ldap-updater Execute /usr/bin/python directly instead of /usr/bin/env python 2011-01-14 16:27:48 -05:00
ipa-nis-manage Use ldapi: instead of unsecured ldap: in ipa core tools. 2011-03-03 14:04:34 -05:00
ipa-replica-install Need to restart the dogtag 388-ds instance before using it. 2011-03-03 11:02:03 -05:00
ipa-replica-manage Store list of non-master replicas in DIT and provide way to list them 2011-03-02 09:46:46 -05:00
ipa-replica-prepare Use ldapi: instead of unsecured ldap: in ipa core tools. 2011-03-03 14:04:34 -05:00
ipa-server-certinstall Use ldapi: instead of unsecured ldap: in ipa core tools. 2011-03-03 14:04:34 -05:00
ipa-server-install Skip DNS validation checks if we're setting up DNS in ipa-server-install. 2011-03-04 11:05:40 -05:00
ipa-upgradeconfig Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
ipactl Improve error handling and return status codes in ipactl 2011-03-07 18:16:48 -05:00
Makefile.am Add support for tracking and counting entitlements 2011-02-02 10:00:38 -05:00