When only LOCAL is configured I forgot to mark the services started at
startup, so they were started twice.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York
>From 06e29cdf515715646b8c273a17672ba98165a27a Mon Sep 17 00:00:00 2001
From: Simo Sorce <[email protected]>
Date: Mon, 12 Oct 2009 08:55:24 -0400
Subject: [PATCH] Fix services startup when only LOCAL is configured

---
 server/monitor/monitor.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/server/monitor/monitor.c b/server/monitor/monitor.c
index e5ee65a..6c63067 100644
--- a/server/monitor/monitor.c
+++ b/server/monitor/monitor.c
@@ -2018,6 +2018,9 @@ int monitor_process_init(struct mt_ctx *ctx,
         }
     } else {
         int i;
+
+        ctx->services_started = true;
+
         /* No providers start services immediately
          * Normally this means only LOCAL is configured */
         for (i = 0; ctx->services[i]; i++) {
-- 
1.6.2.5

_______________________________________________
sssd-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to