[bind10-dev] proposed change for configuring sqlite3 DB in the "from build" mode
Jerry Scharf
scharf at isc.org
Tue Jan 4 15:57:25 UTC 2011
Jinmei,
I am a bit confused by this
In my design for the command tool, I assumed that the choice of the
database for auth server is a run time configuration command rather than
a compiled in value. I was also told by Shane that this is configurable
by zone rather than as a whole (which makes complete sense.)
Is this something different than the per zone db config?
thanks,
jerry
On 1/3/2011 2:43 PM, JINMEI Tatuya / 神明達哉 wrote:
> Currently, when we run BIND10 on the build tree (via run_bind10.sh) we
> use the hardcoded default value for sqlite3 DB
> (${abs_top_srcdir}/bind10_zones.sqlite3).
>
> I propose changing this convention to having the user (which would in
> reality be a heavy developer) specify the path to the DB in the
> configuration file explicitly (${abs_top_srcdir}/b10-config.db).
>
> That way we can avoid the hardcoding and keep the code cleaner and
> more understandable. And whether or not we have this change, the user
> (often) needs to do some set up manually anyway: for the hardcoded DB
> path they need to create a valid DB on the specified path (unless they
> don't need to use it). So it wouldn't increase the set up overhead.
> In any case, this is only for development environments; it doesn't
> affect how the installed package works.
>
> Based on a jabber chat it seems okay to make this change, and I
> suspect not many of others wouldn't even care about this topic. But
> if someone has an objection please speak up.
>
> ---
> JINMEI, Tatuya
> _______________________________________________
> bind10-dev mailing list
> bind10-dev at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind10-dev
More information about the bind10-dev
mailing list