Package: isc-kea
Version: 2.2.0-1

Hi,

kea allows to load "hook libraries" to extend its features and
configuration, e.g.:

"hooks-libraries": [
  {
    "library": "/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_lease_cmds.so"
  }
],

unfortunately, the path to the hook has to be absolute. since they are
placed in /usr/lib/$multi_arch/kea/hooks, this means that the
configuration of e.g. kea-dhcp4-server is then specific to the
architecture of the system it is running on.

it would be nice if the hooks would be placed in /usr/lib/kea/hooks
instead. I haven't though about how to handle the resulting multi-arch
issues though, maybe splitting them out to "kea-hooks" or so could
simplify the handling (as the hooks are optional and not required for
the dhcp servers).

Regards,
Daniel

Reply via email to