[oe-commits] [meta-openembedded] 03/35: kea: fix kea-dhcp4.service/kea-dhcp6.service start up failed

git at git.openembedded.org git at git.openembedded.org
Thu Oct 17 03:24:15 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 48ff3eacf3b5dade951688ee1d97ef7029cafff5
Author: Changqing Li <changqing.li at windriver.com>
AuthorDate: Mon Oct 14 13:59:22 2019 +0800

    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 <changqing.li at windriver.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 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(-)

diff --git a/meta-networking/recipes-connectivity/kea/files/kea-dhcp4.service b/meta-networking/recipes-connectivity/kea/files/kea-dhcp4.service
index f32edcb..b851ea7 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 26d2205..0f9f0ef 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]

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list