Thanks for sharing Martin. In 1.3 I had all the directories defined correctly, but we made a bunch of changes and I thought I fixed all of the directories in 1.4, but you are correct, the localstatedir SHOULD be /var/lib/kea, which should be created during the install. I will take a look over the weekend, and fix this.
Cheers, Jason On Wed, Nov 7, 2018 at 10:30 AM Martin Weinelt <mar...@linuxlounge.net> wrote: > I temporarily fixed this using systemd-tmpfiles: > > # cat /etc/tmpfiles.d/kea.conf > #Type Path Mode UID GID Age Argument > d /run/kea 0755 root root - - > > # systemd-tmpfiles --create > > Instead of using /var/kea I used /var/lib/kea which existed from before > the upgrade. > > Set a "name", actually a path, for your lease-database: > > "lease-database": { > // Memfile is the simplest and easiest backend to use. It's a > in-memory > // C++ database that stores its state in CSV file. > "type": "memfile", > "lfc-interval": 3600, > "name": "/var/lib/kea/dhcp4.leases" > }, > > > Best regards > > Martin > >