diff options
author | Alexander Bokovoy <abokovoy@redhat.com> | 2011-07-01 11:11:38 +0300 |
---|---|---|
committer | Alexander Bokovoy <abokovoy@redhat.com> | 2011-07-18 22:12:04 +0300 |
commit | ba45b67b1847df16f802bfe44d4af68c5536c2ae (patch) | |
tree | 5dc841d63e7bc06e608c748d66769463f58158ed /ipa-client/ipa-install/ipa-client-install | |
parent | 571274e978434a7b5e17100076172233e7320855 (diff) | |
download | freeipa-ba45b67b1847df16f802bfe44d4af68c5536c2ae.tar.gz freeipa-ba45b67b1847df16f802bfe44d4af68c5536c2ae.tar.xz freeipa-ba45b67b1847df16f802bfe44d4af68c5536c2ae.zip |
Rearrange logging for NSCD daemon.ticket-1373
https://fedorahosted.org/freeipa/ticket/1373
When SSSD is in use, we actually trying to disable NSCD daemon. Telling that we failed to configure
automatic _startup_ of the NSCD is wrong then.
Diffstat (limited to 'ipa-client/ipa-install/ipa-client-install')
-rwxr-xr-x | ipa-client/ipa-install/ipa-client-install | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ipa-client/ipa-install/ipa-client-install b/ipa-client/ipa-install/ipa-client-install index 6bdeb8796..c39780c9e 100755 --- a/ipa-client/ipa-install/ipa-client-install +++ b/ipa-client/ipa-install/ipa-client-install @@ -929,9 +929,12 @@ def main(): try: nscd_chkconfig_cmd('nscd') except: - print >>sys.stderr, "Failed to configure automatic startup of the NSCD daemon" if not options.sssd: + print >>sys.stderr, "Failed to configure automatic startup of the NSCD daemon" print >>sys.stderr, "Caching of users/groups will not be available after reboot" + else: + print >>sys.stderr, "Failed to disable NSCD daemon. Please disable it manually." + else: # this is optional service, just log logging.info("NSCD daemon is not installed, skip configuration") |