BIND 10 #713: b10-auth output about datasources is confusing

BIND 10 Development do-not-reply at isc.org
Fri Mar 18 12:36:58 UTC 2011


#713: b10-auth output about datasources is confusing
--------------------------------+---------------------------------
           Reporter:  jreed     |                      Owner:
               Type:  defect    |                     Status:  new
           Priority:  minor     |                  Milestone:
          Component:  b10-auth  |                   Keywords:
          Sensitive:  0         |  Estimated Number of Hours:  0
Add Hours to Ticket:  0         |                  Billable?:  1
        Total Hours:  0         |                  Internal?:  0
--------------------------------+---------------------------------
 When I did:
 {{{

 > config set Auth/datasources [{"type":"memory"}]
 > config commit

 }}}

 I received output from b10-auth:

 {{{
 [b10-auth] Memory data source is enabled for class IN
 [b10-auth] Data source database file:
 /Local/Users/jreed/opt/bind10/var/bind10-devel/zone.sqlite3

 }}}

 It is confusing above for it to say the memory data source is enabled
 immediately followed by path to a sqlite3 database file. Is it really
 doing both?

 When I later did:

 {{{

 > config set Auth/datasources/ [{"type": "memory", "zones":[{"file":
 "/Local/Users/jreed/J3", "origin":"foo."}]}]
 > config commit

 }}}

 I received:

 {{{

 [b10-auth] Memory data source is disabled for class IN
 [b10-auth] Memory data source is enabled for class IN
 [b10-auth] Data source database file:
 /Local/Users/jreed/opt/bind10/var/bind10-devel/zone.sqlite3

 }}}

 It is confusing to say memory data source is disabled and then enabled.
 Why does it say it was disabled? And then enabled again?  Also why say
 sqlite3 database name?

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


More information about the bind10-tickets mailing list