diff options
author | Alexander Bokovoy <abokovoy@redhat.com> | 2011-07-01 11:11:38 +0300 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-07-18 08:03:09 -0400 |
commit | 824ec7e3a2330f63964f6f5335fb63f8b2c94096 (patch) | |
tree | ee49e54db669711a7e4f293f6ccecc791daef9e3 | |
parent | 0359e2a0434c3c4e578a8d5fb3341084e82ada1c (diff) | |
download | freeipa-824ec7e3a2330f63964f6f5335fb63f8b2c94096.tar.gz freeipa-824ec7e3a2330f63964f6f5335fb63f8b2c94096.tar.xz freeipa-824ec7e3a2330f63964f6f5335fb63f8b2c94096.zip |
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.
-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") |