b10-cfgmgr requires 'isc.dns' and 'isc.datasrc' modules

Mukund Sivaraman muks at isc.org
Mon Mar 10 11:47:23 UTC 2014


Hi Tomas

On Mon, Mar 10, 2014 at 07:19:41AM -0400, Tomas Hozza wrote:
> During the testing I realised that we had packaged some python
> modules into bind10-dns, but they are required by the b10-cfgmgr
> binary which is in the "core" package. Starting BIND10 failed with:
> 
> 2014-03-10 10:12:47.261 FATAL [b10-cfgmgr.util/1218] PYTHON_UNHANDLED_EXCEPTION program terminated with exception ImportError: No module named 'isc.dns'...
> 
> or
> 
> 2014-03-10 10:53:31.989 FATAL [b10-cfgmgr.util/3376] PYTHON_UNHANDLED_EXCEPTION program terminated with exception ImportError: No module named 'isc.datasrc'...
> 
> After moving these python modules into the core bind10 package,
> the cfgmgr works OK. However I don't feel like the dependency
> on these modules should be mandatory if user don't want to use
> the authoritative DNS server, but only the DHCP server.

Look at cfgmgr/plugins/datasrc_config_plugin.py. It is a cfgmgr plugin
(see src/bin/cfgmgr/plugins/README) which requires isc.dns and
isc.datasrc Python modules. You can skip this plug-in when only DHCP
components are in use.

FWIW, note that libdns++ (a DNS library) is a requirement for both DNS
and DHCP components, so it is technically "core". The isc.dns module
contains Python bindings for libdns++, but it's not used by DHCP.

The new BIND 10 beta has --disable-dns and --disable-dhcp configure
arguments, but I guess you won't be using these while making packages
for Fedora.

		Mukund
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 2881 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind10-users/attachments/20140310/4996779e/attachment.bin>


More information about the bind10-users mailing list