summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Bokovoy <abokovoy@redhat.com>2011-07-01 11:11:38 +0300
committerAlexander Bokovoy <abokovoy@redhat.com>2011-07-18 22:12:04 +0300
commitba45b67b1847df16f802bfe44d4af68c5536c2ae (patch)
tree5dc841d63e7bc06e608c748d66769463f58158ed
parent571274e978434a7b5e17100076172233e7320855 (diff)
downloadfreeipa-ticket-1373.zip
freeipa-ticket-1373.tar.gz
freeipa-ticket-1373.tar.xz
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.
-rwxr-xr-xipa-client/ipa-install/ipa-client-install5
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 6bdeb87..c39780c 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")