michael@556: Index: bin/named/unix/os.c michael@556: --- bin/named/unix/os.c.orig 2008-05-06 03:32:51 +0200 michael@556: +++ bin/named/unix/os.c 2008-07-25 07:47:14 +0200 michael@556: @@ -261,6 +261,13 @@ michael@556: SET_CAP(CAP_SETGID); michael@556: michael@556: /* michael@556: + * Since we call chown, we need this. michael@556: + */ michael@556: +#if defined(CAP_CHOWN) michael@556: + SET_CAP(CAP_CHOWN); michael@556: +#endif michael@556: + michael@556: + /* michael@556: * Without this, we run into problems reading a configuration file michael@556: * owned by a non-root user and non-world-readable on startup. michael@556: */ michael@556: michael@556: ----------------------------------------------------------------------------- michael@556: michael@556: As mentionned in http://groups.google.com/group/comp.protocols.dns.bind/browse_thread/thread/5a6cb9a54b56b199 michael@556: "Assertion debug information" without this patch BIND+dlz crashes when michael@556: doing zone transfer request ("host -la domain server") michael@556: michael@556: Index: bin/named/xfrout.c michael@556: --- bin/named/xfrout.c.orig 2008-04-03 08:20:33.000000000 +0200 michael@556: +++ bin/named/xfrout.c 2008-11-27 08:58:20.000000000 +0100 michael@556: @@ -1744,6 +1745,7 @@ xfrout_senddone(isc_task_t *task, isc_ev michael@556: sendstream(xfr); michael@556: } else { michael@556: /* End of zone transfer stream. */ michael@556: + if (xfr->zone != NULL) michael@556: inc_stats(xfr->zone, dns_nsstatscounter_xfrdone); michael@556: xfrout_log(xfr, ISC_LOG_INFO, "%s ended", xfr->mnemonic); michael@556: ns_client_next(xfr->client, ISC_R_SUCCESS); michael@556: michael@556: ----------------------------------------------------------------------------- michael@556: michael@556: OpenPKG intentionally uses a reused "rdnc.key" and a "rdnc.conf" michael@556: and hence we don't want to see those warning messages. michael@556: michael@556: Index: bin/rndc/rndc.c michael@556: --- bin/rndc/rndc.c.orig 2010-07-11 02:12:18.000000000 +0200 michael@556: +++ bin/rndc/rndc.c 2011-02-06 17:08:38.000000000 +0100 michael@556: @@ -468,9 +468,11 @@ michael@556: admin_conffile, admin_keyfile); michael@556: key_only = ISC_TRUE; michael@556: } else if (! c_flag && isc_file_exists(admin_keyfile)) { michael@556: + /* michael@556: fprintf(stderr, "WARNING: key file (%s) exists, but using " michael@556: "default configuration file (%s)\n", michael@556: admin_keyfile, admin_conffile); michael@556: + */ michael@556: } michael@556: michael@556: DO("create parser", cfg_parser_create(mctx, log, pctxp));