Skip the database tests The MySQL and PostgreSQL tests require a server with username, password and tables setup for the test, see doc/devel/unit-tests.dox. There's no way to instruct the build system to skip specific tests, so let's disable them with a patch.
d/rules: set the default location for control sockets to /run/kea The default config files place the control sockets in /tmp, which is insecure. Mangle the config files to place the sockets under _kea-owned /run/kea instead.
Patch originally submitted by Paride Legovini in https://salsa.debian.org/debian/isc-kea/-/merge_requests/15.
Set kea-ctrl-agent up to require a password. diff --git a/src/bin/keactrl/kea-ctrl-agent.conf.pre b/src/bin/keactrl/kea-ctrl-agent.conf.pre index e6ae8b8a..f7e3fed2 100644