LOG_DEBUG(resolver_logger, RESOLVER_DBG_INIT, RESOLVER_SERVICE_CREATED);
cc_session = new Session(io_service.get_io_service());
- isc::server_common::initSocketReqeustor(*cc_session);
+ isc::server_common::initSocketRequestor(*cc_session);
+
+ // We delay starting listening to new commands/config just before we
+ // go into the main loop. See auth/main.cc for the rationale.
config_session = new ModuleCCSession(specfile, *cc_session,
my_config_handler,
- my_command_handler);
+ my_command_handler, false);
LOG_DEBUG(resolver_logger, RESOLVER_DBG_INIT, RESOLVER_CONFIG_CHANNEL);
- // FIXME: This does not belong here, but inside Boss
- if (uid != NULL) {
- changeUser(uid);
- }
-
resolver->setConfigSession(config_session);
// Install all initial configurations. If loading configuration
// fails, it will be logged, but we start the server anyway, giving