From: Stijn Tintel Date: Thu, 15 Jan 2026 18:10:10 +0000 (+0200) Subject: kea: create /var/lib/kea directory in init script X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=6b58aa69ca1c5d9094884f689bc428d39cb623aa;p=openwrt-packages.git kea: create /var/lib/kea directory in init script This is required to fix the following error: kea-dhcp4: ERROR [kea-dhcp4.dhcpsrv.548449842384] DHCPSRV_MEMFILE_FAILED_TO_OPEN Could not open lease file: invalid path specified: '/var', supported path is '/var/lib/kea' Signed-off-by: Stijn Tintel --- diff --git a/net/kea/Makefile b/net/kea/Makefile index 30d7f5867..7c00633ad 100644 --- a/net/kea/Makefile +++ b/net/kea/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=kea PKG_VERSION:=3.0.2 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://ftp.isc.org/isc/kea/$(PKG_VERSION) diff --git a/net/kea/files/kea.init b/net/kea/files/kea.init index 061876c82..a0b593c93 100755 --- a/net/kea/files/kea.init +++ b/net/kea/files/kea.init @@ -8,7 +8,7 @@ BIN_PATH="/usr/sbin" CONF_PATH="/etc/kea" start_service() { - mkdir --mode=0750 -p /var/run/kea + mkdir --mode=0750 -p /var/lib/kea /var/run/kea config_load "kea" config_foreach start_kea "service"