BIND 10 #615: custom configurations, ports,
BIND 10 Development
do-not-reply at isc.org
Fri Mar 11 12:04:23 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 |
-------------------------------------+-------------------------------------
Changes (by vorner):
* owner: vorner => jinmei
Comment:
Hello
Replying to [comment:11 jinmei]:
> It was not clear what if both config-file and data-path are specified
> and the former is absolute. I finally found the answer in the pydoc
> for cfgmr lib, but it should be nicer if it's also clarified in man
> pages.
Should be better now.
> But I have a more fundamental question: why do we have to separate
> data-path and config-file? Unless data-path is used for other
> purposes than the path to config-file, it should be much simpler if we
> only have config-file (which should include the path). Then we
> wouldn't even bother to consider/document the conflicting case. After
> reading the entire diff, I'm still not sure how/whether data-path can
> be used for a different purpose.
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…
But it is true that it's used for the configuration file only now. So, I'm
open to discussion here.
The relevant changes can be showed by git diff dcaab4f4..4fd1b4c0.
Then I did a sync with master and added the unification of test option
parser class we talked about on jabber. The merge did have some trivial
collisions, but is uninteresting (5874ea28a). The unification is at
170485ef.
If you'd like to see the diff of whole branch, "git diff master..." (yes,
3 dots) should do it. Also, I discovered git log -p recently and find it
handy for reviews sometime.
Thanks
--
Ticket URL: <https://bind10.isc.org/ticket/615#comment:14>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list