summaryrefslogtreecommitdiffstats
path: root/ipa-client/ipa-install
diff options
context:
space:
mode:
authorAlexander Bokovoy <abokovoy@redhat.com>2011-07-01 11:11:38 +0300
committerRob Crittenden <rcritten@redhat.com>2011-07-18 08:03:09 -0400
commit824ec7e3a2330f63964f6f5335fb63f8b2c94096 (patch)
treeee49e54db669711a7e4f293f6ccecc791daef9e3 /ipa-client/ipa-install
parent0359e2a0434c3c4e578a8d5fb3341084e82ada1c (diff)
downloadfreeipa-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.
Diffstat (limited to 'ipa-client/ipa-install')
-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 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")