Index: bin/Makefile.in --- bin/Makefile.in.orig 2019-03-22 20:34:14.260728000 +0100 +++ bin/Makefile.in 2019-03-22 21:14:45.217087000 +0100 @@ -12,7 +12,7 @@ top_srcdir = @top_srcdir@ SUBDIRS = named rndc dig delv dnssec tools nsupdate check confgen \ - @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ plugins tests + @NZD_TOOLS@ @PYTHON_TOOLS@ @PKCS11_TOOLS@ plugins TARGETS = @BIND9_MAKE_RULES@ Index: bin/named/main.c --- bin/named/main.c.orig 2019-03-20 06:57:56.000000000 +0100 +++ bin/named/main.c 2019-03-22 21:15:14.120410000 +0100 @@ -1077,24 +1077,6 @@ NAMED_LOGMODULE_MAIN, ISC_LOG_NOTICE, "linked to zlib version: %s", zlibVersion()); #endif - isc_log_write(named_g_lctx, NAMED_LOGCATEGORY_GENERAL, - NAMED_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(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(named_g_lctx, NAMED_LOGCATEGORY_GENERAL, - NAMED_LOGMODULE_MAIN, ISC_LOG_NOTICE, - "corporation. Support and training for BIND 9 are "); - 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(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 2019-03-20 06:57:56.000000000 +0100 +++ bin/named/unix/os.c 2019-03-22 21:14:21.819714000 +0100 @@ -162,6 +162,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. */ Index: bin/rndc/rndc.c --- bin/rndc/rndc.c.orig 2019-03-20 06:57:56.000000000 +0100 +++ bin/rndc/rndc.c 2019-03-22 21:14:21.820449000 +0100 @@ -582,9 +582,11 @@ admin_conffile, admin_keyfile); key_only = 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));