View | Details | Raw Unified | Return to bug 239022 | Differences between
and this patch

Collapse All | Expand All

(-)security/sssd/Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	sssd
4
PORTNAME=	sssd
5
PORTVERSION=	1.11.7
5
PORTVERSION=	1.11.7
6
PORTREVISION=	20
6
PORTREVISION=	21
7
CATEGORIES=	security
7
CATEGORIES=	security
8
MASTER_SITES=	https://releases.pagure.org/SSSD/${PORTNAME}/
8
MASTER_SITES=	https://releases.pagure.org/SSSD/${PORTNAME}/
9
9
(-)security/sssd/files/patch-src-monitor-monitor.c (+23 lines)
Line 0 Link Here
1
--- src/monitor/monitor.c.orig	2014-09-17 13:01:37 UTC
2
+++ src/monitor/monitor.c
3
@@ -2832,6 +2832,20 @@ int main(int argc, const char *argv[])
4
     ret = server_setup(MONITOR_NAME, flags, monitor->conf_path, &main_ctx);
5
     if (ret != EOK) return 2;
6
 
7
+    /* Use confd initialized in server_setup. ldb_tdb module (1.4.0) check PID            
8
+   * of process which initialized db for locking purposes.            
9
+   * Failed to unlock db: ../ldb_tdb/ldb_tdb.c:147:            
10
+   *    Reusing ldb opened by pid 28889 in process 28893            
11
+   */            
12
+   talloc_zfree(monitor->cdb);            
13
+   monitor->cdb = main_ctx->confdb_ctx;            
14
+
15
+   ret = confdb_get_domains(monitor->cdb, &monitor->domains);            
16
+   if (ret != EOK) {            
17
+	DEBUG(SSSDBG_FATAL_FAILURE, "No domains configured.\n");            
18
+	return 4;            
19
+   }            
20
+
21
     monitor->is_daemon = !opt_interactive;
22
     monitor->parent_pid = main_ctx->parent_pid;
23
     monitor->ev = main_ctx->event_ctx;

Return to bug 239022