BIND 10 #1419: confusing and unrelated auth listen_on logging

BIND 10 Development do-not-reply at isc.org
Wed Nov 23 15:11:45 UTC 2011


#1419: confusing and unrelated auth listen_on logging
-------------------------------------+-------------------------------------
            Reporter:  jreed         |                        Owner:
                Type:  defect        |                       Status:  new
            Priority:  major         |                    Milestone:  New
           Component:                |  Tasks
  configuration                      |                     Keywords:
           Sensitive:  0             |              Defect Severity:  N/A
         Sub-Project:  Core          |  Feature Depending on Ticket:
Estimated Difficulty:  0             |          Add Hours to Ticket:  0
         Total Hours:  0             |                    Internal?:  0
-------------------------------------+-------------------------------------
 I did the following in bindctl:

 {{{
 > config add Auth/listen_on/
 > config show Auth/listen_on
 Auth/listen_on[0]/address       "::"    string  (modified)
 Auth/listen_on[0]/port  53      integer (modified)
 Auth/listen_on[1]/address       "0.0.0.0"       string  (modified)
 Auth/listen_on[1]/port  53      integer (modified)
 Auth/listen_on[2]/address       "::1"   string  (default)
 Auth/listen_on[2]/port  53      integer (default)
 > config set Auth/listen_on[0]/port 5353
 > config commit
 Error: Server configuration failed: Address must contain both the
 IPaddress and port
 Configuration not committed

 }}}

 The default logging showed:

 {{{

 2011-11-23 08:50:05.696 ERROR [b10-auth.server_common]
 SRVCOMM_ADDRESS_MISSING address specification is missing "address" or
 "port" element in {  }
 2011-11-23 08:50:05.699 ERROR [b10-auth.auth] AUTH_CONFIG_UPDATE_FAIL
 update of configuration failed: Server configuration failed: Address must
 contain both the IPaddress and port
 2011-11-23 08:50:05.702 ERROR [b10-cmdctl.cmdctl] CMDCTL_COMMAND_ERROR
 error in command set_config to module ConfigManager: Server configuration
 failed: Address must contain both the IPaddress and port

 }}}

 1. SRVCOMM_ADDRESS_MISSING   what is this {  } element?

 2. Why does it suggest I am missing an address or port?

 3. Why is there an unrelated b10-cmdctl.cmdctl log message here?

 Here is an example after starting with no configuration:

 {{{

 > config set Auth/listen_on[0]/port 5353
 > config commit
 Error: Server configuration failed: Failed to initialize network servers:
 Permission denied
 Configuration not committed

 }}}

 Results in:

 {{{

 2011-11-23 09:08:44.650 ERROR [b10-auth.server_common]
 SRVCOMM_ADDRESS_FAIL failed to listen on addresses (Failed to initialize
 network servers: Permission denied)
 2011-11-23 09:08:44.652 ERROR [b10-auth.auth] AUTH_CONFIG_UPDATE_FAIL
 update of configuration failed: Server configuration failed: Failed to
 initialize network servers: Permission denied
 2011-11-23 09:08:44.656 ERROR [b10-cmdctl.cmdctl] CMDCTL_COMMAND_ERROR
 error in command set_config to module ConfigManager: Server configuration
 failed: Failed to initialize network servers: Permission denied

 }}}

 I will ignore permission denied for b10-auth as I understand that (I am
 non-root), but what is this CMDCTL_COMMAND_ERROR message?  Oh... it is the
 previous error seen by cmdctl. This is quite confusing.

-- 
Ticket URL: <http://bind10.isc.org/ticket/1419>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list