From ba45b67b1847df16f802bfe44d4af68c5536c2ae Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Fri, 1 Jul 2011 11:11:38 +0300 Subject: Rearrange logging for NSCD daemon. 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. --- ipa-client/ipa-install/ipa-client-install | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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") -- cgit