Since I updated from sssd-1.11.7_18 to sssd-1.11.7_19 I can't no longer start it as daemon. It starts fine in interactive mode. sssd1.11.7_19 is built with databases/ldb14-1.4.4_1 The issue (with patch) is described at https://pagure.io/SSSD/sssd/c/a887e33fbd02bc9ef987fc1bd2a487a04aff9980
Logentry added from failing sssd-1.11.7_19 (Sat Jul 6 19:36:45 2019) [sssd] [ldb] (0x0010): Failed to unlock db: ../ldb_tdb/ldb_tdb.c:147: Reusing ldb opend by pid 51845 in process 56814 / Protocol error
I confirm - patching src/monitor/monitor.c with the diff Patrick mentioned makes sssd starting again.
Created attachment 205782 [details] patch against sssd 1.11.7
Just wanted to say thank you for the patch to sssd! It has made it possible for me to also get samba upgraded from 4.6 to 4.10 at same time. All good! Thanks again! /K
Assignee timeout: 2 months (reset assignee)
+1 to say this patch resolves the error. Like comment #4, this enables Samba upgrade from 4.[678] to 4.10.
Patch is already in upstream 1.16.4 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241347
Hi, That patch worked for us too. As version 1.16.4 does not seem to be ready, is it possible to include it in the current port (1.11.7_20) to, at least, un-break it and leave it in a good shape before it expires ? I've re-attached the patch against 1.11.7_20 to create version 1.11.7_21. Thanks, Ganael.
Created attachment 216459 [details] Patch against 1.11.7_20
A commit references this bug: Author: martymac Date: Wed Aug 19 07:40:59 UTC 2020 New revision: 545276 URL: https://svnweb.freebsd.org/changeset/ports/545276 Log: Fix sssd startup following libldb changes PR: 239022 Submitted by: patrik@hildingsson.se Approved by: lukas.slebodnik@intrak.sk (maintainer timeout) MFH: 2020Q3 Changes: head/security/sssd/Makefile head/security/sssd/files/patch-src-monitor-monitor.c
Hello Patrik, Patch committed, thanks!
A commit references this bug: Author: martymac Date: Wed Aug 19 09:21:09 UTC 2020 New revision: 545293 URL: https://svnweb.freebsd.org/changeset/ports/545293 Log: MFH: r545276 Fix sssd startup following libldb changes PR: 239022 Submitted by: patrik@hildingsson.se Approved by: lukas.slebodnik@intrak.sk (maintainer timeout) Approved by: ports-secteam (joneum) Changes: _U branches/2020Q3/ branches/2020Q3/security/sssd/Makefile branches/2020Q3/security/sssd/files/patch-src-monitor-monitor.c
That's great news! Thank you for testing and accepting the patch.