Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 2015 00:47:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 203256] net/openldap24-server: Fails to log to SYSLOG unless DEBUG is enabled
Message-ID:  <bug-203256-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203256

            Bug ID: 203256
           Summary: net/openldap24-server: Fails to log to SYSLOG unless
                    DEBUG is enabled
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: delphij@FreeBSD.org
          Reporter: John.Marshall@riverwillow.com.au
             Flags: maintainer-feedback?(delphij@FreeBSD.org)
          Assignee: delphij@FreeBSD.org

r396801 modified the port to pass --disable-debug to configure unless the
port's DEBUG option is set. Previous behaviour was that configure would enable
debug by default.

SYSLOG depends on DEBUG, so now slapd will not log to syslog unless the port is
build with the DEBUG option selected.

 rwsrv04> grep LDAP_SYSLOG work/openldap-2.4.42/servers/slapd/main.c
 #if defined(LDAP_DEBUG) && defined(LDAP_SYSLOG)
 #endif /* LDAP_DEBUG && LDAP_SYSLOG */
 #if defined(LDAP_DEBUG) && defined(LDAP_SYSLOG)
 #if defined(LDAP_DEBUG) && defined(LDAP_SYSLOG)
 #endif /* LDAP_DEBUG && LDAP_SYSLOG */
 #if defined(LDAP_DEBUG) && defined(LDAP_SYSLOG)
 #endif /* LDAP_DEBUG && LDAP_SYSLOG */

Perhaps this outcome is intentional? I would have thought most admin's would
want slapd logging at all times. I am logging this bug just in case this was
not an intentional side-effect of r396801.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203256-13>