b10-cfgmgr requires 'isc.dns' and 'isc.datasrc' modules
Tomas Hozza
thozza at redhat.com
Mon Mar 10 13:56:01 UTC 2014
Hi Mukund.
----- Original Message -----
> 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.
I see. I moved the plugin to the dns subpackage. Is there any other
way besides restarting bind10 suite, how can I make cfgmgr reload all
plugins? Now if I install the DNS server part while bind10 suite is
running, the datasrc config plugin does not get loaded automatically.
> 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.
I know there are these options, but we want to build the complete
bind10 suite and then just divide it into separate packages based
on the functionality.
Thanks.
Regards,
Tomas
More information about the bind10-users
mailing list