diff options
author | Christian Heimes <cheimes@redhat.com> | 2015-07-07 16:05:48 +0200 |
---|---|---|
committer | Tomas Babej <tbabej@redhat.com> | 2015-07-07 16:31:04 +0200 |
commit | 25d1afdc54284c6bcf1caf08beae2e66ceb7f4e8 (patch) | |
tree | e457372d798cc1dbda8e7b5657882a61aa0548a2 /ipalib/constants.py | |
parent | 6fa123447f8acfbbdb442a1cbac38997a8e81208 (diff) | |
download | freeipa-25d1afdc54284c6bcf1caf08beae2e66ceb7f4e8.tar.gz freeipa-25d1afdc54284c6bcf1caf08beae2e66ceb7f4e8.tar.xz freeipa-25d1afdc54284c6bcf1caf08beae2e66ceb7f4e8.zip |
Improve error handling in ipa-httpd-kdcproxy
The pre start script 'ipa-httpd-kdcproxy' for httpd.service now handles
connection and authentication errors more gracefully. If the script is
not able to conenct to LDAP, it only prints a warning and exits with
status code 0. All other errors are still reported as fatal error and
result in a non-zero exit code.
This fixes a problem with offline RPM updates. A restart of Apache no
longer fails when LDAP is not running.
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Diffstat (limited to 'ipalib/constants.py')
0 files changed, 0 insertions, 0 deletions