From 62a4970d2e5bc8839bf557a67236334bd2dca86b Mon Sep 17 00:00:00 2001 From: Changqing Li Date: Mon, 14 Oct 2019 13:59:22 +0800 Subject: kea: fix kea-dhcp4.service/kea-dhcp6.service start up failed After upgrade to 1.7.0, path of database file changed from /var/kea to /var/lib/kea, correct the path to fix service start failed problem DHCP6_CONFIG_LOAD_FAIL configuration error using file: /etc/kea/kea-dhcp6.conf, reason: Unable to open database: unable to open '/var/lib/kea/kea-leases6.csv' Signed-off-by: Changqing Li Signed-off-by: Khem Raj --- meta-networking/recipes-connectivity/kea/files/kea-dhcp4.service | 2 +- meta-networking/recipes-connectivity/kea/files/kea-dhcp6.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'meta-networking/recipes-connectivity') diff --git a/meta-networking/recipes-connectivity/kea/files/kea-dhcp4.service b/meta-networking/recipes-connectivity/kea/files/kea-dhcp4.service index f32edcb90..b851ea71c 100644 --- a/meta-networking/recipes-connectivity/kea/files/kea-dhcp4.service +++ b/meta-networking/recipes-connectivity/kea/files/kea-dhcp4.service @@ -6,7 +6,7 @@ After=time-sync.target [Service] ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/run/kea/ -ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/kea +ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/lib/kea ExecStart=@SBINDIR@/kea-dhcp4 -c @SYSCONFDIR@/kea/kea-dhcp4.conf [Install] diff --git a/meta-networking/recipes-connectivity/kea/files/kea-dhcp6.service b/meta-networking/recipes-connectivity/kea/files/kea-dhcp6.service index 26d2205e6..0f9f0ef8d 100644 --- a/meta-networking/recipes-connectivity/kea/files/kea-dhcp6.service +++ b/meta-networking/recipes-connectivity/kea/files/kea-dhcp6.service @@ -6,7 +6,7 @@ After=time-sync.target [Service] ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/run/kea/ -ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/kea +ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/lib/kea ExecStart=@SBINDIR@/kea-dhcp6 -c @SYSCONFDIR@/kea/kea-dhcp6.conf [Install] -- cgit v1.2.3-54-g00ecf