BIND 10 #615: custom configurations, ports,
BIND 10 Development
do-not-reply at isc.org
Fri Mar 11 22:01:25 UTC 2011
#615: custom configurations, ports,
-------------------------------------+-------------------------------------
Reporter: jreed | Owner: jinmei
Type: task | Status: reviewing
Priority: major | Milestone: A-Team-
Component: | Sprint-20110316
Unclassified | Resolution:
Keywords: | Sensitive: 0
Estimated Number of Hours: 0.0 | Add Hours to Ticket: 0
Billable?: 1 | Total Hours: 0
Internal?: 0 |
-------------------------------------+-------------------------------------
Comment (by jinmei):
Replying to [comment:14 vorner]:
> > But I have a more fundamental question: why do we have to separate
> > data-path and config-file?
>
> Well, I guess the original intention with data path would be that
> there would be all kinds of data ‒ the configuration file, the
> sqlite database file, some sockets, etc. And then, we could just
> have several directories for several instances of bind10, so the
> user doesn't have to specify --config-file, --socket-file, etc, etc…
I actually wondered whether that might be the intent, and in that case
I have no objection to the idea. I was simply not sure from the
current code.
Other changes generally look okay, with a few minor points:
- As for --data-path in bind10.xml, so you mean by "BIND" various BIND
10 programs in general (although currently b10-cfgmr is the user)?
If so, I'm okay with the concept as I said above, but I'd clarify
that more clearly: "The path where BIND 10 programs looks for
various data files such configuration files, communication pipes, or
log files. Currently, only b10-cfgmr uses the path to find its
configuration file, but the usage might be extended for other
programs and for other types of files in future".
- in b10-cfgmgr.py.in, maybe "config_file" is better than "file_name"
to store the -c/--config-filename option value to indicate what file
it is.
- in lib/.../cfgmgr.py, there are still some "b10-config.db"s hardcoded.
- at the risk of being redundant, I'd clarify the relationship between
config-filename and data-path in b10-cfgmgr.xml, too.
--
Ticket URL: <http://bind10.isc.org/ticket/615#comment:15>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list