Issues with bindctl execute

Jelte Jansen jelte at isc.org
Mon May 21 18:59:31 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/20/2012 09:20 PM, Spain, Dr. Jeffry A. wrote:
> 
> I then edited file bind10-nsb2.conf as follows, adding "config
> commit" as the second line: execute init_authoritative_server 
> config commit <several additional configuration commands for Xfrin
> and Zonemgr> config remove Boss/components b10-xfrout
> 

Right, this is indeed in the good direction. We do want to fix the
unknown module part at some point, by at least supporting commands for
modules that are known but just don't happen to be running), but
currently there's no direct way around that without committing the
first part so they are started.

But as you've found, behaviour then is still not complete;

> 
> It would be a nice addition to the execute command functionality if
> the embedded "execute init_authoritative_server" could be made to
> work properly. Perhaps what is needed is a "wait" command, for
> example "wait Xfrin 5", which would wait for the Xfrin module to be
> up and running with a 5-second timeout. Exceeding the timeout would
> cause an error, and otherwise the configuration process would
> continue.
> 

Right, that sounds like a useful addition. I was originally thinking
of a dumb wait, but since bindctl wouldn't update itself during
execute it would also need some explicit update command (currently it
does so automatically after each manual command, but it is potentially
a very expensive operation at this point, so it does not do so during
execute).

Those two would be really easy to implement, but making one that calls
update;check-if-exists;wait for a while would probably cover these
use-cases anyway, and wouldn't even be that much harder.

I created a ticket to implement such a thing:
http://bind10.isc.org/ticket/1987

Jelte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+6kJMACgkQ4nZCKsdOncVIQQCeLV0kj3jukF1o5efzN9ptTKfw
0y8An2NmFimaDP997Gfto4UejN5eD/at
=Ho74
-----END PGP SIGNATURE-----


More information about the bind10-users mailing list