Hi Paride!
Regarding the first error you encountered:
Unable to use interprocess sync lockfile (No such file or directory):
/var/run/kea/logger_lockfile
As you can see in my attached patch, I exported KEA_LOCKFILE_DIR. Found
that
in the service file and checked against Kea's source: If this env is not
set,
the lockdir defaults to /var/run/kea/. I found no other way to set this,
because logging code runs before parsing the config.
The other error:
unable to open database: unable to open '/var/lib/kea/kea-leases4.csv'
showed up as well. I didn't see it as part of an init script to create the
data directories. Thus I put 'mkdir /var/lib/kea && chown _kea:
/var/lib/kea'
in my virtual machine setup script to make Kea happy. As some people might
use Kea without a lease file that directory is not a strict requirement for
all users. Made more or less sense to me...
Stefan