BIND 10 master, updated. b61a322c649b3766e45661551ab578275eec53cd [master] postponed changeUser() until b10-auth completes initial configuration.
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Mar 15 22:19:12 UTC 2011
The branch, master has been updated
via b61a322c649b3766e45661551ab578275eec53cd (commit)
from 21b1f9f943664a24ec0772c3ec7f07c63fa0c5fa (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b61a322c649b3766e45661551ab578275eec53cd
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Tue Mar 15 15:16:29 2011 -0700
[master] postponed changeUser() until b10-auth completes initial configuration.
Without this it cannot use privileged port (most commonly 53) while changing
the run time user (-u). Confirmed the fix, and okayed on jabber.
I won't update changelog for this fix because it's a regression after
the previous release.
-----------------------------------------------------------------------
Summary of changes:
src/bin/auth/main.cc | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/auth/main.cc b/src/bin/auth/main.cc
index 0701b94..fad4a72 100644
--- a/src/bin/auth/main.cc
+++ b/src/bin/auth/main.cc
@@ -163,10 +163,6 @@ main(int argc, char* argv[]) {
my_command_handler);
cout << "[b10-auth] Configuration channel established." << endl;
- if (uid != NULL) {
- changeUser(uid);
- }
-
xfrin_session = new Session(io_service.get_io_service());
cout << "[b10-auth] Xfrin session channel created." << endl;
xfrin_session->establish(NULL);
@@ -190,6 +186,10 @@ main(int argc, char* argv[]) {
configureAuthServer(*auth_server, config_session->getFullConfig());
auth_server->updateConfig(ElementPtr());
+ if (uid != NULL) {
+ changeUser(uid);
+ }
+
cout << "[b10-auth] Server started." << endl;
io_service.run();
More information about the bind10-changes
mailing list