From 82bf3de5bba1230234b00b1c6283da0653bd90ce Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Tue, 20 Nov 2012 15:09:18 +0530 Subject: [PATCH 1/3] [2451] Update message in README about services in default config --- README | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README b/README index e9d052c1a3..fdc11a1998 100644 --- a/README +++ b/README @@ -58,5 +58,7 @@ For operating system specific tips see the wiki at: Please see the wiki and the doc/ directory for various documentation. -The BIND 10 suite is started by running "bind10". Note that the -default configuration does not run any DNS or DHCP servers. +The BIND 10 suite is started by running "bind10". Note that the default +configuration does not start any DNS or DHCP services. Please see the +Guide for information on how to configure these services to be started +automatically. From a9ed9aeccda0cb876e09d6a1bb86e4405fc970d0 Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Tue, 20 Nov 2012 15:13:51 +0530 Subject: [PATCH 2/3] [2451] Update the guide too about services in default config --- doc/guide/bind10-guide.xml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/guide/bind10-guide.xml b/doc/guide/bind10-guide.xml index d585b63095..eec5bdebf9 100644 --- a/doc/guide/bind10-guide.xml +++ b/doc/guide/bind10-guide.xml @@ -425,11 +425,12 @@ var/ - In another console, enable the authoritative DNS service - (by using the bindctl utility to configure - the b10-auth component to run): - $ bindctl - (Login with the provided default username and password.) + DNS and DHCP components are not started in the default + configuration. In another console, enable the authoritative + DNS service (by using the bindctl utility + to configure the b10-auth component to + run): $ bindctl + (Login with the provided default username and password.) > config add Boss/components b10-auth > config set Boss/components/b10-auth/special auth From 3d36fed3067cec991af53e2588220c7259021ce5 Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Tue, 20 Nov 2012 15:30:17 +0530 Subject: [PATCH 3/3] [2421] Print a message (when running make install) about default services There isn't a portable way (across automake versions) of printing something right at the end of `make install`. So we use the portable install-exec-hook and display the message in yellow color so that the user notices it. echo -e may not be portable, so we continue even if it fails. --- Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile.am b/Makefile.am index 2f3ce85204..fe995a7b8d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,6 +20,13 @@ dist_doc_DATA = AUTHORS COPYING ChangeLog README .PHONY: check-valgrind check-valgrind-suppress +install-exec-hook: + -@echo -e "\033[1;33m" # switch to yellow color text + @echo "NOTE: BIND 10 does not automatically start DNS services when it is run" + @echo " in its default configuration. Please see the Guide for information" + @echo " on how to configure these services to be started automatically." + -@echo -e "\033[m" # switch back to normal + check-valgrind: if HAVE_VALGRIND @VALGRIND_COMMAND="$(VALGRIND) -q --gen-suppressions=all --track-origins=yes --num-callers=48 --leak-check=full --fullpath-after=" \