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

Tomas Hozza thozza at redhat.com
Mon Mar 10 11:19:41 UTC 2014


Hi.

I'm trying to update bind10 in Fedora rawhide to the latest 1.2.0beta1
version and while testing it I ran into a problem.

In Fedora we package BIND10 as follows:

bind10 - main package where binaries like bind10, bindctl, but also
         b10-cfgmgr, b10-cmdctl, b10-msgq, b10-sockcretor are. So
         basically all the main binaries that are the "core".

bind10-libs - versioned libraries that have installable headers

bind10-devel - unversioned libraries and headers

bind10-dhcp - dhcp servers (4 and 6) and also libraries used only
              by dhcp servers

bind10-dns - authoritative server and also libraries used by it.


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.

We would like to enable users to install only the relevant subset
of the whole BIND10 suite necessary for their use-case.

Also after logging into the bindctl I can see there is module:
"data_sources   The sources of authoritative DNS data"
which does not sound very useful for people running only
DHCP server(s).

Is there any chance to make the requirement of "isc.datasrc" and
"isc.dns" modules optional and load them dynamically when installed?

Thanks.


Regards,
Tomas Hozza


More information about the bind10-users mailing list