--
/ Alexander Bokovoy
From a7cd88f5aa2db2c18fe76c612573ec28eb51fd40 Mon Sep 17 00:00:00 2001
From: Alexander Bokovoy <aboko...@redhat.com>
Date: Fri, 1 Jul 2011 11:11:38 +0300
Subject: [PATCH] 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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ipa-client/ipa-install/ipa-client-install 
b/ipa-client/ipa-install/ipa-client-install
index 
884dd213b82bf5c29d6cb4928fde6789057b16af..644afc6741abf62e0e6a144024ee4c629bc80c8c
 100755
--- a/ipa-client/ipa-install/ipa-client-install
+++ b/ipa-client/ipa-install/ipa-client-install
@@ -925,8 +925,8 @@ 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:
         # this is optional service, just log
-- 
1.7.5.4

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to