BIND 10 #1352: Config go allows setting unusable path

BIND 10 Development do-not-reply at isc.org
Thu Oct 27 09:16:35 UTC 2011


#1352: Config go allows setting unusable path
---------------------------------+-----------------------------------------
            Reporter:  vorner    |                        Owner:
                Type:  defect    |                       Status:  new
            Priority:  major     |                    Milestone:  New Tasks
           Component:  bind-ctl  |                     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
---------------------------------+-----------------------------------------
 It is possible to enter invalid place in the configuration by config go.
 The following error message when used makes sense after small thinking
 what happens inside, but users shouldn't need to care about that. What
 happened to me was this:

 {{{
 /Logging/loggers> config go [0]
 /Logging/loggers[0]> config show
 Logging/loggers[0]/name "'*'"   string  (modified)
 Logging/loggers[0]/severity     "DEBUG" string  (modified)
 Logging/loggers[0]/debuglevel   100     integer (modified)
 Logging/loggers[0]/additive     false   boolean (default)
 Logging/loggers[0]/output_options/      list    (modified)
 /Logging/loggers[0]> config show output_options
 Error: Bad format in identifier (extra ]): loggers[0]output_options
 }}}

 Eg. it does show me local values, but it does not add the slash when
 needed. The config go should probably add one (eg. go directly to
 loggers[0]/) just like cd in shell does.

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


More information about the bind10-tickets mailing list