From nobody@FreeBSD.org  Sun Sep 25 11:05:30 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 386E41065670
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Sep 2011 11:05:30 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 2850E8FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Sep 2011 11:05:30 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p8PB5Tqc091698
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Sep 2011 11:05:29 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p8PB5T3B091697;
	Sun, 25 Sep 2011 11:05:29 GMT
	(envelope-from nobody)
Message-Id: <201109251105.p8PB5T3B091697@red.freebsd.org>
Date: Sun, 25 Sep 2011 11:05:29 GMT
From: "Hartmann, O." <ohartman@zedat.fu-berlin.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: security/cyrus-sasl2: BREAKS net/openldap24-server!!!!!
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         161010
>Category:       ports
>Synopsis:       security/cyrus-sasl2: BREAKS net/openldap24-server!!!!!
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ume
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 25 11:10:09 UTC 2011
>Closed-Date:    Sun Sep 25 11:55:36 UTC 2011
>Last-Modified:  Wed Oct 05 04:13:10 UTC 2011
>Originator:     Hartmann, O.
>Release:        FreeBSD 9.0-BETA2/amd64 AND FreeBSD 8.2-STABLE/amd64
>Organization:
FU Berlin 
>Environment:
>Description:
Updating ports on a regular basis also updates port security/cyrus-sasl2 which is after the update version 2.1.25.

After the upgrade, no OpenLDAP server (net/openldap24-server/client) is capable of starting anymore! One will receive this error:

slapd not running? (check /var/run/openldap/slapd.pid).
Starting slapd.
@(#) $OpenLDAP: slapd 2.4.26 (Jul  8 2011 14:44:14) $
        root@foo.bar:/usr/ports/net/openldap24-server/work/openldap-2.4.26/servers/slapd
slap_sasl_init: auxprop add plugin failed
slapd stopped.
connections_destroy: nothing to destroy.
/usr/local/etc/rc.d/slapd: WARNING: failed to start slapd

This error seems to be well know in many Linux/Debian forae! Why has it commited to FreeBSD port's system? It breaks LDAP!

>How-To-Repeat:
Simply do an update of your ports with a running/working OpenLDAP/Cyrus SASL2 system and watch what's happening when you try restarting your OpenLDAP backend! You're floating like a dead man in the water.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ume 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Sep 25 11:10:24 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161010 

From: "Hartmann, O." <ohartman@zedat.fu-berlin.de>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:  
Subject: Re: ports/161010: security/cyrus-sasl2: BREAKS net/openldap24-server!!!!!
Date: Sun, 25 Sep 2011 13:13:09 +0200

 On 09/25/11 13:10, FreeBSD-gnats-submit@FreeBSD.org wrote:
 > Thank you very much for your problem report.
 > It has the internal identification `ports/161010'.
 > The individual assigned to look at your
 > report is: freebsd-ports-bugs. 
 >
 > You can access the state of your problem report at any time
 > via this link:
 >
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=161010
 >
 >> Category:       ports
 >> Responsible:    freebsd-ports-bugs
 >> Synopsis:       security/cyrus-sasl2: BREAKS net/openldap24-server!!!!!
 >> Arrival-Date:   Sun Sep 25 11:10:09 UTC 2011
 
 The problem can be prevented by recompiling OpenLDAP!
State-Changed-From-To: open->closed 
State-Changed-By: ume 
State-Changed-When: Sun Sep 25 11:53:08 UTC 2011 
State-Changed-Why:  
I've committed to mention this issue in UPDATING. 
Thank you for letting me know it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161010 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/161010: commit references a PR
Date: Sun, 25 Sep 2011 11:52:04 +0000 (UTC)

 ume         2011-09-25 11:51:50 UTC
 
   FreeBSD ports repository
 
   Modified files:
     .                    UPDATING 
   Log:
   Mention that upgrading cyrus-sasl2 breaks openldap*,
   if SASL option is enabled.
   
   PR:             ports/161010
   
   Revision  Changes    Path
   1.1145    +9 -1      ports/UPDATING
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: Ryan Steinmetz <zi@FreeBSD.org>
To: Hartmann@FreeBSD.org, "O." <ohartman@zedat.fu-berlin.de>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/161010: security/cyrus-sasl2: BREAKS
 net/openldap24-server!!!!!
Date: Sun, 25 Sep 2011 13:45:03 -0400

 You will need to rebuild OpenLDAP after upgrading cyrus-sasl2.
 
 With portmaster, simply execute:
 
 portmaster net/openldap24-server
 
 -r
>Unformatted:
