You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
2.3 KiB
71 lines
2.3 KiB
Index: bin/named/unix/os.c |
|
--- bin/named/unix/os.c.orig 2008-05-06 03:32:51 +0200 |
|
+++ bin/named/unix/os.c 2008-07-25 07:47:14 +0200 |
|
@@ -261,6 +261,13 @@ |
|
SET_CAP(CAP_SETGID); |
|
|
|
/* |
|
+ * Since we call chown, we need this. |
|
+ */ |
|
+#if defined(CAP_CHOWN) |
|
+ SET_CAP(CAP_CHOWN); |
|
+#endif |
|
+ |
|
+ /* |
|
* Without this, we run into problems reading a configuration file |
|
* owned by a non-root user and non-world-readable on startup. |
|
*/ |
|
|
|
----------------------------------------------------------------------------- |
|
|
|
As mentionned in http://groups.google.com/group/comp.protocols.dns.bind/browse_thread/thread/5a6cb9a54b56b199 |
|
"Assertion debug information" without this patch BIND+dlz crashes when |
|
doing zone transfer request ("host -la domain server") |
|
|
|
Index: bin/named/xfrout.c |
|
--- bin/named/xfrout.c.orig 2008-04-03 08:20:33.000000000 +0200 |
|
+++ bin/named/xfrout.c 2008-11-27 08:58:20.000000000 +0100 |
|
@@ -1744,6 +1745,7 @@ xfrout_senddone(isc_task_t *task, isc_ev |
|
sendstream(xfr); |
|
} else { |
|
/* End of zone transfer stream. */ |
|
+ if (xfr->zone != NULL) |
|
inc_stats(xfr->zone, dns_nsstatscounter_xfrdone); |
|
xfrout_log(xfr, ISC_LOG_INFO, "%s ended", xfr->mnemonic); |
|
ns_client_next(xfr->client, ISC_R_SUCCESS); |
|
|
|
----------------------------------------------------------------------------- |
|
|
|
OpenPKG intentionally uses a reused "rdnc.key" and a "rdnc.conf" |
|
and hence we don't want to see those warning messages. |
|
|
|
Index: bin/rndc/rndc.c |
|
--- bin/rndc/rndc.c.orig 2010-07-11 02:12:18.000000000 +0200 |
|
+++ bin/rndc/rndc.c 2011-02-06 17:08:38.000000000 +0100 |
|
@@ -468,9 +468,11 @@ |
|
admin_conffile, admin_keyfile); |
|
key_only = ISC_TRUE; |
|
} else if (! c_flag && isc_file_exists(admin_keyfile)) { |
|
+ /* |
|
fprintf(stderr, "WARNING: key file (%s) exists, but using " |
|
"default configuration file (%s)\n", |
|
admin_keyfile, admin_conffile); |
|
+ */ |
|
} |
|
|
|
DO("create parser", cfg_parser_create(mctx, log, pctxp)); |
|
|
|
----------------------------------------------------------------------------- |
|
|
|
Index: bin/Makefile.in |
|
--- bin/Makefile.in.orig 2014-01-27 19:58:24.000000000 +0100 |
|
+++ bin/Makefile.in 2014-04-10 12:11:41.856833689 +0200 |
|
@@ -19,7 +19,7 @@ |
|
VPATH = @srcdir@ |
|
top_srcdir = @top_srcdir@ |
|
|
|
-SUBDIRS = named rndc dig dnssec tools tests nsupdate \ |
|
+SUBDIRS = named rndc dig dnssec tools nsupdate \ |
|
check confgen @PYTHON_TOOLS@ @PKCS11_TOOLS@ |
|
TARGETS = |
|
|
|
|