|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Index: bin/Makefile.in
|
|
|
|
|
--- bin/Makefile.in.orig 2016-10-12 19:33:25.599370000 +0200
|
|
|
|
|
+++ bin/Makefile.in 2016-10-12 19:33:48.569390394 +0200
|
|
|
|
|
--- bin/Makefile.in.orig 2018-01-17 07:56:09.000000000 +0100
|
|
|
|
|
+++ bin/Makefile.in 2018-02-26 19:40:06.043497000 +0100
|
|
|
|
|
@@ -10,7 +10,7 @@
|
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
@ -11,38 +11,38 @@ Index: bin/Makefile.in
|
|
|
|
|
TARGETS =
|
|
|
|
|
|
|
|
|
|
Index: bin/named/main.c
|
|
|
|
|
--- bin/named/main.c.orig 2016-09-29 09:01:06.000000000 +0200
|
|
|
|
|
+++ bin/named/main.c 2016-10-12 19:33:25.609419713 +0200
|
|
|
|
|
@@ -1058,25 +1058,6 @@
|
|
|
|
|
ISC_LOG_NOTICE, "running as: %s%s",
|
|
|
|
|
--- bin/named/main.c.orig 2018-01-17 07:56:09.000000000 +0100
|
|
|
|
|
+++ bin/named/main.c 2018-02-26 19:41:06.715980000 +0100
|
|
|
|
|
@@ -1084,25 +1084,6 @@
|
|
|
|
|
"running as: %s%s",
|
|
|
|
|
program_name, saved_command_line);
|
|
|
|
|
|
|
|
|
|
- isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
|
|
|
|
- ISC_LOG_NOTICE,
|
|
|
|
|
- isc_log_write(named_g_lctx, NAMED_LOGCATEGORY_GENERAL,
|
|
|
|
|
- NAMED_LOGMODULE_MAIN, ISC_LOG_NOTICE,
|
|
|
|
|
- "----------------------------------------------------");
|
|
|
|
|
- isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
|
|
|
|
- ISC_LOG_NOTICE,
|
|
|
|
|
- isc_log_write(named_g_lctx, NAMED_LOGCATEGORY_GENERAL,
|
|
|
|
|
- NAMED_LOGMODULE_MAIN, ISC_LOG_NOTICE,
|
|
|
|
|
- "BIND 9 is maintained by Internet Systems Consortium,");
|
|
|
|
|
- isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
|
|
|
|
- ISC_LOG_NOTICE,
|
|
|
|
|
- isc_log_write(named_g_lctx, NAMED_LOGCATEGORY_GENERAL,
|
|
|
|
|
- NAMED_LOGMODULE_MAIN, ISC_LOG_NOTICE,
|
|
|
|
|
- "Inc. (ISC), a non-profit 501(c)(3) public-benefit ");
|
|
|
|
|
- isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
|
|
|
|
- ISC_LOG_NOTICE,
|
|
|
|
|
- isc_log_write(named_g_lctx, NAMED_LOGCATEGORY_GENERAL,
|
|
|
|
|
- NAMED_LOGMODULE_MAIN, ISC_LOG_NOTICE,
|
|
|
|
|
- "corporation. Support and training for BIND 9 are ");
|
|
|
|
|
- isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
|
|
|
|
- ISC_LOG_NOTICE,
|
|
|
|
|
- isc_log_write(named_g_lctx, NAMED_LOGCATEGORY_GENERAL,
|
|
|
|
|
- NAMED_LOGMODULE_MAIN, ISC_LOG_NOTICE,
|
|
|
|
|
- "available at https://www.isc.org/support");
|
|
|
|
|
- isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
|
|
|
|
- ISC_LOG_NOTICE,
|
|
|
|
|
- isc_log_write(named_g_lctx, NAMED_LOGCATEGORY_GENERAL,
|
|
|
|
|
- NAMED_LOGMODULE_MAIN, ISC_LOG_NOTICE,
|
|
|
|
|
- "----------------------------------------------------");
|
|
|
|
|
-
|
|
|
|
|
dump_symboltable();
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
Index: bin/named/unix/os.c
|
|
|
|
|
--- bin/named/unix/os.c.orig 2016-09-29 09:01:06.000000000 +0200
|
|
|
|
|
+++ bin/named/unix/os.c 2016-10-12 19:33:25.609419713 +0200
|
|
|
|
|
@@ -274,6 +274,13 @@
|
|
|
|
|
--- bin/named/unix/os.c.orig 2018-01-17 07:56:09.000000000 +0100
|
|
|
|
|
+++ bin/named/unix/os.c 2018-02-26 19:40:38.947396000 +0100
|
|
|
|
|
@@ -275,6 +275,13 @@
|
|
|
|
|
SET_CAP(CAP_SETGID);
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
@ -56,21 +56,10 @@ Index: bin/named/unix/os.c
|
|
|
|
|
* Without this, we run into problems reading a configuration file
|
|
|
|
|
* owned by a non-root user and non-world-readable on startup.
|
|
|
|
|
*/
|
|
|
|
|
Index: bin/named/xfrout.c
|
|
|
|
|
--- bin/named/xfrout.c.orig 2016-09-29 09:01:06.000000000 +0200
|
|
|
|
|
+++ bin/named/xfrout.c 2016-10-12 19:33:25.609419713 +0200
|
|
|
|
|
@@ -1617,6 +1617,7 @@
|
|
|
|
|
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);
|
|
|
|
|
Index: bin/rndc/rndc.c
|
|
|
|
|
--- bin/rndc/rndc.c.orig 2016-09-29 09:01:06.000000000 +0200
|
|
|
|
|
+++ bin/rndc/rndc.c 2016-10-12 19:33:25.609419713 +0200
|
|
|
|
|
@@ -544,9 +544,11 @@
|
|
|
|
|
--- bin/rndc/rndc.c.orig 2018-01-17 07:56:09.000000000 +0100
|
|
|
|
|
+++ bin/rndc/rndc.c 2018-02-26 19:40:40.050074000 +0100
|
|
|
|
|
@@ -581,9 +581,11 @@
|
|
|
|
|
admin_conffile, admin_keyfile);
|
|
|
|
|
key_only = ISC_TRUE;
|
|
|
|
|
} else if (! c_flag && isc_file_exists(admin_keyfile)) {
|
|
|
|
|