diff --git a/CHANGES b/CHANGES index 29f23a1afe..f72baa66fa 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +2042. [bug] named-checkconf was incorrectly rejecting the + logging category "config". [RT #16117] + 2041. [bug] "configure --with-dlz-bdb=yes" produced a bad set of libraries to be linked. [RT #16129] diff --git a/bin/check/Makefile.in b/bin/check/Makefile.in index 84c76e1b58..b0feea0a14 100644 --- a/bin/check/Makefile.in +++ b/bin/check/Makefile.in @@ -13,7 +13,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: Makefile.in,v 1.28 2005/09/12 02:16:29 marka Exp $ +# $Id: Makefile.in,v 1.29 2006/06/07 02:28:28 marka Exp $ srcdir = @srcdir@ VPATH = @srcdir@ @@ -75,7 +75,8 @@ named-checkconf@EXEEXT@: named-checkconf.@O@ check-tool.@O@ ${ISCDEPLIBS} \ named-checkzone@EXEEXT@: named-checkzone.@O@ check-tool.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS} ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} ${LDFLAGS} -o $@ \ - named-checkzone.@O@ check-tool.@O@ ${DNSLIBS} ${ISCLIBS} ${LIBS} + named-checkzone.@O@ check-tool.@O@ ${ISCCFGLIBS} ${DNSLIBS} \ + ${ISCLIBS} ${LIBS} doc man:: ${MANOBJS} diff --git a/bin/check/check-tool.c b/bin/check/check-tool.c index 560aff12c0..998a1516a0 100644 --- a/bin/check/check-tool.c +++ b/bin/check/check-tool.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: check-tool.c,v 1.24 2006/01/07 00:23:35 marka Exp $ */ +/* $Id: check-tool.c,v 1.25 2006/06/07 02:28:28 marka Exp $ */ /*! \file */ @@ -44,6 +44,8 @@ #include #include +#include + #ifdef HAVE_ADDRINFO #ifdef HAVE_GETADDRINFO #ifdef HAVE_GAISTRERROR @@ -402,6 +404,7 @@ setup_logging(isc_mem_t *mctx, isc_log_t **logp) { isc_log_setcontext(log); dns_log_init(log); dns_log_setcontext(log); + cfg_log_init(log); destination.file.stream = stdout; destination.file.name = NULL; diff --git a/bin/named/log.c b/bin/named/log.c index fb5ad506f2..0ff5bdc0e0 100644 --- a/bin/named/log.c +++ b/bin/named/log.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: log.c,v 1.41 2005/05/20 01:19:42 marka Exp $ */ +/* $Id: log.c,v 1.42 2006/06/07 02:28:28 marka Exp $ */ /*! \file */ @@ -81,6 +81,9 @@ ns_log_init(isc_boolean_t safe) { if (result != ISC_R_SUCCESS) return (result); + /* + * named-checktool.c:setup_logging() needs to be kept in sync. + */ isc_log_registercategories(ns_g_lctx, ns_g_categories); isc_log_registermodules(ns_g_lctx, ns_g_modules); isc_log_setcontext(ns_g_lctx);